]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
staging: comedi: serial2002: hookup the (*open) and (*close) last
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 5 Apr 2013 23:11:50 +0000 (16:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 17:27:44 +0000 (10:27 -0700)
commite7ccc452b20a0f6a828b0afcf8cacc2665357131
tree3c3a320db319f9cb81989ad1c1bb23c30473df7a
parent81c01c3fb8cc38525ee747af85a900c2b9cf818a
staging: comedi: serial2002: hookup the (*open) and (*close) last

For aesthetic reasons, hookup the comedi_device (*open) and (*close)
functions after everything else in the attach has succeeded.

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