[PATCH] EISA: tidy-up driver_register() return value
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Sat, 25 Mar 2006 11:07:19 +0000 (03:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:53 +0000 (08:22 -0800)
commitc2f6fabb2ed3b869bc254c6cdc73d6beaaaf700f
tree8744d970a801a64ac3cb64f47e735dc3d33c44b9
parente51c01b08474ea454a965a937fff0407ab6714c7
[PATCH] EISA: tidy-up driver_register() return value

Remove the assumption that driver_register() returns the number of devices
bound to the driver.  In fact, it returns zero for success or a negative
error value.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Acked-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/eisa/eisa-bus.c
drivers/net/3c59x.c
drivers/net/dgrs.c