Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ed14d364 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Thierry Reding
Browse files

pwm: rcar: Simplify multiplication/shift logic


- 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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent f4866732
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment