Commit 887eb66e authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Thierry Reding

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: default avatarAlexandre Courbot <acourbot@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent cfdf0549
...@@ -259,8 +259,6 @@ static int panel_simple_remove(struct device *dev) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment