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)
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>

No differences found