PM / devfreq: Remove redundant devfreq_get_freq_range() calling in devfreq_add_device()
authorLifeng Zheng <zhenglifeng1@huawei.com>
Mon, 21 Apr 2025 03:00:19 +0000 (11:00 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 14 Jul 2025 11:04:16 +0000 (20:04 +0900)
commita98d36802f677d90333cc431e23f13cd53608a96
tree322c0a6adbfb9750c4af3bcebb9509f50d5e19ea
parent5487f2595bc821348848b0708f42df825d856f9e
PM / devfreq: Remove redundant devfreq_get_freq_range() calling in devfreq_add_device()

The calling of devfreq_get_freq_range() in devfreq_add_device() is
redundant because min_freq and max_freq are never used. Remove it.

Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://lore.kernel.org/lkml/20250421030020.3108405-4-zhenglifeng1@huawei.com/
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq.c