commit | 01d03a93f277d741ecfb744531215cd12fadf591 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Mon Mar 18 17:19:03 2013 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 11:30:05 2013 -0700 |
tree | ec07f2181a98a1f305c35ac6e8bf8c424ae3a250 | |
parent | add873f29c6ed2c797208b861a99d992172b9495 [diff] |
staging: comedi: amplc_dio200: dio200_common_attach() return 0 Change the successful return value of `dio200_common_attach()` from 1 to 0. This is propagated as the return value from the driver's "attach" (`dio200_attach()`) or "auto_attach" (`dio200_auto_attach()`) handler. Any non-negative value will do, but 0 is more conventional than 1. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>