From: Greg Kroah-Hartman Date: Thu, 1 Nov 2007 20:31:26 +0000 (-0700) Subject: driver core: remove owner field from struct bus_type X-Git-Tag: v2.6.25-rc1~1243^2~59 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc972e896b303f453f5893ecf8eca0d0e395ab64;p=linux-2.6 driver core: remove owner field from struct bus_type 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/device.h b/include/linux/device.h index a3b3ff15fc..313e0b32bc 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -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;