diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-26 11:12:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:51:11 -0700 |
commit | e4bc16621d82ee1fd3685dcbf889a7c49891847b (patch) | |
tree | ff851444f752264f009ff464160e040be61282b9 /drivers/base/class.c | |
parent | a4e8b912541d5372ae049a3b7c1979968e52c40b (diff) | |
download | linux-e4bc16621d82ee1fd3685dcbf889a7c49891847b.tar.bz2 |
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) /* ick, this is ugly, the things we go through to keep from showing up * in sysfs... */ - subsystem_init(&class_obj_subsys); + kset_init(&class_obj_subsys); if (!class_obj_subsys.kobj.parent) class_obj_subsys.kobj.parent = &class_obj_subsys.kobj; return 0; |