pwm: pxa: Remove clk enable/disable from pxa_pwm_config
authorDoug Brown <doug@schmorgal.com>
Fri, 2 Dec 2022 18:35:22 +0000 (19:35 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 6 Dec 2022 11:46:14 +0000 (12:46 +0100)
commit939d002b7501128640aaeffe175d6331dcce2ca6
tree85402cc5137f6c58b125ad757b0b89cbf9fa26bf
parent152f2d1def5e4b974947877126ff292a68a8c521
pwm: pxa: Remove clk enable/disable from pxa_pwm_config

Now that pxa_pwm_apply always enables the clock first, there is no need
for pxa_pwm_config to do any clock enabling/disabling.

Signed-off-by: Doug Brown <doug@schmorgal.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221113233639.24244-4-doug@schmorgal.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-pxa.c