commit | cc31b1be67bf4b878157e276056b6dbce76fdb45 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Jun 13 15:42:12 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 13 17:19:15 2012 -0700 |
tree | 6b23e5c3cf54bf217598fa6470867f654663b326 | |
parent | d29a18dcdbfbe250265abdf9c94d60df86f90316 [diff] |
staging: comedi: 8255: refactor subdev_8255_init Refactor the initialization of the 8255 so that the private data allocation is done before the subdevice is setup. This makes sure that the setup is complete. Also, add a bit of whitespace to improve the readability. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>