pwm: pca9685: Replace CONFIG_PM with __maybe_unused
authorRishi Gupta <gupt21@gmail.com>
Wed, 11 Mar 2020 15:43:49 +0000 (21:13 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 30 Mar 2020 16:03:04 +0000 (18:03 +0200)
commit408a7591d91a8bb935109776e889bbaa42787c09
tree2c71ce4d8c25175601394cbb258ce9d7745b2280
parent2d0c08fcd67c23cf8433344544fb5a6c059c2572
pwm: pca9685: Replace CONFIG_PM with __maybe_unused

The __maybe_unused attribute is preferred over CONFIG_PM to prevent
potential build time issues. This commit replaces CONFIG_PM with this
attribute.

Signed-off-by: Rishi Gupta <gupt21@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-pca9685.c