ARM: pxa: Add dummy backlight power supply on Mitac Mio A701
authorThierry Reding <thierry.reding@gmail.com>
Fri, 20 Dec 2013 09:46:52 +0000 (10:46 +0100)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Tue, 11 Feb 2014 03:33:09 +0000 (11:33 +0800)
commit902e6a0c7eba08ec978cea8304c6cb2ddce7b9dc
tree580a9e35a67b95342bf93482cbdf36b3cca89c3a
parent38dbfb59d1175ef458d006556061adeaa8751b72
ARM: pxa: Add dummy backlight power supply on Mitac Mio A701

Recent changes to the pwm-backlight driver have made the power supply
mandatory. There is code in the regulator core to deal with situations
where no regulator is specified and provide a dummy, but that works on
DT-based boards only.

The situation can be remedied by adding a dummy regulator during board
initialization.

Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/mioa701.c