diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-12 15:06:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:51:01 -0700 |
commit | 1ef4cfac01fb5e98900f5bdb2a722aac1daff11b (patch) | |
tree | fcf3e348f87729cc149224f639f3228b1702c9ae /drivers/base/class.c | |
parent | 6e9d930d167f8957a12a80515f3c417a98296378 (diff) | |
download | op-kernel-dev-1ef4cfac01fb5e98900f5bdb2a722aac1daff11b.zip op-kernel-dev-1ef4cfac01fb5e98900f5bdb2a722aac1daff11b.tar.gz |
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/class.c')
-rw-r--r-- | drivers/base/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index 50e3413..3e9b04c 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c @@ -93,7 +93,7 @@ void class_remove_file(struct class * cls, const struct class_attribute * attr) static struct class *class_get(struct class *cls) { if (cls) - return container_of(subsys_get(&cls->subsys), struct class, subsys); + return container_of(kset_get(&cls->subsys), struct class, subsys); return NULL; } |