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>
Этот коммит содержится в:
Greg Kroah-Hartman
2007-09-12 15:06:57 -07:00
родитель 27f20e5e4e
Коммит 6e9d930d16
4 изменённых файлов: 3 добавлений и 8 удалений

Просмотреть файл

@@ -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;
}