forked from luck/tmp_suning_uos_patched
35762a47c0
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> |
||
---|---|---|
.. | ||
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 | ||
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 | ||
kb3886_bl.c | ||
Kconfig | ||
l4f00242t03.c | ||
lcd.c | ||
ld9040_gamma.h | ||
ld9040.c | ||
lm3533_bl.c | ||
lm3630a_bl.c | ||
lm3639_bl.c | ||
lms283gf05.c | ||
lms501kf03.c | ||
locomolcd.c | ||
lp855x_bl.c | ||
lp8788_bl.c | ||
ltv350qv.c | ||
ltv350qv.h | ||
lv5207lp.c | ||
Makefile | ||
max8925_bl.c | ||
omap1_bl.c | ||
ot200_bl.c | ||
pandora_bl.c | ||
pcf50633-backlight.c | ||
platform_lcd.c | ||
pwm_bl.c | ||
s6e63m0_gamma.h | ||
s6e63m0.c | ||
tdo24m.c | ||
tosa_bl.c | ||
tosa_lcd.c | ||
tps65217_bl.c | ||
vgg2432a4.c | ||
wm831x_bl.c |