mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
parent
cfdf0549f8
commit
887eb66e3a
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue