aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorGuru Das Srinagesh <[email protected]>2020-06-02 22:31:12 +0000
committerThierry Reding <[email protected]>2020-06-17 18:42:09 +0000
commit4cc23430a5361f29999545de34fc05fa7d8e513b (patch)
tree2c5f37da14c865ae7535f7f7c33c1676770aac12 /drivers/pwm/pwm-stm32-lp.c
parentpwm: iqs620a: Use 64-bit division (diff)
downloadkernel-4cc23430a5361f29999545de34fc05fa7d8e513b.tar.gz
kernel-4cc23430a5361f29999545de34fc05fa7d8e513b.zip
pwm: sifive: Use 64-bit division macro
Since the PWM framework is switching struct pwm_args.period's datatype to u64, prepare for this transition by using DIV64_U64_ROUND_CLOSEST to handle a 64-bit divisor. Signed-off-by: Guru Das Srinagesh <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions