From: Mark Brown Date: Mon, 19 Mar 2012 14:50:46 +0000 (+0000) Subject: OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage X-Git-Tag: v3.5-rc3~26^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c3d5eb71b1fdcdef434a46444d931ada6938446;p=profile%2Fcommon%2Fkernel-common.git 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 Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 0f21fa5..72d6307 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include