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>
This commit is contained in:
Alexandre Courbot 2014-03-01 14:00:59 +09:00 committed by Thierry Reding
parent cfdf0549f8
commit 887eb66e3a
1 changed files with 0 additions and 2 deletions

View File

@ -259,8 +259,6 @@ static int panel_simple_remove(struct device *dev)
if (panel->backlight) if (panel->backlight)
put_device(&panel->backlight->dev); put_device(&panel->backlight->dev);
regulator_disable(panel->supply);
return 0; return 0;
} }