mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
27f20e5e4e
commit
6e9d930d16
4 changed files with 3 additions and 8 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue