pwm_bl: modify the pwm_bl to support hibernation
Change-Id: Id4c3411601c3a43399dd211efcb9e3805559d26d
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user