diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-11-08 22:46:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 17:52:01 -0500 |
commit | 289535334646796fe41f199718e4a731f7411a92 (patch) | |
tree | 7536d19daaf603df4d672ab52ea8ad8dd7f29d63 /drivers/base/topology.c | |
parent | 465ae641e4a3e5028aa9c85d3843259aa28a22ce (diff) |
Driver core: Call platform_notify_remove later
Move the call to platform_notify_remove() to after the call to
bus_remove_device(), where it belongs. It's bogus to notify the platform
of removal while drivers are still attached to the device and possibly
still operating since the platform might use this callback to tear down
some resources used by the driver (ACPI bits, iommu table, ...)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/topology.c')
0 files changed, 0 insertions, 0 deletions