[PATCH v3 0/2] mfd: rtsx: decrease driver size and add new device

micky_ching at realsil.com.cn micky_ching at realsil.com.cn
Tue Dec 17 02:36:57 UTC 2013


From: Micky Ching <micky_ching at realsil.com.cn>

With the recent added support request of yet another device, the
burden of duplicated code was becoming a little messy. To rectify is,
we init rtl8411-like chips to 8411 param first, then modify the
different values according each chip. And rtl8402 is supported from
this patch.

Micky Ching (2):
  mfd: rtsx: reduce code duplication in rtl8411
  mfd: rtsx: add card reader rtl8402

 drivers/mfd/rtl8411.c  |   89 ++++++++++++++++++------------------------------
 drivers/mfd/rtsx_pcr.c |    5 +++
 drivers/mfd/rtsx_pcr.h |    9 +++++
 3 files changed, 48 insertions(+), 55 deletions(-)

--
1.7.9.5


More information about the devel mailing list