summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-lp3943.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-10-23 19:46:27 +0200
committerThierry Reding <thierry.reding@gmail.com>2023-12-20 16:04:13 +0100
commit5d5a0aa5e261eaaea81de4f30c26d22323026714 (patch)
treed614b55a895bb1029e19e855d8ef4e271ed7fdd8 /drivers/pwm/pwm-lp3943.c
parent3d67277607c755160531ebd6b756ffd7195de627 (diff)
pwm: tiecap: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
This macro has the advantage over SIMPLE_DEV_PM_OPS that we don't have to care about when the functions are actually used, so the corresponding #ifdef can be dropped. Also make use of pm_ptr() to discard all PM related stuff if CONFIG_PM isn't enabled. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-lp3943.c')
0 files changed, 0 insertions, 0 deletions