2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 17:53:56 +08:00
linux-next/drivers/video/backlight
Kim, Milo 0b81857339 backlight: lp855x: move backlight mode platform data
The brightness of LP855x devices is controlled by I2C register or PWM
input .  This mode was selected through the platform data, but it can be
chosen by the driver internally without platform data configuration.

How to decide the control mode:
  If the PWM period has specific value, the mode is PWM input.
  On the other hand, the mode is register-based.
  This mode selection is done on the _probe().

Move 'mode' from a header file to the driver private data structure,
'lp855 x'.  And correlated code was replaced.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-29 18:28:18 -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 drivers/video/backlight/atmel-pwm-bl.c: add __init annotation 2013-04-29 18:28:14 -07:00
backlight.c backlight: fix class_find_device() arguments 2013-02-06 16:43:02 -08: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: convert ep93xx to dev_pm_ops 2013-04-29 18:28:16 -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 video: backlight: add ili922x lcd driver 2013-04-29 18:28:17 -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 drivers/video/backlight/lcd.c: return ENXIO when ops functions cannot be called 2012-12-17 17:15:17 -08: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: move backlight mode platform data 2013-04-29 18:28:18 -07:00
lp8788_bl.c backlight: add new lp8788 backlight driver 2013-02-27 19:10:09 -08:00
ltv350qv.c backlight: ltv350qv: convert ltv350qv to dev_pm_ops 2013-04-29 18:28:17 -07:00
ltv350qv.h backlight: Add Samsung LTV350QV LCD driver 2007-10-11 22:24:12 +01:00
Makefile video: backlight: add ili922x lcd driver 2013-04-29 18:28:17 -07:00
max8925_bl.c mfd: max8925: Support dt for backlight 2013-02-14 00:23:01 +01: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: fix checkpatch warning 2012-12-17 17:15:15 -08: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: Changes for v3.9-rc1 2013-02-26 09:34:29 -08:00
s6e63m0_gamma.h backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
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 backlight: tps65217_bl: Add missing platform_set_drvdata in tps65217_bl_probe 2012-10-01 00:56:12 +02: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