diff options
author | Guru Das Srinagesh <gurus@codeaurora.org> | 2020-06-02 15:31:05 -0700 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-06-16 11:16:07 +0200 |
commit | 899c537c25f9547a0f591ed2013be0f9f68f2df3 (patch) | |
tree | 2732f527c0abf37cb0f7d91245c2b71ac5f11df1 /drivers/hwmon | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
drm/i915: Use 64-bit division macro
Since the PWM framework is switching struct pwm_state.duty_cycle's
datatype to u64, prepare for this transition by using DIV_ROUND_UP_ULL
to handle a 64-bit dividend.
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions