From 887eb66e3ab2df12b09266724410a66c9400979a Mon Sep 17 00:00:00 2001 From: Alexandre Courbot Date: Sat, 1 Mar 2014 14:00:59 +0900 Subject: [PATCH] drm/panel: remove redundant regulator_disable() regulator_disable() is already performed by panel_simple_disable(), which is called by panel_simple_remove(). Signed-off-by: Alexandre Courbot Signed-off-by: Thierry Reding --- 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 87cc238c8a85..71566d82e482 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -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; } -- 2.20.1