]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 06:40:30 +0000 (08:40 +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 71c9b83ae803e3800a630fa161c2b0c09cdc8ef8..9b1ae33346d47584e9f32b31ee3eebc1460c95a5 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;
 }