Driver core: remove subsys_put()
[linux-2.6.git] / lib / kobject.c
index 4b08e0f..0aa4e90 100644 (file)
@@ -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;
 }