summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-03-01 14:00:59 +0900
committerThierry Reding <treding@nvidia.com>2014-04-04 09:06:38 +0200
commit887eb66e3ab2df12b09266724410a66c9400979a (patch)
tree267ab4e6ee77f2615a8c4dcb0cffa46c798f1368 /drivers/gpu
parentcfdf0549f85f9a48e74bf8f6e36572ccdb75d274 (diff)
drm/panel: remove redundant regulator_disable()
regulator_disable() is already performed by panel_simple_disable(), which is called by panel_simple_remove(). Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 87cc238c8a85..71566d82e482 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -259,8 +259,6 @@ static int panel_simple_remove(struct device *dev)
if (panel->backlight)
put_device(&panel->backlight->dev);
- regulator_disable(panel->supply);
-
return 0;
}