pwm: atmel-tcb: Unroll atmel_tcb_pwm_set_polarity() into only caller
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 19 Jul 2023 19:20:12 +0000 (21:20 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 28 Jul 2023 07:34:44 +0000 (09:34 +0200)
commit9a6ac822a2153d583b0da95b8693e954b5f4203a
tree59fc08b9daf863787ec18681572c2b6e7bd5c034
parent78dca23bd6706dd6a3cdb5c0052f48794b4d2bed
pwm: atmel-tcb: Unroll atmel_tcb_pwm_set_polarity() into only caller

atmel_tcb_pwm_set_polarity() is only called once and effectively wraps
an assignment only. Replace the function call by the respective
assignment.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel-tcb.c