diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2006-04-27 05:25:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-05-13 23:23:57 -0400 |
commit | 06ea8e08ae7e7e450b6a78e7ce5e10b3c5f954ea (patch) | |
tree | 23497be5428324a3d9e8cdd504e1f37f9213c8bd /arch | |
parent | e4513a57ef719d3d6d1cee0ca4d9f4016aa452bb (diff) |
ACPI: acpi_bus_unregister_driver() returns void
Nobody looks at the return value, and this brings it into line with
pci_unregister_driver(), etc. Also removed validation of the driver
pointer passed in to register and unregister. More consistent, and we'll
find bugs faster if we fault rather than returning an error that's ignored.
Also makes internal functions acpi_device_unregister() and
acpi_driver_detach() void, since nobody uses their returns either.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions