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 <acourbot@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
cfdf0549f8
commit
887eb66e3a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user