commit | 134ada17dbad272cdca57f2819a796c87e352274 | [log] [tgz] |
---|---|---|
author | Guru Das Srinagesh <gurus@codeaurora.org> | Tue Jun 02 15:31:14 2020 -0700 |
committer | Thierry Reding <thierry.reding@gmail.com> | Wed Jun 17 20:42:10 2020 +0200 |
tree | e6e3c16433147f7060f94e8b5682093b5c146f3b | |
parent | c7dcccaec2f7e99f95ad4b7c20f4f9086c6982be [diff] |
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 <gurus@codeaurora.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>