diff options
author | Bjorn Helgaas | 2006-03-27 11:17:08 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-03-27 18:44:53 +0200 |
commit | 982c609448b9d724e1c3a0d5aeee388c064479f0 (patch) | |
tree | 8e402d45943ec27c0b93d2f5aeb376f6aa512215 /sound/isa/ad1816a | |
parent | [PATCH] pnp: cs4232: adjust pnp_register_driver signature (diff) | |
download | kernel-qcow2-linux-982c609448b9d724e1c3a0d5aeee388c064479f0.tar.gz kernel-qcow2-linux-982c609448b9d724e1c3a0d5aeee388c064479f0.tar.xz kernel-qcow2-linux-982c609448b9d724e1c3a0d5aeee388c064479f0.zip |
[PATCH] pnp: PNP: adjust pnp_register_driver signature
Remove the assumption that pnp_register_driver() returns the number of devices
claimed. Returning the count is unreliable because devices may be hot-plugged
in the future.
This changes the convention to "zero for success, or a negative error value,"
which matches pci_register_driver(), acpi_bus_register_driver(), and
platform_driver_register().
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/isa/ad1816a')
0 files changed, 0 insertions, 0 deletions