summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sophgo
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2024-08-30 03:23:44 +0200
committerStephen Boyd <sboyd@kernel.org>2024-10-28 18:33:13 +0100
commitb961b659add795bb3315ef3afda300beab555f3f (patch)
treeda991b005642a647704a052cec8a6afa496af3c6 /drivers/clk/sophgo
parentclk: cdce925: make regmap_cdce925_bus constant (diff)
downloadlinux-b961b659add795bb3315ef3afda300beab555f3f.tar.xz
linux-b961b659add795bb3315ef3afda300beab555f3f.zip
clk: tegra: use clamp() in tegra_bpmp_clk_determine_rate()
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by: Li Zetao <lizetao1@huawei.com> Link: https://lore.kernel.org/r/20240830012344.603704-1-lizetao1@huawei.com Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/sophgo')
0 files changed, 0 insertions, 0 deletions