summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-09-26 11:12:00 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:51:11 -0700
commite4bc16621d82ee1fd3685dcbf889a7c49891847b (patch)
treeff851444f752264f009ff464160e040be61282b9 /drivers/base
parenta4e8b912541d5372ae049a3b7c1979968e52c40b (diff)
downloadlinux-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')
-rw-r--r--drivers/base/class.c2
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;