linux/drivers/mfd
Axel Lin b59cedeffa mfd: Fix da903x_add_subdevs error path
This patch fixes da903x_add_subdevs error path:
1. return -ENOMEM if platform_device_alloc() fail.
2. call platform_device_put() if platform_device_add() fail.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-10-29 00:28:56 +02:00
..
88pm860x-core.c mfd: Add codec resource into 88pm860x driver 2010-10-29 00:28:54 +02:00
88pm860x-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
Kconfig mfd: LP3974 PMIC support 2010-10-29 00:28:45 +02:00
Makefile Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6 2010-08-12 10:01:30 -07:00
ab3100-core.c mfd: Switch AB3100 to use MFD cells 2010-10-29 00:28:42 +02:00
ab3100-otp.c mfd: Fix memory leak in ab3100_otp_probe 2010-08-12 11:27:17 +02:00
ab3550-core.c mfd: Staticise ab3550 register access functions 2010-08-12 11:27:22 +02:00
ab8500-core.c Input: add support for PowerOn button on the AB8500 MFD 2010-09-05 12:19:10 -07:00
ab8500-spi.c spi/pl022: Add spi->mode support to AMBA SPI driver 2010-10-12 21:37:37 -06:00
abx500-core.c mfd: kzalloc doesn't return ERR_PTR 2010-08-12 11:27:19 +02:00
adp5520.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
asic3.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
da903x.c mfd: Fix da903x_add_subdevs error path 2010-10-29 00:28:56 +02:00
davinci_voicecodec.c mfd: Fix davinci memory leak 2010-08-12 11:27:20 +02:00
dm355evm_msp.c mfd: Correct ro and cd implemantion on DM355 2009-09-17 09:46:54 +02:00
ezx-pcap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
htc-egpio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
htc-i2cpld.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
htc-pasic3.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
janz-cmodio.c mfd: Missing slab.h includes 2010-08-12 11:28:10 +02:00
jz4740-adc.c mfd: Check jz4740-adc kmalloc() result 2010-08-12 11:28:02 +02:00
lpc_sch.c mfd: Introduce lpc_sch for Intel SCH LPC bridge 2010-03-07 22:17:22 +01:00
max8925-core.c mfd: Fix max8925 irq control bit incorrect setting 2010-09-29 10:14:53 +02:00
max8925-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
max8998.c mfd: LP3974 PMIC support 2010-10-29 00:28:45 +02:00
mc13783-core.c mfd: Get rid of now unused mc13783 private header 2010-08-12 11:28:04 +02:00
mcp-core.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
mcp-sa11x0.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
menelaus.c mfd: Use macros instead of some constant magic numbers for menelaus 2010-08-12 11:28:11 +02:00
mfd-core.c mfd: properly handle platform_device_add_resources fail in mfd_add_device 2010-08-12 11:27:19 +02:00
pcf50633-adc.c mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read 2010-05-28 01:37:49 +02:00
pcf50633-core.c mfd: Move PCF50633 IRQ protoypes where the definitions can see them 2010-10-29 00:28:37 +02:00
pcf50633-gpio.c mfd/pcf50633-gpio.c: add MODULE_LICENSE 2009-06-17 19:41:30 +02:00
pcf50633-irq.c mfd: Move pcf50633 irq related functions to its own file. 2010-05-28 01:37:50 +02:00
rdc321x-southbridge.c mfd: Change rdc321x resources flags to IORESOURCE_IO 2010-05-28 01:37:52 +02:00
sh_mobile_sdhi.c mfd: Fix up section mismatches in SH SDHI. 2010-09-16 17:14:40 +09:00
sm501.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
stmpe.c mfd: Add stmpe auto sleep feature 2010-08-12 11:28:00 +02:00
stmpe.h mfd: Add stmpe auto sleep feature 2010-08-12 11:28:00 +02:00
t7l66xb.c mfd: Properly free t7l66xb clk32k clock source 2010-08-12 11:27:23 +02:00
tc6387xb.c mfd: Annotate tc6387xb probe/remove routines with __devinit/__devexit 2010-08-12 11:28:06 +02:00
tc6393xb.c mfd: Fix wrong goto labels for tc6393xb error handling 2010-08-12 11:28:05 +02:00
tc35892.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
timberdale.c mfd: Storage class for timberdale should be before const qualifier 2010-05-28 01:38:01 +02:00
timberdale.h mfd: Add timb-dma to all configurations of timberdale 2010-05-28 01:37:31 +02:00
tmio_core.c mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
tps6507x.c mfd: Fix incorrect kfree(i2c) in tps6507x i2c_driver probe 2010-08-12 11:28:12 +02:00
tps6586x.c mfd: Free tps6586x allocated resources when unload the module 2010-10-29 00:28:53 +02:00
tps65010.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
twl-core.c mfd: Switch twl-core over to defines in twl.h 2010-10-29 00:28:48 +02:00
twl4030-codec.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
twl4030-irq.c mfd: twl4030: Fix dummy irq chip usage 2010-10-08 15:37:00 +02:00
twl4030-power.c mfd: Switch twl4030-power over to defines in twl.h 2010-10-29 00:28:49 +02:00
twl6030-irq.c mfd: Add support for twl6030 irq framework 2009-12-14 00:25:31 +01:00
twl6030-pwm.c mfd: Add support for TWL6030 PWM 2010-08-12 11:27:59 +02:00
ucb1x00-assabet.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1x00-core.c mfd: Fix ucb1x00 build failure for collie_defconfig 2010-03-07 22:17:39 +01:00
ucb1x00-ts.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1400_core.c mfd: Avoid calling platform_device_put() twice in ucb1400 probe error path 2010-08-12 11:28:06 +02:00
wm831x-core.c mfd: Fix incorrect kfree(i2c) in wm831x-core i2c_driver probe 2010-08-12 11:28:13 +02:00
wm831x-irq.c mfd: Ignore non-GPIO IRQs when setting wm831x IRQ types 2010-09-29 10:14:52 +02:00
wm831x-otp.c mfd: Add basic WM831x OTP support 2009-09-17 09:46:59 +02:00
wm8350-core.c mfd: Fix wrong wm8350-core kfree in error path 2010-08-12 11:28:08 +02:00
wm8350-gpio.c mfd: Add GPIO pin configuration support for WM8350 2008-10-13 21:51:55 +01:00
wm8350-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8350-irq.c mfd: Convert WM8350 to genirq 2010-03-07 22:16:57 +01:00
wm8350-regmap.c mfd: Remove build time warning for WM835x register default tables 2009-12-13 19:21:53 +01:00
wm8400-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8994-core.c mfd: Fix incorrect kfree(i2c) in wm8994-core i2c_driver probe 2010-08-12 11:28:14 +02:00
wm8994-irq.c mfd: Add WM8994 interrupt controller support 2010-04-05 19:18:07 +01:00