diff options
| author | Max Kellermann <[email protected]> | 2022-01-25 12:34:28 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2022-04-22 15:43:48 +0000 |
| commit | ba3e5037ceeb920e98970e2342edd7ab390217c0 (patch) | |
| tree | 74e44007f9c8390177d1dfcdf709581f03c901ac /drivers/pwm/pwm-atmel-tcb.c | |
| parent | pwm-sun4i: Convert "next_period" to local variable (diff) | |
| download | kernel-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
