linux/drivers/video/backlight
Mark Brown 0556dc340e backlight: fix broken regulator API usage in l4f00242t03
The regulator support in the l4f00242t03 is very non-idiomatic.  Rather
than requesting the regulators based on the device name and the supply
names used by the device the driver requires boards to pass system
specific supply names around through platform data.  The driver also
conditionally requests the regulators based on this platform data, adding
unneeded conditional code to the driver.

Fix this by removing the platform data and converting to the standard
idiom, also updating all in tree users of the driver.  As no datasheet
appears to be available for the LCD I'm guessing the names for the
supplies based on the existing users and I've no ability to do anything
more than compile test.

The use of regulator_set_voltage() in the driver is also problematic,
since fixed voltages are required the expectation would be that the
voltages would be fixed in the constraints set by the machines rather than
manually configured by the driver, but is less problematic.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-10-31 17:30:54 -07:00
..
88pm860x_bl.c mfd: Use mfd cell platform_data for 88pm860x cells platform bits 2011-05-26 19:45:12 +02:00
aat2870_bl.c drivers/video/backlight/aat2870_bl.c: fix setting max_current 2011-08-03 14:25:22 -10:00
adp5520_bl.c drivers/video/backlight/adp5520_bl.c: check strict_strtoul() return value 2011-05-25 08:39:01 -07:00
adp8860_bl.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-3.x into fbdev-next 2011-08-29 09:14:30 +00:00
adp8870_bl.c video/backlight: remove obsolete cleanup for clientdata 2011-10-31 17:30:54 -07:00
adx_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
ams369fg06.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
apple_bl.c mbp_nvidia_bl: rename to apple_bl 2011-03-22 17:44:00 -07:00
atmel-pwm-bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
backlight.c backlight: Declare backlight_types[] const 2011-09-10 14:00:02 -07:00
corgi_lcd.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cr_bllcd.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
da903x_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
ep93xx_bl.c drivers/video/backlight/ep93xx_bl.c: add missing include of linux/module.h 2011-08-25 16:25:34 -07:00
generic_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
hp680_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07: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 fb: add support for the ILI9320 video display controller 2008-07-24 10:47:40 -07:00
jornada720_bl.c drivers/video/backlight/jornada720_*.c: make needlessly global symbols static 2011-03-22 17:44:00 -07:00
jornada720_lcd.c drivers/video/backlight/jornada720_*.c: make needlessly global symbols static 2011-03-22 17:44:00 -07:00
kb3886_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
Kconfig drivers/video/backlight/aat2870_bl.c: make it buildable as a module 2011-08-03 14:25:22 -10:00
l4f00242t03.c backlight: fix broken regulator API usage in l4f00242t03 2011-10-31 17:30:54 -07: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
ld9040_gamma.h drivers/vidfeo/backlight: ld9040 amoled driver support 2011-03-22 17:43:59 -07:00
ld9040.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
lms283gf05.c backlight: fix blanking for LMS283GF05 LCD 2010-11-12 07:55:33 -08:00
locomolcd.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ltv350qv.c Haavard Skinnemoen has left Atmel 2011-05-18 23:24:50 +02:00
ltv350qv.h backlight: Add Samsung LTV350QV LCD driver 2007-10-11 22:24:12 +01:00
Makefile backlight: Add AAT2870 backlight driver 2011-07-31 23:28:26 +02:00
max8925_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
omap1_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
pcf50633-backlight.c backlight: add backlight type 2011-03-22 17:43:59 -07: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: add backlight type 2011-03-22 17:43:59 -07:00
pwm_bl.c backlight: add a callback 'notify_after' for backlight control 2011-08-25 16:25:34 -07:00
s6e63m0_gamma.h backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
s6e63m0.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07: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 backlight: add backlight type 2011-03-22 17:43:59 -07: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 spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
wm831x_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00