drm/panel: remove redundant regulator_disable()
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 1 Mar 2014 05:00:59 +0000 (14:00 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:39 +0000 (11:47 +0900)
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>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/panel/panel-simple.c

index 87cc238..71566d8 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;
 }