commit | 1ef4cfac01fb5e98900f5bdb2a722aac1daff11b | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Wed Sep 12 15:06:57 2007 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 12 14:51:01 2007 -0700 |
tree | fcf3e348f87729cc149224f639f3228b1702c9ae | |
parent | 6e9d930d167f8957a12a80515f3c417a98296378 [diff] [blame] |
Driver core: remove subsys_get() There are no more subsystems, it's a kset now so remove the function and the only two users, which are in the driver core. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/lib/kobject.c b/lib/kobject.c index 0aa4e90..1326041 100644 --- a/lib/kobject.c +++ b/lib/kobject.c
@@ -679,7 +679,7 @@ if (!s || !a) return -EINVAL; - if (subsys_get(s)) { + if (kset_get(s)) { error = sysfs_create_file(&s->kobj, &a->attr); kset_put(s); }