Bjorn Helgaas 9d9f749b31 ACPI: make acpi_bus_register_driver() return success/failure, not device count
acpi_bus_register_driver() should not return the number of devices claimed.
We're not asking to find devices, we're making a driver available to devices,
including hot-pluggable devices that may appear in the future.

I audited all callers of acpi_bus_register_driver(), and except asus_acpi.c
and sonypi.c (fixed in previous patches), all either ignore the return value
or test only for failure (<0).

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>
2006-04-01 21:42:57 -05:00
..
2006-01-31 03:25:09 -05:00
2006-01-31 03:25:09 -05:00
2006-01-31 03:25:09 -05:00
2006-01-31 03:25:09 -05:00
2006-01-31 03:25:09 -05:00
2006-01-31 03:25:09 -05:00
2006-01-31 03:25:09 -05:00
2006-01-31 03:25:09 -05:00
2005-12-10 00:20:25 -05:00
2006-03-24 18:23:14 +01:00
2005-12-10 00:20:25 -05:00
2005-12-10 00:20:25 -05:00
2006-03-26 08:56:54 -08:00