kernel-fxtec-pro1x/drivers/video/backlight
Olof Johansson 515c096720 mfd: max8925: fix dt code for backlight
The device-tree enablement for max8925 has several problems, but besides
the bindings being wrong (and not having seen review) there's also some
bad coding practices on how to fill in the platform_data from device tree.

I came across this since it causes a warning when compiling
mmp2_defconfig, and instead of doing the minimal fix to silence the
warning, I restructured the code a bit.

This silences the warning:
drivers/video/backlight/max8925_bl.c: In function 'max8925_backlight_probe':
drivers/video/backlight/max8925_bl.c:177:3: warning: statement with no effect [-Wunused-value]

Note that the bindings themselves need to be revisited too, but that will
affect more than just the backlight driver and is best done separately;
this just fixes the bad code for the backlight driver.

Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2013-07-25 16:57:00 -07:00
..
88pm860x_bl.c
aat2870_bl.c
adp5520_bl.c drivers/video/backlight/adp5520_bl.c: fix compiler warning in adp5520_show() 2013-04-29 18:28:17 -07:00
adp8860_bl.c drivers/video/backlight/adp8860_bl.c: fix error return code in adp8860_led_probe() 2013-04-29 18:28:17 -07:00
adp8870_bl.c drivers/video/backlight/adp8870_bl.c: fix error return code in adp8870_led_probe() 2013-04-29 18:28:17 -07:00
ams369fg06.c
apple_bl.c
as3711_bl.c drivers/video/backlight/as3711_bl.c: add OF support 2013-04-29 18:28:18 -07:00
atmel-pwm-bl.c backlight: atmel-pwm-bl: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:42 -07:00
backlight.c backlight: convert from legacy pm ops to dev_pm_ops 2013-07-03 16:07:43 -07:00
corgi_lcd.c
cr_bllcd.c
da903x_bl.c backlight: da903x_bl: use BL_CORE_SUSPENDRESUME option 2013-04-29 18:28:17 -07:00
da9052_bl.c
ep93xx_bl.c backlight: ep93xx: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:42 -07:00
generic_bl.c
hp680_bl.c
hx8357.c
ili922x.c backlight: ili922x: use spi_set_drvdata() 2013-04-29 18:28:18 -07:00
ili9320.c backlight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops 2013-04-29 18:28:18 -07:00
ili9320.h backlight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops 2013-04-29 18:28:18 -07:00
jornada720_bl.c
jornada720_lcd.c
kb3886_bl.c backlight: kb3886_bl: convert kb3886bl to dev_pm_ops 2013-04-29 18:28:16 -07:00
Kconfig Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
l4f00242t03.c
lcd.c lcd: add devm_lcd_device_{register,unregister}() 2013-07-03 16:07:43 -07:00
ld9040.c
ld9040_gamma.h
lm3533_bl.c backlight: lm3533_bl: convert lm3533_bl to dev_pm_ops 2013-04-29 18:28:16 -07:00
lm3630_bl.c
lm3639_bl.c
lms283gf05.c
lms501kf03.c
locomolcd.c backlight: locomolcd: convert locomolcd to dev_pm_ops 2013-04-29 18:28:16 -07:00
lp855x_bl.c backlight: lp855x: add a device tree structure 2013-04-29 18:28:19 -07:00
lp8788_bl.c backlight: lp8788: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:43 -07:00
ltv350qv.c backlight: ltv350qv: convert ltv350qv to dev_pm_ops 2013-04-29 18:28:17 -07:00
ltv350qv.h
Makefile video: backlight: add ili922x lcd driver 2013-04-29 18:28:17 -07:00
max8925_bl.c mfd: max8925: fix dt code for backlight 2013-07-25 16:57:00 -07:00
omap1_bl.c backlight: omap1: convert omapbl to dev_pm_ops 2013-04-29 18:28:18 -07:00
ot200_bl.c
pandora_bl.c
pcf50633-backlight.c backlight: pcf50633: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:43 -07:00
platform_lcd.c drivers/video/backlight/platform_lcd.c: introduce probe callback 2013-04-29 18:28:18 -07:00
pwm_bl.c
s6e63m0.c
s6e63m0_gamma.h
tdo24m.c backlight: tdo24m: convert tdo24m to dev_pm_ops 2013-04-29 18:28:17 -07:00
tosa_bl.c backlight: tosa: convert tosa to dev_pm_ops 2013-04-29 18:28:18 -07:00
tosa_lcd.c backlight: tosa: convert tosa to dev_pm_ops 2013-04-29 18:28:18 -07:00
tps65217_bl.c drivers/video/backlight/tps65217_bl.c add default brightness value option 2013-04-29 18:28:19 -07:00
vgg2432a4.c backlight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops 2013-04-29 18:28:18 -07:00
wm831x_bl.c