cpufreq: Contain scaling_cur_freq.attr in cpufreq_attrs
authorLifeng Zheng <zhenglifeng1@huawei.com>
Mon, 23 Jun 2025 13:33:58 +0000 (21:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Jul 2025 17:38:10 +0000 (19:38 +0200)
commit2e554cfa259fe07085a4fcff7d2ec4b7041bbd9c
tree0675cfcadf7245e7a83a0a53d3098e84dccf3e1f
parentfc64e0421598aaa87d61184f6777b52614a095be
cpufreq: Contain scaling_cur_freq.attr in cpufreq_attrs

After commit c034b02e213d ("cpufreq: expose scaling_cur_freq sysfs file
for set_policy() drivers"), the file scaling_cur_freq is exposed to all
drivers.

No need to create this file separately. It's better to be contained in
cpufreq_attrs.

Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://patch.msgid.link/20250623133402.3120230-4-zhenglifeng1@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c