linux/drivers/mfd
Stephen Boyd e578438820 mfd: ssbi: Use devm_* and simplify code
Use devm_ioremap_resource and devm_kzalloc to simplify error
paths and reduce lines of code. Also use dev_err() to keep
consistency and drop the .remove function because the devm
functions take care of what it's doing besides the now obsolete
platform_set_drvdata() which we can just drop. Finally, use
module_platform_driver() to save some more lines.

Cc: David Brown <davidb@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-06-18 09:41:15 +02:00
..
88pm80x.c mfd: 88pm80x: Change chip id definition and detection 2013-06-18 09:41:10 +02:00
88pm800.c mfd: 88pm800: Add regulator sub device 2013-06-18 09:41:12 +02:00
88pm805.c mfd: 88pm80x: Change chip id definition and detection 2013-06-18 09:41:10 +02:00
88pm860x-core.c mfd: 88pm860x: Convert to managed resources for allocating memory 2013-06-13 12:13:39 +02:00
88pm860x-i2c.c
aat2870-core.c mfd: Replace strict_strtoul() with kstrtoul() in ab* and att* 2013-06-13 10:51:56 +01:00
ab3100-core.c mfd: Replace strict_strtoul() with kstrtoul() in ab* and att* 2013-06-13 10:51:56 +01:00
ab3100-otp.c mfd: ab3100-otp: Convert to managed resources for allocating memory 2013-06-13 12:11:39 +02:00
ab8500-core.c mfd: ab8500-core: Add AB8500 external regulators as MFD devices 2013-06-13 10:52:00 +01:00
ab8500-debugfs.c mfd: ab8500-debug: Convert to managed resources for allocating memory 2013-06-13 12:11:40 +02:00
ab8500-gpadc.c mfd: ab8500-gpadc: Convert to managed resources for allocating memory 2013-06-13 12:11:40 +02:00
ab8500-sysctrl.c mfd: ab8500-sysctrl: Let sysctrl driver work without pdata 2013-05-21 23:23:21 +02:00
abx500-core.c mfd: abx500-core: Convert to managed resources for allocating memory 2013-06-13 12:11:41 +02:00
adp5520.c mfd: adp5520: Convert to managed resources for allocating memory 2013-06-13 12:11:41 +02:00
arizona-core.c mfd: arizona: Integrate wm8997 into Arizona mfd 2013-06-18 00:49:52 +02:00
arizona-i2c.c mfd: arizona: Integrate wm8997 into Arizona mfd 2013-06-18 00:49:52 +02:00
arizona-irq.c mfd: arizona: Integrate wm8997 into Arizona mfd 2013-06-18 00:49:52 +02:00
arizona-spi.c mfd: Add device tree bindings for Arizona class devices 2013-05-20 08:13:36 -05:00
arizona.h mfd: arizona: Integrate wm8997 into Arizona mfd 2013-06-18 00:49:52 +02:00
as3711.c mfd: as3711: Add OF support 2013-04-05 11:20:14 +02:00
asic3.c mfd: asic3: Convert to managed resources for allocating memory 2013-06-13 12:11:41 +02:00
cros_ec_i2c.c mfd: Add ChromeOS EC I2C driver 2013-04-05 11:20:13 +02:00
cros_ec_spi.c mfd: cros_ec_spi: Use %z to format pointer differences 2013-05-16 19:14:06 +02:00
cros_ec.c mfd: cros_ec: Convert to managed resources for allocating memory 2013-06-13 12:11:42 +02:00
cs5535-mfd.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
da903x.c mfd: da903x: Use devm_*() functions 2013-04-08 17:25:28 +02:00
da9052-core.c This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
da9052-i2c.c mfd: da9052-i2c: Staticize da9052_i2c_fix() 2013-02-14 00:26:41 +01:00
da9052-irq.c mfd: da9052: Introduce da9052-irq.c 2012-11-20 12:21:10 +01:00
da9052-spi.c mfd: da9052: Use spi_get_drvdata() and spi_set_drvdata() 2013-04-09 12:18:16 +02:00
da9055-core.c mfd: da9055: Change irq state to default 2013-04-09 10:09:26 +02:00
da9055-i2c.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
davinci_voicecodec.c mfd: davinci_voicecodec: Convert to managed resources for allocating memory 2013-06-13 12:11:42 +02:00
db8500-prcmu.c mfd: db8500-prcmu: Update stored DSI PLL divider value 2013-05-17 00:42:34 +02:00
dbx500-prcmu-regs.h mfd: dbx500-prcmu: Use correct names for clock management registers 2013-06-13 10:51:58 +01:00
dm355evm_msp.c
ezx-pcap.c mfd: ezx-pcap: Use spi_get_drvdata() and spi_set_drvdata() 2013-04-09 12:18:16 +02:00
htc-egpio.c mfd: htc-egpio: Convert to managed resources for allocating memory 2013-06-13 12:11:43 +02:00
htc-i2cpld.c mfd: htc-i2cpld: Convert to managed resources for allocating memory 2013-06-13 12:11:43 +02:00
htc-pasic3.c mfd: htc-pasic3: Convert to managed resources for allocating memory 2013-06-13 12:11:44 +02:00
intel_msic.c mfd: intel_msic: Remove unnecessary platform_set_drvdata() 2013-06-11 19:27:51 +02:00
janz-cmodio.c mfd: janz-cmodio: Convert to managed resources for allocating memory 2013-06-13 12:11:44 +02:00
jz4740-adc.c mfd: jz4740-adc: Use clk_prepare_enable/clk_disable_unprepare 2013-06-11 19:36:59 +02:00
Kconfig mfd: arizona: Integrate wm8997 into Arizona mfd 2013-06-18 00:49:52 +02:00
lm3533-core.c mfd: lm3533: Use devm_gpio_request_one() 2013-04-08 17:25:23 +02:00
lm3533-ctrlbank.c
lp8788-irq.c
lp8788.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
lpc_ich.c mfd: lpc_ich: Convert to module_pci_driver 2013-06-18 09:41:13 +02:00
lpc_sch.c mfd: lpc_sch: Accomodate partial population of the MFD devices 2013-02-14 00:26:45 +01:00
Makefile mfd: arizona: Integrate wm8997 into Arizona mfd 2013-06-18 00:49:52 +02:00
max8907.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
max8925-core.c mfd: max8925: Fix onkey driver irq base 2013-02-14 00:23:00 +01:00
max8925-i2c.c mfd: max8925: Convert to managed resources for allocating memory 2013-06-13 12:11:45 +02:00
max8997-irq.c
max8997.c Drivers: mfd: remove __dev* attributes. 2013-01-03 15:57:14 -08:00
max8998-irq.c
max8998.c
max77686-irq.c
max77686.c mfd: max77686: Convert to managed resources for allocating memory 2013-06-13 12:11:45 +02:00
max77693-irq.c
max77693.c mfd: max77693: Init max77693->dev before using it 2013-01-22 03:02:22 +01:00
mc13xxx-core.c mfd: mc13xxx: Add support for mc34708 2012-11-06 23:14:08 +01:00
mc13xxx-i2c.c This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
mc13xxx-spi.c mfd: mc13xxx: Use spi_get_drvdata() and spi_set_drvdata() 2013-04-09 12:18:16 +02:00
mc13xxx.h mfd: mc13xxx: Add support for mc34708 2012-11-06 23:14:08 +01:00
mcp-core.c
mcp-sa11x0.c mfd: mcp-sa11x0: Remove unnecessary platform_set_drvdata() 2013-06-11 19:27:52 +02:00
menelaus.c ARM: OMAP2: Move plat/menelaus.h to linux/mfd/menelaus.h 2012-10-15 13:53:41 -07:00
mfd-core.c mfd: Only unregister platform devices allocated by the mfd core 2012-11-20 12:21:12 +01:00
omap-usb-host.c mfd: omap-usb-host: Convert to devm_ioremap_resource() 2013-04-09 15:01:31 +02:00
omap-usb-tll.c mfd: omap-usb-tll: Convert to devm_ioremap_resource() 2013-04-09 15:01:31 +02:00
omap-usb.h mfd: omap-usb-tll: Move configuration code to omap_tll_init() 2013-04-09 09:46:23 +02:00
palmas.c mfd: palmas: Remove code which is not necessary for a device tree boot 2013-06-17 15:10:04 +02:00
pcf50633-adc.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
pcf50633-core.c mfd: pcf50633: Init pcf->dev before using it 2013-01-22 03:05:33 +01:00
pcf50633-gpio.c
pcf50633-irq.c
pm8xxx-irq.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
pm8921-core.c SSBI: Remove MSM_ prefix from SSBI drivers 2013-03-25 10:39:40 -07:00
rc5t583-irq.c mfd: rc5t583: Fix array subscript is above array bounds 2012-11-26 12:10:51 +01:00
rc5t583.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
rdc321x-southbridge.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
retu-mfd.c mfd: retu: Add Tahvo support 2013-04-19 00:45:20 +02:00
rtl8411.c mfd: rtsx: Add support for RTL8411B 2013-06-11 19:27:51 +02:00
rts5209.c mfd: rtsx: Implement driving adjustment to device-dependent callbacks 2013-02-14 00:22:59 +01:00
rts5227.c mfd: rtsx: Support RTS5227 2013-02-14 00:22:59 +01:00
rts5229.c mfd: rtsx: Implement driving adjustment to device-dependent callbacks 2013-02-14 00:22:59 +01:00
rts5249.c mfd: rtsx: Support RTS5249 2013-04-19 18:29:18 +02:00
rtsx_pcr.c mfd: rtsx: Add support for RTL8411B 2013-06-11 19:27:51 +02:00
rtsx_pcr.h mfd: rtsx: Add support for RTL8411B 2013-06-11 19:27:51 +02:00
sec-core.c mfd: sec-core: Remove explicit call to mfd_remove_devices 2013-06-11 19:27:51 +02:00
sec-irq.c mfd: sec: Fix reg_offset for interrupt registers 2012-11-26 00:35:08 +01:00
si476x-cmd.c mfd: si476x: Use get_unaligned_be16() for unaligned be16 loads 2013-05-16 19:15:07 +02:00
si476x-i2c.c mfd: si476x: Fix i2c warning 2013-04-19 18:40:05 +02:00
si476x-prop.c mfd: si476x: Add chip properties handling code 2013-04-19 18:37:59 +02:00
sm501.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
smsc-ece1099.c mfd: smsc: Add support for smsc gpio io/keypad driver 2012-10-01 15:27:48 +02:00
ssbi.c mfd: ssbi: Use devm_* and simplify code 2013-06-18 09:41:15 +02:00
sta2x11-mfd.c mfd: sta2x11: Build warning fix 2013-04-08 17:28:29 +02:00
stmpe-i2c.c mfd: support stmpe1801 18 bits enhanced port expander 2013-04-09 14:15:58 +02:00
stmpe-spi.c mfd: stmpe: Use spi_get_drvdata() 2013-04-09 12:18:16 +02:00
stmpe.c mfd: support stmpe1801 18 bits enhanced port expander 2013-04-09 14:15:58 +02:00
stmpe.h mfd: support stmpe1801 18 bits enhanced port expander 2013-04-09 14:15:58 +02:00
syscon.c mfd: syscon: Fix warnings when printing resource_size_t 2013-04-09 22:50:44 +02:00
t7l66xb.c mfd: t7l66xb: Remove unnecessary platform_set_drvdata() 2013-06-11 19:27:52 +02:00
tc3589x.c mfd: tc3589x: Use devm_*() functions 2013-04-08 17:25:29 +02:00
tc6387xb.c mfd: tc6387xb: Remove unnecessary platform_set_drvdata() 2013-06-11 19:27:52 +02:00
tc6393xb.c mfd: tc6393xb: Remove unnecessary platform_set_drvdata() 2013-06-11 19:27:52 +02:00
ti_am335x_tscadc.c iio: ti_am335x_adc: Allow to specify input line 2013-06-12 18:50:23 +02:00
ti-ssp.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
timberdale.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
timberdale.h
tmio_core.c
tps6105x.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
tps6507x.c mfd: tps6507x: Add DT support 2013-02-14 00:22:54 +01:00
tps6586x.c This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
tps65010.c
tps65090.c mfd: tps65090: Add compatible string for charger subnode 2013-04-11 00:16:29 +02:00
tps65217.c This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
tps65910.c This is the MFD patch set for the 3.8 merge window. 2012-12-16 18:55:20 -08:00
tps65911-comparator.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
tps65912-core.c mfd: tps65912: Convert to managed resources for allocating memory 2013-06-13 12:11:39 +02:00
tps65912-i2c.c mfd: tps65912: Convert to managed resources for allocating memory 2013-06-13 12:11:39 +02:00
tps65912-irq.c
tps65912-spi.c mfd: tps65912: Convert to managed resources for allocating memory 2013-06-13 12:11:39 +02:00
tps80031.c Drivers: mfd: remove __dev* attributes. 2013-01-03 15:57:14 -08:00
twl4030-audio.c mfd: twl4030-audio: Remove unnecessary platform_set_drvdata() 2013-06-11 19:27:52 +02:00
twl4030-irq.c mfd: twl4030: Allow IRQ wake enable to succeed on subchip IRQs 2013-06-18 09:41:14 +02:00
twl4030-madc.c mfd: twl4030-madc: Remove unnecessary platform_set_drvdata() 2013-06-11 19:27:52 +02:00
twl4030-power.c mfd: twl4030: Don't warn about uninitialized return code 2013-01-27 02:18:01 +01:00
twl6030-irq.c mfd/rtc/gpio: twl: No need to allocate bigger buffer for write 2012-11-21 16:08:00 +01:00
twl6040.c mfd: twl6040: Use devm_*() functions 2013-04-08 17:25:27 +02:00
twl-core.c mfd: twl-core: Convert to module_i2c_driver() 2013-06-11 19:27:51 +02:00
twl-core.h
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c
ucb1400_core.c mfd: ucb1400: Pass ucb1400-gpio data through ac97 bus 2013-04-19 00:40:07 +02:00
vexpress-config.c mfd: vexpress: Handle pending config transactions 2013-04-26 16:10:03 +02:00
vexpress-sysreg.c mfd: vexpress: Give the "leds-gpio" device a real parent 2013-04-09 12:09:09 +02:00
viperboard.c mfd: viperboard: Do version query in dma memory 2012-11-26 11:48:56 +01:00
vx855.c mfd: remove use of __devexit 2012-11-28 12:22:27 -08:00
wl1273-core.c mfd: remove use of __devinit 2012-11-28 12:20:19 -08:00
wm831x-auxadc.c
wm831x-core.c
wm831x-i2c.c
wm831x-irq.c
wm831x-otp.c
wm831x-spi.c mfd: wm831x: Use spi_get_drvdata() and spi_set_drvdata() 2013-04-09 12:18:16 +02:00
wm5102-tables.c For 3.10 we have a few new MFD drivers for: 2013-05-05 17:36:20 -07:00
wm5110-tables.c mfd: wm5110: Make DSPn_STATUS_3 readable 2013-05-22 19:13:47 -05:00
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c
wm8994-core.c mfd: wm8994: Reset device during probe 2013-06-18 00:07:49 +02:00
wm8994-irq.c mfd: wm8994: Emulate level triggered interrupts if required 2013-06-11 19:27:52 +02:00
wm8994-regmap.c
wm8994.h
wm8997-tables.c mfd: arizona: Integrate wm8997 into Arizona mfd 2013-06-18 00:49:52 +02:00