commit | 6e9d930d167f8957a12a80515f3c417a98296378 | [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 | 5050bc0b029c8d51d970e76c5ee5f59ed5e756b7 | |
parent | 27f20e5e4e60a7f28010eeb34399fe0cc9a1a235 [diff] [blame] |
Driver core: remove subsys_put() 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 4b08e0f..0aa4e90 100644 --- a/lib/kobject.c +++ b/lib/kobject.c
@@ -681,7 +681,7 @@ if (subsys_get(s)) { error = sysfs_create_file(&s->kobj, &a->attr); - subsys_put(s); + kset_put(s); } return error; }