diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2006-03-28 22:04:00 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-04-02 02:42:57 (GMT) |
commit | 9d9f749b316ac21cb59ad3e595cbce469b409e1a (patch) | |
tree | a7075d54e97fc67f72684a5e280adcb24c4666b8 /drivers/acpi/asus_acpi.c | |
parent | 683aa4012f53b2ada0f430487e05d37b0d94e90a (diff) | |
download | linux-fsl-qoriq-9d9f749b316ac21cb59ad3e595cbce469b409e1a.tar.xz |
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>
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
0 files changed, 0 insertions, 0 deletions