]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: Remove regulator API abuse
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 28 Apr 2016 12:42:18 +0000 (15:42 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 31 May 2016 05:28:31 +0000 (08:28 +0300)
commitad9dcb7e5fe5e06fc7368ba6faee4943831e7ead
tree6eb92f72074aaa2b01153b79e2abfec09db6b82c
parent20427f787135cf2543fb82903a8f5557055d38ab
drm/omap: Remove regulator API abuse

regulator_can_change_voltage() is deprecated and it's use is not necessary
as commit:
8fa4031efab6d regulator: Deprecate regulator_can_change_voltage()
describers it clearly.

Also, regulator_set_voltage() is misused in the driver, as it is
supposed to be used only in cases where the regulator voltage needs to
be changed dynamically at runtime. In DSS's case, we always want a fixed
voltage, set in the .dts files.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/hdmi4.c
drivers/gpu/drm/omapdrm/dss/hdmi5.c