Re: [PATCH v2,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

From: Lee Jones
Date: Thu Oct 26 2017 - 04:16:07 EST


On Wed, 25 Oct 2017, rui_feng@xxxxxxxxxxxxxx wrote:

> From: Rui Feng <rui_feng@xxxxxxxxxxxxxx>
>
> Because Realtek card reader drivers are pcie and usb drivers,
> and they bridge mmc subsystem and memstick subsystem, they are
> not mfd drivers. Greg and Lee Jones had a discussion about
> where to put the drivers, the result is that misc is a good
> place for them, so I move all files to misc. If I don't move
> them to a right place, I can't add any patch for this driver.
>
> Signed-off-by: Rui Feng <rui_feng@xxxxxxxxxxxxxx>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> drivers/memstick/host/rtsx_pci_ms.c | 2 +-
> drivers/mfd/Kconfig | 21 ---------------------
> drivers/mfd/Makefile | 4 ----
> drivers/misc/Kconfig | 1 +
> drivers/misc/Makefile | 1 +
> drivers/misc/cardreader/Kconfig | 20 ++++++++++++++++++++
> drivers/misc/cardreader/Makefile | 4 ++++
> drivers/{mfd => misc/cardreader}/rtl8411.c | 2 +-
> drivers/{mfd => misc/cardreader}/rts5209.c | 2 +-
> drivers/{mfd => misc/cardreader}/rts5227.c | 2 +-
> drivers/{mfd => misc/cardreader}/rts5229.c | 2 +-
> drivers/{mfd => misc/cardreader}/rts5249.c | 3 +--
> drivers/{mfd => misc/cardreader}/rtsx_pcr.c | 2 +-
> drivers/{mfd => misc/cardreader}/rtsx_pcr.h | 2 +-
> drivers/{mfd => misc/cardreader}/rtsx_usb.c | 2 +-
> drivers/mmc/host/rtsx_pci_sdmmc.c | 2 +-
> include/linux/{mfd => }/rtsx_common.h | 0
> include/linux/{mfd => }/rtsx_pci.h | 2 +-
> include/linux/{mfd => }/rtsx_usb.h | 0
> 19 files changed, 37 insertions(+), 37 deletions(-)
> create mode 100644 drivers/misc/cardreader/Kconfig
> create mode 100644 drivers/misc/cardreader/Makefile
> rename drivers/{mfd => misc/cardreader}/rtl8411.c (99%)
> rename drivers/{mfd => misc/cardreader}/rts5209.c (99%)
> rename drivers/{mfd => misc/cardreader}/rts5227.c (99%)
> rename drivers/{mfd => misc/cardreader}/rts5229.c (99%)
> rename drivers/{mfd => misc/cardreader}/rts5249.c (99%)
> rename drivers/{mfd => misc/cardreader}/rtsx_pcr.c (99%)
> rename drivers/{mfd => misc/cardreader}/rtsx_pcr.h (99%)
> rename drivers/{mfd => misc/cardreader}/rtsx_usb.c (99%)
> rename include/linux/{mfd => }/rtsx_common.h (100%)
> rename include/linux/{mfd => }/rtsx_pci.h (99%)
> rename include/linux/{mfd => }/rtsx_usb.h (100%)

For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog