mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04: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 <[email protected]>
This commit is contained in:
parent
27f20e5e4e
commit
6e9d930d16
4 changed files with 3 additions and 8 deletions
|
|
@ -734,7 +734,7 @@ struct bus_type *get_bus(struct bus_type *bus)
|
|||
|
||||
void put_bus(struct bus_type * bus)
|
||||
{
|
||||
subsys_put(&bus->subsys);
|
||||
kset_put(&bus->subsys);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ static struct class *class_get(struct class *cls)
|
|||
static void class_put(struct class * cls)
|
||||
{
|
||||
if (cls)
|
||||
subsys_put(&cls->subsys);
|
||||
kset_put(&cls->subsys);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue