kernel_optimize_test/drivers/mfd
Lars-Peter Clausen 68d641efd8 mfd: Fix memleak in pcf50633_client_dev_register
Since platform_device_add_data copies the passed data, the allocated
subdev_pdata is never freed. A simple fix would be to either free subdev_pdata
or put it onto the stack. But since the pcf50633 child devices can rely on
beeing children of the pcf50633 core device it's much more elegant to get access
to pcf50633 core structure through that link. This allows to get completly rid
of pcf5033_subdev_pdata.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2009-12-13 19:21:17 +01:00
..
88pm8607.c mfd: Add 88PM8607 driver 2009-12-13 19:20:37 +01:00
ab3100-core.c mfd: Don't abuse i2c_client.name 2009-12-13 19:20:40 +01:00
ab3100-otp.c
ab4500-core.c mfd: Fix ab4500 compilation warnings 2009-12-13 19:20:39 +01:00
adp5520.c mfd: Add ADP5520/ADP5501 driver 2009-12-13 19:20:53 +01:00
asic3.c mfd: Move asic3_remove to .devexit.text 2009-12-13 19:20:46 +01:00
da903x.c
dm355evm_msp.c
ezx-pcap.c
htc-egpio.c
htc-pasic3.c
Kconfig mfd: Add ADP5520/ADP5501 driver 2009-12-13 19:20:53 +01:00
Makefile mfd: Split wm8350 IRQ code into a separate file 2009-12-13 19:20:55 +01:00
mc13783-core.c
mcp-core.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
mcp-sa11x0.c add gpiolib support to ucb1x00 2009-11-27 21:07:21 +01:00
menelaus.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
mfd-core.c
pcf50633-adc.c mfd: Fix memleak in pcf50633_client_dev_register 2009-12-13 19:21:17 +01:00
pcf50633-core.c mfd: Fix memleak in pcf50633_client_dev_register 2009-12-13 19:21:17 +01:00
pcf50633-gpio.c
sh_mobile_sdhi.c mfd: Add power control platform data to SDHI driver 2009-11-30 12:01:24 +09:00
sm501.c
t7l66xb.c
tc6387xb.c
tc6393xb.c
tps65010.c
twl4030-codec.c MFD: twl4030-codec: APLL_INFREQ handling in the MFD driver 2009-11-22 10:09:24 -08:00
twl4030-core.c mfd: Don't abuse i2c_client.name 2009-12-13 19:20:40 +01:00
twl4030-irq.c
twl4030-power.c
ucb1x00-assabet.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1x00-core.c add gpiolib support to ucb1x00 2009-11-27 21:07:21 +01:00
ucb1x00-ts.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1400_core.c Input: ucb1400_ts - allow passing IRQ through platfrom_data 2009-11-20 00:52:05 -08:00
wm831x-core.c mfd: Add support for WM8320 PMICs 2009-12-13 19:20:44 +01:00
wm831x-irq.c mfd: Always initialise WM831x IRQ mutex 2009-10-27 00:20:32 +01:00
wm831x-otp.c
wm8350-core.c mfd: Split wm8350 IRQ code into a separate file 2009-12-13 19:20:55 +01:00
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c mfd: Convert WM835x IRQ handling to use a data table 2009-12-13 19:21:02 +01:00
wm8350-regmap.c
wm8400-core.c