aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-atmel-tcb.c
diff options
context:
space:
mode:
authorMax Kellermann <[email protected]>2022-01-25 12:34:28 +0000
committerThierry Reding <[email protected]>2022-04-22 15:43:48 +0000
commitba3e5037ceeb920e98970e2342edd7ab390217c0 (patch)
tree74e44007f9c8390177d1dfcdf709581f03c901ac /drivers/pwm/pwm-atmel-tcb.c
parentpwm-sun4i: Convert "next_period" to local variable (diff)
downloadkernel-ba3e5037ceeb920e98970e2342edd7ab390217c0.tar.gz
kernel-ba3e5037ceeb920e98970e2342edd7ab390217c0.zip
pwm-sun4i: Calculate "delay_jiffies" directly, eliminate absolute time
Basically this code did "jiffies + period - jiffies", and we can simply eliminate the "jiffies" time stamp here. Signed-off-by: Max Kellermann <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel-tcb.c')
0 files changed, 0 insertions, 0 deletions