commit | 8477c5d4ba0d7ff04d346c5cb104d06a62adddae | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Jul 24 10:14:51 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 27 11:16:48 2014 -0700 |
tree | 4f8b653b0e3195056520d555c5560fde2a2025eb | |
parent | 9ff506ec11eae62bd0290e903a431552a05e5ac8 [diff] |
staging: comedi: ni_tio: tidy up ni_gpct_device_{construct,destroy)() For aesthetics, move these exported functions to the end of the file. Tidy up the functions a bit and remove the BUG_ON when (num_counters == 0). 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>