Skip to content
Commit 5bd0b901 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by Thierry Reding
Browse files

pwm: clps711x: 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.

Cc: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent f3e4b141
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment