]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: Correct the data types of the variables in clk_calc_new_rates
authorChuan Liu <chuan.liu@amlogic.com>
Fri, 7 Feb 2025 09:36:10 +0000 (17:36 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 4 Mar 2025 20:59:06 +0000 (12:59 -0800)
commita1123951b24759188010a6aa3d9d0be7b996bd39
treec64183a0ba40244259f2fa9bc0f87c741f48d180
parente995f4d516a0e28e667c7e3e3550665d8c0d8134
clk: Correct the data types of the variables in clk_calc_new_rates

In clk_calc_new_rates, the "ret" is only used to store the return value
of clk_core_determine_round_nolock, and the data type of the return
value of clk_core_determine_round_nolock is int.

Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
Link: https://lore.kernel.org/r/20250207-correct_data_types-v1-1-f22bc7ea220d@amlogic.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c