[PATCH 00/11] pwm: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions

Uwe Kleine-König
2023-10-10T07:51:34Z

Hello,

Florian added pm support to the pwm-bcm2835 driver[1]. This made me
check what is the "modern" way to add pm support. This series modernizes
the other pwm drivers with the things I learned.

Best regards
Uwe

[1] https://lore.kernel.org/linux-pwm/20231009204226.3224521-1-florian.fainelli@broadcom.com

Uwe Kleine-König (11):
pwm: atmel-hlcdc: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: atmel-tcb: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: berlin: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: brcmstb: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: dwc: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: imx-tpm: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: samsung: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: stm32-lp: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: stm32: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: tiecap: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
pwm: tiehrpwm: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions

drivers/pwm/pwm-atmel-hlcdc.c | 8 +++-----
drivers/pwm/pwm-atmel-tcb.c | 8 +++-----
drivers/pwm/pwm-berlin.c | 8 +++-----
drivers/pwm/pwm-brcmstb.c | 12 ++++--------
drivers/pwm/pwm-dwc.c | 6 ++----
drivers/pwm/pwm-imx-tpm.c | 10 +++++-----
drivers/pwm/pwm-samsung.c | 6 ++----
drivers/pwm/pwm-stm32-lp.c | 10 +++++-----
drivers/pwm/pwm-stm32.c | 8 ++++----
drivers/pwm/pwm-tiecap.c | 6 ++----
drivers/pwm/pwm-tiehrpwm.c | 8 +++-----
11 files changed, 36 insertions(+), 54 deletions(-)

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
--
2.40.1