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>
This commit is contained in:
Greg Kroah-Hartman
2007-09-12 15:06:57 -07:00
parent 6e9d930d16
commit 1ef4cfac01
4 changed files with 3 additions and 10 deletions

View File

@ -231,13 +231,6 @@ extern void subsystem_init(struct kset *);
extern int __must_check subsystem_register(struct kset *);
extern void subsystem_unregister(struct kset *);
static inline struct kset *subsys_get(struct kset *s)
{
if (s)
return kset_get(s);
return NULL;
}
struct subsys_attribute {
struct attribute attr;
ssize_t (*show)(struct kset *, char *);