Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 887eb66e authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Thierry Reding
Browse files

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: default avatarAlexandre Courbot <acourbot@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent cfdf0549
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}