staging: comedi: serial2002: return 0 after successful attach
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 5 Apr 2013 23:11:13 +0000 (16:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 17:27:44 +0000 (10:27 -0700)
commit81c01c3fb8cc38525ee747af85a900c2b9cf818a
tree8e79a8f4c5817738dc6a87ce7527ed06a566602d
parent8399965210f38913b90df70658f0530655d12ecb
staging: comedi: serial2002: return 0 after successful attach

A return value of >=0 indicates a successful attach to the comedi core.
Return 0 since that is more common in the kernel.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/serial2002.c