]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: cb_pcidas: cleanup cb_pcidas_ai_rinsn()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 01:11:38 +0000 (18:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:23:56 +0000 (15:23 -0700)
commitc618c1ac59d2e38e758ca46fafceb7e4da2a452c
treeb843c62e063d00de9e79adcba106e6111a7987e4
parent358ff245ba50f726ae308bbca17023d8d798ecb0
staging: comedi: cb_pcidas: cleanup cb_pcidas_ai_rinsn()

Create local variables for the channel, range, and aref in order
to make the remaining code a bit cleaner.

Remove the extra space in all the comments.

Remove the 'static const int timeout' and just use the open
coded value in the loop.

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/cb_pcidas.c