2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/include/linux/spi
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
..
74x164.h gpio/74x164: remove unnecessary defines and prototype 2011-06-03 12:14:16 -06:00
ad7877.h
ad7879.h
ads7846.h Input: ads7846 - add possibility to use external vref on ads7846 2011-05-12 08:28:56 -07:00
at73c213.h
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
ifx_modem.h serial: ifx6x60: expanded info available from platform data 2011-02-03 11:43:10 -08:00
Kbuild
l4f00242t03.h backlight: fix broken regulator API usage in l4f00242t03 2011-10-31 17:30:54 -07:00
libertas_spi.h
lms283gf05.h
max7301.h
mc33880.h
mcp23s08.h mcp23s08: get rid of setup/teardown callbacks 2011-07-15 13:54:17 -06:00
mmc_spi.h
orion_spi.h
pxa2xx_spi.h
sh_msiof.h
spi_bitbang.h
spi_gpio.h
spi_oc_tiny.h spi: add OpenCores tiny SPI driver 2011-02-22 14:59:53 -07:00
spi.h spi: Use void pointers for data in simple SPI I/O operations 2011-05-20 00:43:07 -06:00
spidev.h Fix common misspellings 2011-03-31 11:26:23 -03:00
tdo24m.h
tle62x0.h
tsc2005.h Input: introduce tsc2005 driver 2011-03-16 23:27:39 -07:00
xilinx_spi.h