mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
de7aeb5ddd
The local u64 variable refdiv_val has the same value as the local u32 variable val and can be removed. Remove it and use val directly as the divisor to also remove the following Coccinelle/coccicheck warning reported by do_div.cocci: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead Use the preferred div_u64() function instead of the do_div() macro. Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Link: https://lore.kernel.org/r/20240801103616.20430-1-thorsten.blum@toblux.com Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> |
||
---|---|---|
.. | ||
clk-hi3519.c | ||
clk-hi3559a.c | ||
clk-hi3620.c | ||
clk-hi3660-stub.c | ||
clk-hi3660.c | ||
clk-hi3670.c | ||
clk-hi6220-stub.c | ||
clk-hi6220.c | ||
clk-hip04.c | ||
clk-hisi-phase.c | ||
clk-hix5hd2.c | ||
clk.c | ||
clk.h | ||
clkdivider-hi6220.c | ||
clkgate-separated.c | ||
crg-hi3516cv300.c | ||
crg-hi3798cv200.c | ||
crg.h | ||
Kconfig | ||
Makefile | ||
reset.c | ||
reset.h |