driver core: add BUS_NOTIFY_UNBOUND_DRIVER event
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 24 Apr 2009 12:57:00 +0000 (14:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:30:24 +0000 (21:30 -0700)
commit309b7d60a345f402bec3cf9caadb53de4028e2aa
tree1e3a493c6c042155af67e062ac3f722b2cc4c6bd
parent6acf70f078ca42a63397b8b84bf6383b01303009
driver core: add BUS_NOTIFY_UNBOUND_DRIVER event

This patch adds a new bus notifier event which is emitted _after_ a
device is removed from its driver. This event will be used by the
dma-api debug code to check if a driver has released all dma allocations
for that device.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c
include/linux/device.h