summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities/utmath.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2006-03-28 17:04:00 -0500
committerLen Brown <len.brown@intel.com>2006-04-01 21:42:57 -0500
commit9d9f749b316ac21cb59ad3e595cbce469b409e1a (patch)
treea7075d54e97fc67f72684a5e280adcb24c4666b8 /drivers/acpi/utilities/utmath.c
parent683aa4012f53b2ada0f430487e05d37b0d94e90a (diff)
downloadtalos-obmc-linux-9d9f749b316ac21cb59ad3e595cbce469b409e1a.tar.gz
talos-obmc-linux-9d9f749b316ac21cb59ad3e595cbce469b409e1a.zip
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/utilities/utmath.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud