drm/panel: remove redundant regulator_disable()
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 1 Mar 2014 05:00:59 +0000 (14:00 +0900)
committerThierry Reding <treding@nvidia.com>
Fri, 4 Apr 2014 07:06:38 +0000 (09:06 +0200)
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>
drivers/gpu/drm/panel/panel-simple.c

index 87cc238c8a8515c3c899818a5af366837d6bb96f..71566d82e4828a332ede423bca953738e51204ef 100644 (file)
@@ -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;
 }