kernel-hacking-2024-linux-s.../drivers/mfd
Axel Lin d281b80c46 mfd: Fix memory leak in ab3100_otp_probe
In current implementation, there is a memory leak if ab3100_otp_read fail.
And in the case of ab3100_otp_init_debugfs fail, it does not properly remove
sysfs entries.
This patch properly handle above failure cases.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-08-12 11:27:17 +02:00
..
88pm860x-core.c mfd: Fix led resource in 88pm860x 2010-08-12 11:27:17 +02:00
88pm860x-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ab3100-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ab3100-otp.c mfd: Fix memory leak in ab3100_otp_probe 2010-08-12 11:27:17 +02:00
ab3550-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ab8500-core.c mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
ab8500-spi.c mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
abx500-core.c mfd: AB3100 register access change to abx500 API 2010-05-28 01:37:45 +02:00
adp5520.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
asic3.c
da903x.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
davinci_voicecodec.c
dm355evm_msp.c
ezx-pcap.c
htc-egpio.c
htc-i2cpld.c
htc-pasic3.c
janz-cmodio.c mfd: Janz CMOD-IO PCI MODULbus Carrier Board support 2010-05-28 01:37:32 +02:00
Kconfig mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
lpc_sch.c
Makefile mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
max8925-core.c mfd: Enable onkey on max8925 2010-08-12 11:27:16 +02:00
max8925-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
mc13783-core.c leds: Add mc13783 LED support 2010-05-26 13:07:56 +01:00
mcp-core.c
mcp-sa11x0.c
menelaus.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
mfd-core.c mfd: Check for mem_base when building IORESOURCE_MEM resources 2010-05-28 01:37:31 +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 i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
pcf50633-gpio.c
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 sh: allow platforms to specify SD-card supported voltages 2010-05-22 17:05:22 +09:00
sm501.c
t7l66xb.c mfd: Check t7l66 platform_data pointer 2010-05-28 01:37:26 +02:00
tc6387xb.c
tc6393xb.c
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
tps6507x.c input: Touchscreen driver for TPS6507x 2010-05-28 01:37:38 +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
twl4030-codec.c
twl4030-irq.c mfd: Rename twl5031 sih modules 2010-05-28 01:38:02 +02:00
twl4030-power.c
twl6030-irq.c
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c
ucb1400_core.c
wm831x-core.c mfd: Ensure WM831x charger interrupts are acknowledged when suspending 2010-05-28 01:37:39 +02:00
wm831x-irq.c mfd: Initialise WM831x IRQ masks on chip even if interrupts not in use 2010-05-28 01:37:38 +02:00
wm831x-otp.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8994-core.c
wm8994-irq.c