diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-13 00:06:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 23:51:01 +0200 |
commit | 1ef4cfac01fb5e98900f5bdb2a722aac1daff11b (patch) | |
tree | fcf3e348f87729cc149224f639f3228b1702c9ae /drivers/base/bus.c | |
parent | Driver core: remove subsys_put() (diff) | |
download | linux-1ef4cfac01fb5e98900f5bdb2a722aac1daff11b.tar.xz linux-1ef4cfac01fb5e98900f5bdb2a722aac1daff11b.zip |
Driver core: remove subsys_get()
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 2f775936544b..bc38085dbb10 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -728,7 +728,7 @@ EXPORT_SYMBOL_GPL(device_reprobe); struct bus_type *get_bus(struct bus_type *bus) { - return bus ? container_of(subsys_get(&bus->subsys), + return bus ? container_of(kset_get(&bus->subsys), struct bus_type, subsys) : NULL; } |