Re: [PATCH] backlight: pwm_bl: Use SIMPLE_DEV_PM_OPS()

2018-12-17 Thread Daniel Thompson
On Sun, Dec 16, 2018 at 07:21:12AM +0300, Alexander Shiyan wrote: > Use the SIMPLE_DEV_PM_OPS() macro to declare the driver's pm_ops. > As a side effect, removing #ifdef CONFIG_PM_SLEEP will improve > compilation coverage. > > Signed-off-by: Alexander Shiyan > --- > drivers/video/backlight/pwm_b

[PATCH] backlight: pwm_bl: Use SIMPLE_DEV_PM_OPS()

2018-12-16 Thread Alexander Shiyan
Use the SIMPLE_DEV_PM_OPS() macro to declare the driver's pm_ops. As a side effect, removing #ifdef CONFIG_PM_SLEEP will improve compilation coverage. Signed-off-by: Alexander Shiyan --- drivers/video/backlight/pwm_bl.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) di