staging: comedi: comedi_bond: change return value of bonding_attach()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 23 Aug 2013 13:45:01 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 13:41:56 +0000 (06:41 -0700)
commit8fe73691f905a172fa6aa6800a9c08016c460b06
tree475c7c92fcc8a2c4f46db69980df30a7abd92184
parentfcf26cff891930e62bc4cd208a6b679fb1a1f144
staging: comedi: comedi_bond: change return value of bonding_attach()

`bonding_attach()` is the comedi "attach" handler for the driver.  Any
non-negative return value is treated as successful, but 0 is the
preferred return value on success.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_bond.c