Commit 908981d
cpufreq: Move the check of cpufreq_driver->get into cpufreq_verify_current_freq()
Move the check of cpufreq_driver->get into cpufreq_verify_current_freq() in
case of calling it without check.
Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://patch.msgid.link/20250709104145.2348017-4-zhenglifeng1@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent d1378d1 commit 908981d
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
1803 | 1806 | | |
1804 | 1807 | | |
1805 | 1808 | | |
| |||
1922 | 1925 | | |
1923 | 1926 | | |
1924 | 1927 | | |
1925 | | - | |
1926 | | - | |
1927 | | - | |
1928 | | - | |
| 1928 | + | |
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
| |||
2479 | 2479 | | |
2480 | 2480 | | |
2481 | 2481 | | |
2482 | | - | |
2483 | | - | |
| 2482 | + | |
2484 | 2483 | | |
2485 | 2484 | | |
2486 | 2485 | | |
| |||
0 commit comments