]> Git Repo - linux.git/blobdiff - drivers/pwm/pwm-imx-tpm.c
drm/nouveau/kms: Don't change EDID when it hasn't actually changed
[linux.git] / drivers / pwm / pwm-imx-tpm.c
index 5f3d7f7e6aef0aa4a738a4bd28ff84e8814a6cf7..fcdf6befb83898de984402bd4c957217ccbad80d 100644 (file)
@@ -124,7 +124,7 @@ static int pwm_imx_tpm_round_state(struct pwm_chip *chip,
                real_state->duty_cycle = state->duty_cycle;
 
        tmp = (u64)p->mod * real_state->duty_cycle;
-       p->val = DIV_ROUND_CLOSEST_ULL(tmp, real_state->period);
+       p->val = DIV64_U64_ROUND_CLOSEST(tmp, real_state->period);
 
        real_state->polarity = state->polarity;
        real_state->enabled = state->enabled;
This page took 0.026221 seconds and 4 git commands to generate.