summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-03-01 09:00:59 +0400
committerThierry Reding <treding@nvidia.com>2014-04-04 11:06:38 +0400
commit887eb66e3ab2df12b09266724410a66c9400979a (patch)
tree267ab4e6ee77f2615a8c4dcb0cffa46c798f1368 /drivers/gpu/drm/panel
parentcfdf0549f85f9a48e74bf8f6e36572ccdb75d274 (diff)
downloadlinux-887eb66e3ab2df12b09266724410a66c9400979a.tar.xz
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/drm/panel')
-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;
}