staging: comedi: ni_660x: use a local var for the 'chip_index'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 19 Dec 2013 23:32:06 +0000 (16:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 19:49:34 +0000 (11:49 -0800)
commit0c26c7ed7621b103419f1f23b52ff78af5ca44a3
treeab9d60ea5091c8cc11e1c306e1a3d87518f7bc41
parent1246f05baa1d0c573802b79092666c38c3671fbd
staging: comedi: ni_660x: use a local var for the 'chip_index'

Use a local variable for the 'counter->chip_index' to help shorten the
long lines and clarify the code.

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>
drivers/staging/comedi/drivers/ni_660x.c