[PATCH 2/2] drm/panel: remove redundant regulator_disable() (original) (raw)
Alexandre Courbot acourbot at nvidia.com
Fri Feb 28 21:00:59 PST 2014
- Previous message: [PATCH 1/2] drm/panel: use gpiod interface for enable GPIO
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
regulator_disable() is already performed by panel_simple_disable(), which is called by panel_simple_remove().
Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
drivers/gpu/drm/panel/panel-simple.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index d1cabfa..35d1518 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -257,8 +257,6 @@ static int panel_simple_remove(struct device *dev) if (panel->backlight) put_device(&panel->backlight->dev); - regulator_disable(panel->supply);
return 0;
}
1.9.0
- Previous message: [PATCH 1/2] drm/panel: use gpiod interface for enable GPIO
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]