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>
This commit is contained in:
@ -238,11 +238,6 @@ static inline struct kset *subsys_get(struct kset *s)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline void subsys_put(struct kset *s)
|
||||
{
|
||||
kset_put(s);
|
||||
}
|
||||
|
||||
struct subsys_attribute {
|
||||
struct attribute attr;
|
||||
ssize_t (*show)(struct kset *, char *);
|
||||
|
Reference in New Issue
Block a user