commit | 47825a9b1b37b38cca1891e5393da4b13155f165 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Sep 25 15:37:43 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 26 09:32:19 2013 -0700 |
tree | ff0d91eb2e2bca3e5a585ff7b8fe60bee867f054 | |
parent | 716343c43891dcb865bd9f2603e68804d3cc5660 [diff] |
staging: comedi: pcl726: tidy up pcl726_attach() For aesthetics, add some whitespace to the subdevice initialization. Only allocate, and initialize, the digital input and output subdevices if the boardinfo indicates that they exist on the board. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>