android_kernel_oneplus_msm8998/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 blackfin architecture 2007-05-07 12:12:58 -07:00
ad7879.h Input: ad7879 - support auxiliary GPIOs via gpiolib 2010-01-19 00:31:51 -08:00
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 rtc: ds1305/ds1306 driver 2008-07-24 10:47:33 -07:00
eeprom.h memory_accessor: implement the new memory_accessor interfaces for SPI EEPROMs 2009-04-02 19:04:50 -07:00
flash.h [PATCH] spi: M25 series SPI flash 2006-01-13 16:29:55 -08:00
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 backlight: spi driver for LMS283GF05 LCD 2009-09-07 15:08:06 +01:00
max7301.h
mc33880.h gpio: add MC33880 driver 2009-09-23 07:39:46 -07:00
mcp23s08.h mcp23s08: get rid of setup/teardown callbacks 2011-07-15 13:54:17 -06:00
mmc_spi.h mmc_spi: Add support for OpenFirmware bindings 2008-12-31 19:01:55 +01:00
orion_spi.h
pxa2xx_spi.h spi/pxa2xx: Add CE4100 support 2010-12-01 13:48:30 +01:00
sh_msiof.h
spi.h spi: Use void pointers for data in simple SPI I/O operations 2011-05-20 00:43:07 -06:00
spi_bitbang.h spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_gpio.h
spi_oc_tiny.h spi: add OpenCores tiny SPI driver 2011-02-22 14:59:53 -07:00
spidev.h Fix common misspellings 2011-03-31 11:26:23 -03:00
tdo24m.h
tle62x0.h SPI: tle620x power switch driver 2007-07-17 10:23:05 -07:00
tsc2005.h Input: introduce tsc2005 driver 2011-03-16 23:27:39 -07:00
xilinx_spi.h xilinx_spi: add support for the DS570 IP. 2009-12-08 18:48:14 -07:00