kernel_optimize_test/drivers/video/backlight
Axel Lin beb0a43f39 backlight: l4f00242t03: fix error handling in l4f00242t03_probe
Error handling fixes:
1. In the case of kzalloc failure, simple return -ENOMEM instead of goto
   err. ( priv is NULL in this case )
2. In the case of gpio_request fail for reset_gpio and data_enable_gpio,
   properly release resources by goto err and err2 respectively.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-26 17:34:35 +01:00
..
88pm860x_bl.c backlight: 88pm860x_bl - potential memory leak 2010-05-26 13:08:31 +01:00
adp5520_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
adp8860_bl.c backlight: adp8860: add support for ADP8861 & ADP8863 2010-05-26 13:08:33 +01:00
adx_bl.c backlight: backlight_device_register() return ERR_PTR() 2010-05-26 13:08:31 +01:00
atmel-pwm-bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
backlight.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
corgi_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cr_bllcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
da903x_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ep93xx_bl.c backlight: Add Cirrus EP93xx backlight driver 2010-05-26 13:08:32 +01:00
generic_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
hp680_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
ili9320.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ili9320.h
jornada720_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
jornada720_lcd.c
kb3886_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
Kconfig backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
l4f00242t03.c backlight: l4f00242t03: fix error handling in l4f00242t03_probe 2010-05-26 17:34:35 +01:00
lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
lms283gf05.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
locomolcd.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
ltv350qv.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ltv350qv.h
Makefile backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
max8925_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mbp_nvidia_bl.c backlight: mbp_nvidia_bl - Fix DMI_SYS_VENDOR for MacBook1,1 2010-05-26 13:08:32 +01:00
omap1_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
platform_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
progear_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
pwm_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
s6e63m0_gamma.h backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
s6e63m0.c backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
tdo24m.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tosa_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tosa_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vgg2432a4.c
wm831x_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00