kset: remove decl_subsys_name
The last user of this macro (pci hotplug core) is now switched over to using a dynamic kset, so this macro is no longer needed at all. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -193,11 +193,6 @@ struct kset _name##_subsys = { \
|
|||||||
.kobj = { .k_name = __stringify(_name) }, \
|
.kobj = { .k_name = __stringify(_name) }, \
|
||||||
.uevent_ops =_uevent_ops, \
|
.uevent_ops =_uevent_ops, \
|
||||||
}
|
}
|
||||||
#define decl_subsys_name(_varname,_name,_uevent_ops) \
|
|
||||||
struct kset _varname##_subsys = { \
|
|
||||||
.kobj = { .k_name = __stringify(_name) }, \
|
|
||||||
.uevent_ops =_uevent_ops, \
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The global /sys/kernel/ subsystem for people to chain off of */
|
/* The global /sys/kernel/ subsystem for people to chain off of */
|
||||||
extern struct kset kernel_subsys;
|
extern struct kset kernel_subsys;
|
||||||
|
Reference in New Issue
Block a user