diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-26 14:12:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:11 -0400 |
commit | e4bc16621d82ee1fd3685dcbf889a7c49891847b (patch) | |
tree | ff851444f752264f009ff464160e040be61282b9 /drivers/base/class.c | |
parent | a4e8b912541d5372ae049a3b7c1979968e52c40b (diff) |
driver core: remove subsystem_init()
There is only one user of it, and it is only a wrapper for kset_init().
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/class.c')
-rw-r--r-- | drivers/base/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index 3e9b04c30fb9..5b9cf06eab8f 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c | |||
@@ -861,7 +861,7 @@ int __init classes_init(void) | |||
861 | 861 | ||
862 | /* ick, this is ugly, the things we go through to keep from showing up | 862 | /* ick, this is ugly, the things we go through to keep from showing up |
863 | * in sysfs... */ | 863 | * in sysfs... */ |
864 | subsystem_init(&class_obj_subsys); | 864 | kset_init(&class_obj_subsys); |
865 | if (!class_obj_subsys.kobj.parent) | 865 | if (!class_obj_subsys.kobj.parent) |
866 | class_obj_subsys.kobj.parent = &class_obj_subsys.kobj; | 866 | class_obj_subsys.kobj.parent = &class_obj_subsys.kobj; |
867 | return 0; | 867 | return 0; |