summaryrefslogtreecommitdiffstats
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-09-13 00:06:57 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 23:51:01 +0200
commit6e9d930d167f8957a12a80515f3c417a98296378 (patch)
tree5050bc0b029c8d51d970e76c5ee5f59ed5e756b7 /drivers/base/bus.c
parentDriver core: remove kset_set_kset_s (diff)
downloadlinux-6e9d930d167f8957a12a80515f3c417a98296378.tar.xz
linux-6e9d930d167f8957a12a80515f3c417a98296378.zip
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>
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r--drivers/base/bus.c2
1 files changed, 1 insertions, 1 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)
void put_bus(struct bus_type * bus)
{
- subsys_put(&bus->subsys);
+ kset_put(&bus->subsys);
}