diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-03-01 14:00:59 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-04-28 21:33:31 +0900 |
commit | 98d2b6e48d8a9d687da972672f39381f29486a36 (patch) | |
tree | 537eb495cbd6df2984632e2aa7427b8c7dd76fb5 | |
parent | baa66aedb1f0c73938c54921c41be3da754c0ed6 (diff) | |
download | linux-3.10-98d2b6e48d8a9d687da972672f39381f29486a36.tar.gz linux-3.10-98d2b6e48d8a9d687da972672f39381f29486a36.tar.bz2 linux-3.10-98d2b6e48d8a9d687da972672f39381f29486a36.zip |
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>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 2 |
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 87cc238c8a8..71566d82e48 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; } |