kernel_optimize_test/drivers/video/backlight
Levente Kurusa 35762a47c0 backlight: core: Replace kfree with put_device
As per the comments on device_register, we shouldn't call kfree()
right after a device_register() failure. Instead call put_device(),
which in turn will call bl_device_release resulting in a kfree to the
full structure.

Signed-off-by: Levente Kurusa <levex@linux.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-04-08 13:20:39 +01:00
..
88pm860x_bl.c
aat2870_bl.c
adp5520_bl.c
adp8860_bl.c
adp8870_bl.c
ams369fg06.c
apple_bl.c
as3711_bl.c
atmel-pwm-bl.c
backlight.c backlight: core: Replace kfree with put_device 2014-04-08 13:20:39 +01:00
bd6107.c
corgi_lcd.c
cr_bllcd.c
da903x_bl.c
da9052_bl.c
ep93xx_bl.c
generic_bl.c
gpio_backlight.c
hp680_bl.c
hx8357.c
ili922x.c
ili9320.c
ili9320.h
jornada720_bl.c
jornada720_lcd.c backlight: jornada720: use devm_lcd_device_register() 2014-01-23 16:36:56 -08:00
kb3886_bl.c backlight: kb3886_bl: fix incorrect placement of __initdata marker 2014-01-23 16:36:57 -08:00
Kconfig
l4f00242t03.c backlight: l4f00242t03: use devm_lcd_device_register() 2014-01-23 16:36:56 -08:00
lcd.c drivers/video/backlight/lcd.c: call put_device if device_register fails 2014-01-30 16:56:54 -08:00
ld9040_gamma.h
ld9040.c
lm3533_bl.c
lm3630a_bl.c
lm3639_bl.c
lms283gf05.c
lms501kf03.c
locomolcd.c
lp855x_bl.c backlight: lp855x: remove unnecessary parentheses 2014-01-23 16:36:57 -08:00
lp8788_bl.c backlight: lp8788: remove unnecessary parentheses 2014-01-23 16:36:57 -08:00
ltv350qv.c
ltv350qv.h
lv5207lp.c
Makefile
max8925_bl.c
omap1_bl.c backlight: omap1: use devm_backlight_device_register() 2014-01-23 16:36:56 -08:00
ot200_bl.c backlight: ot200_bl: use devm_backlight_device_register() 2014-01-23 16:36:56 -08:00
pandora_bl.c
pcf50633-backlight.c
platform_lcd.c
pwm_bl.c
s6e63m0_gamma.h
s6e63m0.c
tdo24m.c
tosa_bl.c backlight: tosa: use devm_backlight_device_register() 2014-01-23 16:36:56 -08:00
tosa_lcd.c backlight: tosa: use devm_lcd_device_register() 2014-01-23 16:36:57 -08:00
tps65217_bl.c
vgg2432a4.c
wm831x_bl.c