diff options
author | Li Zetao <lizetao1@huawei.com> | 2024-08-30 03:23:44 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-10-28 18:33:13 +0100 |
commit | b961b659add795bb3315ef3afda300beab555f3f (patch) | |
tree | da991b005642a647704a052cec8a6afa496af3c6 /drivers/clk/sophgo | |
parent | clk: cdce925: make regmap_cdce925_bus constant (diff) | |
download | linux-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