1107d40a50
The various devm_ functions allocate memory that is released when a driver detaches. This patch uses these functions for data that is allocated in the probe function of a platform device and is only freed in the remove function. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
88pm860x_bl.c | ||
aat2870_bl.c | ||
adp5520_bl.c | ||
adp8860_bl.c | ||
adp8870_bl.c | ||
ams369fg06.c | ||
apple_bl.c | ||
atmel-pwm-bl.c | ||
backlight.c | ||
corgi_lcd.c | ||
cr_bllcd.c | ||
da903x_bl.c | ||
ep93xx_bl.c | ||
generic_bl.c | ||
hp680_bl.c | ||
ili9320.c | ||
ili9320.h | ||
jornada720_bl.c | ||
jornada720_lcd.c | ||
kb3886_bl.c | ||
Kconfig | ||
l4f00242t03.c | ||
lcd.c | ||
ld9040_gamma.h | ||
ld9040.c | ||
lms283gf05.c | ||
locomolcd.c | ||
ltv350qv.c | ||
ltv350qv.h | ||
Makefile | ||
max8925_bl.c | ||
omap1_bl.c | ||
pcf50633-backlight.c | ||
platform_lcd.c | ||
progear_bl.c | ||
pwm_bl.c | ||
s6e63m0_gamma.h | ||
s6e63m0.c | ||
tdo24m.c | ||
tosa_bl.c | ||
tosa_lcd.c | ||
vgg2432a4.c | ||
wm831x_bl.c |