]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PM / devfreq: tegra30: use min to simplify actmon_cpu_to_emc_rate
authorThorsten Blum <thorsten.blum@linux.dev>
Wed, 12 Nov 2025 17:21:21 +0000 (18:21 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 23 Nov 2025 15:02:07 +0000 (00:02 +0900)
commitdc30fe7a0a850a88b930581d837e9a668dbcb206
tree4df19d861448d3c62497d6198e87c63a62a7d90e
parent26dd44a40096468396b6438985d8e44e0743f64c
PM / devfreq: tegra30: use min to simplify actmon_cpu_to_emc_rate

Use min() to improve the readability of actmon_cpu_to_emc_rate() and
remove any unnecessary curly braces.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://patchwork.kernel.org/project/linux-pm/patch/20251112172121.3741-2-thorsten.blum@linux.dev/
drivers/devfreq/tegra30-devfreq.c