diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-13 00:06:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 23:51:01 +0200 |
commit | 6e9d930d167f8957a12a80515f3c417a98296378 (patch) | |
tree | 5050bc0b029c8d51d970e76c5ee5f59ed5e756b7 /lib/kobject.c | |
parent | Driver core: remove kset_set_kset_s (diff) | |
download | linux-6e9d930d167f8957a12a80515f3c417a98296378.tar.xz linux-6e9d930d167f8957a12a80515f3c417a98296378.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | lib/kobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index 4b08e0ff95c8..0aa4e906916a 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -681,7 +681,7 @@ int subsys_create_file(struct kset *s, struct subsys_attribute *a) if (subsys_get(s)) { error = sysfs_create_file(&s->kobj, &a->attr); - subsys_put(s); + kset_put(s); } return error; } |