From: Alexandre Courbot Date: Sat, 1 Mar 2014 05:00:59 +0000 (+0900) Subject: drm/panel: remove redundant regulator_disable() X-Git-Tag: next-20140428~45^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=af93437239bd07c9d583315eac4a300c7c1f9028;p=karo-tx-linux.git 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 --- diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 71c9b83ae803..9b1ae33346d4 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; }