android_kernel_xiaomi_sm8350/drivers/video/backlight
Julia Lawall 1107d40a50 drivers/video/backlight/wm831x_bl.c: use devm_ functions
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>
2012-03-23 16:58:33 -07:00
..
88pm860x_bl.c
aat2870_bl.c
adp5520_bl.c
adp8860_bl.c
adp8870_bl.c
ams369fg06.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
apple_bl.c
atmel-pwm-bl.c
backlight.c
corgi_lcd.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
cr_bllcd.c
da903x_bl.c backlight: convert drivers/video/backlight/* to use module_platform_driver() 2012-01-10 16:30:48 -08:00
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 backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
lcd.c
ld9040_gamma.h
ld9040.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
lms283gf05.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
locomolcd.c
ltv350qv.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
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 backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
tdo24m.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
tosa_bl.c
tosa_lcd.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
vgg2432a4.c backlight: convert backlight spi drivers to module_spi_driver 2012-03-23 16:58:33 -07:00
wm831x_bl.c drivers/video/backlight/wm831x_bl.c: use devm_ functions 2012-03-23 16:58:33 -07:00