pwm_bl: modify the pwm_bl to support hibernation

Change-Id: Id4c3411601c3a43399dd211efcb9e3805559d26d
This commit is contained in:
zhangmeng
2024-12-10 19:37:30 +08:00
parent faa4eb341d
commit e437d591e5

View File

@@ -693,10 +693,7 @@ static int pwm_backlight_resume(struct device *dev)
static const struct dev_pm_ops pwm_backlight_pm_ops = {
#ifdef CONFIG_PM_SLEEP
.suspend = pwm_backlight_suspend,
.resume = pwm_backlight_resume,
.poweroff = pwm_backlight_suspend,
.restore = pwm_backlight_resume,
SET_SYSTEM_SLEEP_PM_OPS(pwm_backlight_suspend, pwm_backlight_resume)
#endif
};