linux_dsm_epyc7002/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 drivers/video/backlight/88pm860x_bl.c: add missing of_node_put() 2013-02-21 17:22:25 -08:00
aat2870_bl.c backlight: aat2870: use bl_get_data instead of dev_get_drvdata 2013-02-21 17:22:24 -08:00
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 drivers/video/backlight/ams369fg06.c: convert ams369fg06 to dev_pm_ops 2013-04-29 18:28:14 -07:00
apple_bl.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
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 backlight: corgi_lcd: convert corgi_lcd to dev_pm_ops 2013-04-29 18:28:16 -07:00
cr_bllcd.c backlight: cr_bllcd: use pr_err()/pr_info() instead of printk() 2012-05-29 16:22:29 -07:00
da903x_bl.c backlight: da903x_bl: use BL_CORE_SUSPENDRESUME option 2013-04-29 18:28:17 -07:00
da9052_bl.c drivers/video/backlight/da9052_bl.c: add missing const 2012-12-17 17:15:16 -08:00
ep93xx_bl.c backlight: ep93xx: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:42 -07:00
generic_bl.c drivers/video/backlight/generic_bl.c: use dev_info() instead of pr_info() 2013-04-29 18:28:15 -07:00
hp680_bl.c backlight: hp680_bl: convert hp680bl to dev_pm_ops 2013-04-29 18:28:16 -07:00
hx8357.c fb: backlight: add the Himax HX-8357B LCD controller 2013-02-21 17:22:24 -08:00
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 drivers/video/backlight/jornada720_*.c: use dev_err()/dev_info() instead of pr_err()/pr_info() 2013-04-29 18:28:15 -07:00
jornada720_lcd.c drivers/video/backlight/jornada720_*.c: use dev_err()/dev_info() instead of pr_err()/pr_info() 2013-04-29 18:28:15 -07:00
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 drivers/video/backlight/l4f00242t03.c: check return value of regulator_enable() 2013-04-29 18:28:15 -07:00
lcd.c lcd: add devm_lcd_device_{register,unregister}() 2013-07-03 16:07:43 -07:00
ld9040_gamma.h drivers/vidfeo/backlight: ld9040 amoled driver support 2011-03-22 17:43:59 -07:00
ld9040.c backlight: ld9040: convert ld9040 to dev_pm_ops 2013-04-29 18:28:15 -07:00
lm3533_bl.c backlight: lm3533_bl: convert lm3533_bl to dev_pm_ops 2013-04-29 18:28:16 -07:00
lm3630_bl.c drivers/video/backlight/lm3630_bl.c: remove ret = -EIO of lm3630_backlight_register() 2013-02-21 17:22:25 -08:00
lm3639_bl.c drivers/video/backlight/lm3639_bl.c: remove ret = -EIO at error paths of probe 2013-02-21 17:22:24 -08:00
lms283gf05.c backlight: lms283gf05: use spi_get_drvdata and spi_set_drvdata 2013-02-21 17:22:23 -08:00
lms501kf03.c backlight: lms501kf03: convert lms501kf03 to dev_pm_ops 2013-04-29 18:28:15 -07:00
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 kgdb: remove #include <linux/serial_8250.h> from kgdb.h 2013-02-04 15:35:26 -08:00
pandora_bl.c drivers/video/backlight/pandora_bl.c: change TWL4030_MODULE_PWM0 to TWL_MODULE_PWM 2012-12-17 17:15:17 -08:00
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 pwm_backlight: remove unnecessary ifdefs 2013-03-08 08:30:13 +01:00
s6e63m0_gamma.h
s6e63m0.c backlight: s6e63m0: convert s6e63m0 to dev_pm_ops 2013-04-29 18:28:15 -07:00
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 backlight: initialize struct backlight_properties properly 2012-05-29 16:22:30 -07:00