Commit 39aac648 authored by Li Zefan's avatar Li Zefan Committed by Ingo Molnar
Browse files

sched: mark sched_create_sysfs_power_savings_entries() as __init



Impact: cleanup

The only caller is cpu_dev_init() which is marked as __init.

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5359c32e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8060,7 +8060,7 @@ static SYSDEV_CLASS_ATTR(sched_smt_power_savings, 0644,
		   sched_smt_power_savings_store);
#endif

int sched_create_sysfs_power_savings_entries(struct sysdev_class *cls)
int __init sched_create_sysfs_power_savings_entries(struct sysdev_class *cls)
{
	int err = 0;