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

2019-01-17 Thread Daniel Thompson
On Wed, Jan 16, 2019 at 04:38:17PM +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. Adopting SIMPLE_DEV_PM_OPS() results in the suspend/resume functions being

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

2019-01-17 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 | 16 1 file changed, 4 insertions(+), 12 deletions(-) dif