OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Mar 2012 14:50:46 +0000 (14:50 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 23 Apr 2012 07:48:04 +0000 (10:48 +0300)
commit9c3d5eb71b1fdcdef434a46444d931ada6938446
tree4ed6c46f7e1902383ddb3637b018aaa2e4d01d4a
parentb6e695abe710ee1ae248463d325169efac487e17
OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage

The TAAL driver contains some regulator support which is currently unused
(the code is there but the one panel supported by the driver doesn't have
any regulators provided). This code mostly looks like an open coded
version of the regulator core bulk API.

The only additional feature is that a voltage range can be set once when
the device is opened, though this is never varied at runtime. The general
expectation is that if the device is not actively managing the voltage of
the device (eg, doing DVFS) then any configuration will be done using the
constraints rather than by drivers, saving them code and ensuring that
they work well with systems where the voltage is not configurable.

If systems are added needing regulator support this can be added back in,
though it should be based on core features rather than open coding things.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-taal.c