Skip to content

Commit

Permalink
drm/panel: remove redundant regulator_disable()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Courbot authored and Thierry Reding committed Apr 4, 2014
1 parent cfdf054 commit 887eb66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/panel/panel-simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 887eb66

Please sign in to comment.