Commit cd2c4aca authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Greg Kroah-Hartman
Browse files

pwm: atmel-tcb: Unroll atmel_tcb_pwm_set_polarity() into only caller



[ Upstream commit 9a6ac822 ]

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
Stable-dep-of: 37f77070 ("pwm: atmel-tcb: Fix race condition and convert to guards")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 49ed37d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment