diff options
| author | Guru Das Srinagesh <[email protected]> | 2020-06-02 22:31:05 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2020-06-16 09:16:07 +0000 |
| commit | 899c537c25f9547a0f591ed2013be0f9f68f2df3 (patch) | |
| tree | 2732f527c0abf37cb0f7d91245c2b71ac5f11df1 /drivers/hwmon/pwm-fan.c | |
| parent | Linux 5.8-rc1 (diff) | |
| download | kernel-899c537c25f9547a0f591ed2013be0f9f68f2df3.tar.gz kernel-899c537c25f9547a0f591ed2013be0f9f68f2df3.zip | |
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 <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
