mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -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 <acourbot@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
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…
Add table
Reference in a new issue