summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/stmpe.h
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2015-10-02 13:29:13 +0100
committerLee Jones <lee.jones@linaro.org>2015-10-30 17:20:28 +0000
commitae05ea36d1c9bdc76a4539277d96f5bdf3d39f02 (patch)
treec9ad61d4f55c3070b4184ab7b75c238e1294bfc3 /drivers/mfd/stmpe.h
parent161ad30bd2ec4be7269b2f8748fa4e5d5847191e (diff)
downloadtalos-op-linux-ae05ea36d1c9bdc76a4539277d96f5bdf3d39f02.tar.gz
talos-op-linux-ae05ea36d1c9bdc76a4539277d96f5bdf3d39f02.zip
mfd: arizona: Simplify adding subdevices
The code was using a switch on the code type to execute one of several mfd_add_devices() calls. We're already switching on the code type earlier in the function to select the correct patch function so we can roll selection of the mfd device table into the same switch. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/stmpe.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud