diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/bus.c | 2 | ||||
-rw-r--r-- | drivers/base/class.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 625f7e694521..2f775936544b 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c | |||
@@ -734,7 +734,7 @@ struct bus_type *get_bus(struct bus_type *bus) | |||
734 | 734 | ||
735 | void put_bus(struct bus_type * bus) | 735 | void put_bus(struct bus_type * bus) |
736 | { | 736 | { |
737 | subsys_put(&bus->subsys); | 737 | kset_put(&bus->subsys); |
738 | } | 738 | } |
739 | 739 | ||
740 | 740 | ||
diff --git a/drivers/base/class.c b/drivers/base/class.c index cf9cf666f472..50e34132576c 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c | |||
@@ -100,7 +100,7 @@ static struct class *class_get(struct class *cls) | |||
100 | static void class_put(struct class * cls) | 100 | static void class_put(struct class * cls) |
101 | { | 101 | { |
102 | if (cls) | 102 | if (cls) |
103 | subsys_put(&cls->subsys); | 103 | kset_put(&cls->subsys); |
104 | } | 104 | } |
105 | 105 | ||
106 | 106 | ||