commit | 6c7bc7dbcc4122745a214134749a0b1ab2658c80 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Apr 01 15:01:34 2021 +0200 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Tue May 11 09:58:12 2021 +0200 |
tree | acddaa1a65ea8b0399471997046b7415f62bd71a | |
parent | a20a40a8bbc2cf4b29d7248ea31e974e9103dd7f [diff] |
clk: renesas: div6: Use clamp() instead of clamp_t() As "div" is already "unsigned int", adding "U" suffixes to the constants "1" and "64" allows us to replace the call to clamp_t() by a call to clamp(). This removes hidden casts, and thus helps the compiler doing a better job at type-checking. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/2670c1e3c82a245666578cbbd1fb20d37932fd8e.1617281699.git.geert+renesas@glider.be