]> err.no Git - linux-2.6/commit
ACPI: acpi_bus_unregister_driver() returns void
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Thu, 27 Apr 2006 09:25:00 +0000 (05:25 -0400)
committerLen Brown <len.brown@intel.com>
Sun, 14 May 2006 03:23:57 +0000 (23:23 -0400)
commit06ea8e08ae7e7e450b6a78e7ce5e10b3c5f954ea
tree23497be5428324a3d9e8cdd504e1f37f9213c8bd
parente4513a57ef719d3d6d1cee0ca4d9f4016aa452bb
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>
drivers/acpi/scan.c
include/acpi/acpi_bus.h