summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-09-26 20:12:00 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 23:51:11 +0200
commite4bc16621d82ee1fd3685dcbf889a7c49891847b (patch)
treeff851444f752264f009ff464160e040be61282b9 /drivers
parentsysfs: move sysfs file poll implementation to sysfs_open_dirent (diff)
downloadlinux-e4bc16621d82ee1fd3685dcbf889a7c49891847b.tar.xz
linux-e4bc16621d82ee1fd3685dcbf889a7c49891847b.zip
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')
-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;