driver core: add way to get to bus kset
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 Nov 2007 02:41:16 +0000 (19:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:33 +0000 (20:40 -0800)
commit0fed80f7a63abd7168907267af69ee31f6bcf301
tree2380e2180aa01d883a5c2a2a0528c40f36d23d91
parentcc972e896b303f453f5893ecf8eca0d0e395ab64
driver core: add way to get to bus kset

This allows an easier way to get to the kset associated with a struct
bus_type (you have three to choose from...)  This will make it easier to
move these fields to be dynamic in a future patch.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c
drivers/pci/hotplug/pci_hotplug_core.c
include/linux/device.h