public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] mfd: rtsx: decrease driver size and add new device
@ 2013-12-17  2:36 micky_ching
  2013-12-17  2:36 ` [PATCH v3 1/2] mfd: rtsx: reduce code duplication in rtl8411 micky_ching
  2013-12-17  2:36 ` [PATCH v3 2/2] mfd: rtsx: add card reader rtl8402 micky_ching
  0 siblings, 2 replies; 6+ messages in thread
From: micky_ching @ 2013-12-17  2:36 UTC (permalink / raw)
  To: sameo; +Cc: devel, linux-kernel, gregkh, rogerable, wei_wang, Micky Ching

From: Micky Ching <micky_ching@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-18  1:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17  2:36 [PATCH v3 0/2] mfd: rtsx: decrease driver size and add new device micky_ching
2013-12-17  2:36 ` [PATCH v3 1/2] mfd: rtsx: reduce code duplication in rtl8411 micky_ching
2013-12-17  7:28   ` Dan Carpenter
2013-12-18  1:17     ` micky
2013-12-17  8:02   ` Dan Carpenter
2013-12-17  2:36 ` [PATCH v3 2/2] mfd: rtsx: add card reader rtl8402 micky_ching

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox