driver core: remove owner field from struct bus_type
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Nov 2007 20:31:26 +0000 (13:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:31 +0000 (20:40 -0800)
This isn't used by anything in the driver core, and by no one in the 204
different usages of it in the kernel tree.  Remove this field so no one
gets any idea that it is needed to be used.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/device.h

index a3b3ff1..313e0b3 100644 (file)
@@ -51,7 +51,6 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
 
 struct bus_type {
        const char              * name;
-       struct module           * owner;
 
        struct kset             subsys;
        struct kset             *drivers_kset;