mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
remove "struct subsystem" as it is no longer needed
We need to work on cleaning up the relationship between kobjects, ksets and ktypes. The removal of 'struct subsystem' is the first step of this, especially as it is not really needed at all. Thanks to Kay for fixing the bugs in this patch. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2609e7b9be
commit
823bccfc40
46 changed files with 231 additions and 292 deletions
|
@ -17,13 +17,13 @@
|
|||
|
||||
static decl_subsys(firmware, NULL, NULL);
|
||||
|
||||
int firmware_register(struct subsystem * s)
|
||||
int firmware_register(struct kset *s)
|
||||
{
|
||||
kset_set_kset_s(s, firmware_subsys);
|
||||
kobj_set_kset_s(s, firmware_subsys);
|
||||
return subsystem_register(s);
|
||||
}
|
||||
|
||||
void firmware_unregister(struct subsystem * s)
|
||||
void firmware_unregister(struct kset *s)
|
||||
{
|
||||
subsystem_unregister(s);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue