Driver core: remove kset_set_kset_s
This macro is only used by the driver core and is held over from when we had subsystems. It is not needed anymore. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -139,7 +139,7 @@ int sysdev_class_register(struct sysdev_class * cls)
|
||||
kobject_name(&cls->kset.kobj));
|
||||
INIT_LIST_HEAD(&cls->drivers);
|
||||
cls->kset.kobj.parent = &system_subsys.kobj;
|
||||
kset_set_kset_s(cls, system_subsys);
|
||||
cls->kset.kobj.kset = &system_subsys;
|
||||
return kset_register(&cls->kset);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user