video: Allow simple-panel to be used without regulators
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:27:48 +0000 (19:27 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:22 +0000 (10:27 +0800)
commite23c6c28b01785547e0356667ab435ef904af531
tree21fecaf2d3f1015d1c63c1d1467bda99eee7d9fa
parent2e9ae222f152dde8b2cfe15d5042331e0fa4b8f7
video: Allow simple-panel to be used without regulators

At present simple-panel requires regulator support and will not build
without it. But some panels do not have a power supply, or at least not one
that can be controlled. Update the implementation to cope with this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
drivers/video/simple_panel.c