Commit 51f81370 authored by Shen Lichuan's avatar Shen Lichuan Committed by Uwe Kleine-König
Browse files

pwm: atmel-tcb: Use min() macro



Use the min() macro to simplify the atmel_tcb_pwm_apply() function
and improve its readability.

Signed-off-by: default avatarShen Lichuan <shenlichuan@vivo.com>
Link: https://lore.kernel.org/r/20240827075749.67583-1-shenlichuan@vivo.com


Signed-off-by: default avatarUwe Kleine-König <ukleinek@kernel.org>
parent 517fb4d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment