pwm: sysfs: Add suspend/resume support
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 31 May 2019 09:55:00 +0000 (18:55 +0900)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 26 Jun 2019 09:39:11 +0000 (11:39 +0200)
commit7fd4edc57bbae9bd62838ebf69d3abfaf8f01173
tree151993e99581fa4e0825d801488f832096ce3608
parent321a7cea973b4f63bb7e3baaea8428dfb8b424a9
pwm: sysfs: Add suspend/resume support

According to the Documentation/pwm.txt, all PWM consumers should have
power management. Since this sysfs interface is one of consumers so that
this patch adds suspend/resume support.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
[thierry.reding@gmail.com: fix build warnings for !PM]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/sysfs.c