[PATCH 0/4] mfd: rtsx: Decrease driver size and add new device
Lee Jones
lee.jones at linaro.org
Thu Nov 14 04:29:11 EST 2013
With the recent added support request of yet another device, the burden
of duplicated Ops and Voltage Switch code was becoming a little messy.
To rectify is, we're creating a generic initialisation call, which in
turn uses a generic Ops structure. The individual initialisation routines
fill in the small differences in call-backs and device data after
invoking the generic call.
drivers/mfd/rtl8411.c | 144 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------
drivers/mfd/rtsx_pcr.c | 8 ++++++-
drivers/mfd/rtsx_pcr.h | 1 +
include/linux/mfd/rtsx_pci.h | 1 +
4 files changed, 81 insertions(+), 73 deletions(-)
More information about the linux-arm-kernel
mailing list