summaryrefslogtreecommitdiff
path: root/drivers/mfd/pcf50633-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-12 19:15:10 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 21:21:02 +0300
commit0c7229f93a529145d52e1bd7b29e6c98a3a3294d (patch)
treea3a05efd1983810207f5283ee78a033f719e52a0 /drivers/mfd/pcf50633-core.c
parente0a3389ab9cb08813bf325616249abb29c4d2302 (diff)
downloadlinux-0c7229f93a529145d52e1bd7b29e6c98a3a3294d.tar.xz
mfd: Convert WM835x IRQ handling to use a data table
Rather than open coding individual IRQs in each function which manipulates them store data for IRQs in a table which is then referenced in the users. This is a substantial code shrink and should be a performance win in cases where only a single IRQ goes off at once since instead of reading four of the second level IRQ registers for each interrupt we read only the sub-registers which have had an interrupt flagged. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/pcf50633-core.c')
0 files changed, 0 insertions, 0 deletions