pwm: rcar: Simplify multiplication/shift logic
[ Upstream commit ed14d364 ] - Remove the superfluous cast; the multiplication will yield a 64-bit result due to the "100ULL" anyway, - "a * (1 << b)" == "a << b". Signed-off-by:Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Thierry Reding <thierry.reding@gmail.com> Stable-dep-of: e7327c19 ("pwm: rcar: Improve register calculation") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading