aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorGuru Das Srinagesh <[email protected]>2020-06-02 22:31:14 +0000
committerThierry Reding <[email protected]>2020-06-17 18:42:10 +0000
commit134ada17dbad272cdca57f2819a796c87e352274 (patch)
treee6e3c16433147f7060f94e8b5682093b5c146f3b /drivers/pwm/pwm-stm32-lp.c
parentpwm: sun4i: Use nsecs_to_jiffies to avoid a division (diff)
downloadkernel-134ada17dbad272cdca57f2819a796c87e352274.tar.gz
kernel-134ada17dbad272cdca57f2819a796c87e352274.zip
backlight: pwm_bl: Use 64-bit division function
Since the PWM framework is switching struct pwm_state.period's datatype to u64, prepare for this transition by using div_u64 to handle a 64-bit dividend instead of a straight division operation. Signed-off-by: Guru Das Srinagesh <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Acked-by: Lee Jones <[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