summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx27.c
diff options
context:
space:
mode:
authorGuru Das Srinagesh <gurus@codeaurora.org>2020-06-03 00:31:09 +0200
committerThierry Reding <thierry.reding@gmail.com>2020-06-16 11:16:08 +0200
commitfcdea6b2a3f6508618e39e061073a18c55993a1b (patch)
treef8f4be178ecfcdfe96814b5a711e6b56844ecb60 /drivers/pwm/pwm-imx27.c
parentpwm: clps711x: Use 64-bit division macro (diff)
downloadlinux-fcdea6b2a3f6508618e39e061073a18c55993a1b.tar.xz
linux-fcdea6b2a3f6508618e39e061073a18c55993a1b.zip
pwm: imx-tpm: Use 64-bit division macro
Since the PWM framework is switching struct pwm_state.period's datatype to u64, prepare for this transition by using DIV64_U64_ROUND_CLOSEST to handle a 64-bit divisor. Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: NXP Linux Team <linux-imx@nxp.com> Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions