[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1384421355-4434-1-git-send-email-lee.jones@linaro.org>
Date: Thu, 14 Nov 2013 09:29:11 +0000
From: Lee Jones <lee.jones@...aro.org>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
sameo@...ux.intel.com, micky_ching@...lsil.com.cn
Cc: linus.walleij@...aro.org
Subject: [PATCH 0/4] mfd: rtsx: Decrease driver size and add new device
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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists