diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-12 18:06:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:01 -0400 |
commit | 1ef4cfac01fb5e98900f5bdb2a722aac1daff11b (patch) | |
tree | fcf3e348f87729cc149224f639f3228b1702c9ae /include/linux/kobject.h | |
parent | 6e9d930d167f8957a12a80515f3c417a98296378 (diff) |
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 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 45effedff315..c0fb535d7acd 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -231,13 +231,6 @@ extern void subsystem_init(struct kset *); | |||
231 | extern int __must_check subsystem_register(struct kset *); | 231 | extern int __must_check subsystem_register(struct kset *); |
232 | extern void subsystem_unregister(struct kset *); | 232 | extern void subsystem_unregister(struct kset *); |
233 | 233 | ||
234 | static inline struct kset *subsys_get(struct kset *s) | ||
235 | { | ||
236 | if (s) | ||
237 | return kset_get(s); | ||
238 | return NULL; | ||
239 | } | ||
240 | |||
241 | struct subsys_attribute { | 234 | struct subsys_attribute { |
242 | struct attribute attr; | 235 | struct attribute attr; |
243 | ssize_t (*show)(struct kset *, char *); | 236 | ssize_t (*show)(struct kset *, char *); |