]> err.no Git - linux-2.6/commit
[PATCH] Add bus_type probe, remove, shutdown methods.
authorRussell King <rmk@arm.linux.org.uk>
Thu, 5 Jan 2006 14:29:51 +0000 (14:29 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Jan 2006 19:26:04 +0000 (11:26 -0800)
commit594c8281f90560faf9632d91bb9d402cbe560e63
treeabeb32df086cfd204accad33b11040381c31689d
parentbd37e5a951ad2123d3f51f59c407b5242946b6ba
[PATCH] Add bus_type probe, remove, shutdown methods.

Add bus_type probe, remove and shutdown methods to replace the
corresponding methods in struct device_driver.  This matches
the way we handle the suspend/resume methods.

Since the bus methods override the device_driver methods, warn
if a device driver is registered whose methods will not be
called.

The long-term idea is to remove the device_driver methods entirely.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c
drivers/base/driver.c
drivers/base/power/shutdown.c
include/linux/device.h