diff options
author | Yue Hu <[email protected]> | 2019-04-19 14:27:58 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2019-04-23 10:58:43 +0200 |
commit | 4db7c34cb41a3d7ed7db7a84413d7c225278c36a (patch) | |
tree | 66506ba7044078b2246d76ade741c63b0041cdb5 /tools/testing/selftests/bpf/prog_tests | |
parent | b23aa311fa1f376640069e5da897b4a6148d104f (diff) |
cpufreq: Move ->get callback check outside of __cpufreq_get()
Currenly, __cpufreq_get() called by show_cpuinfo_cur_freq() will check
->get callback. That is needless since cpuinfo_cur_freq attribute will
not be created if ->get is not set. So let's drop it in __cpufreq_get().
Also keep this check in cpufreq_get().
Signed-off-by: Yue Hu <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions