staging: comedi: ni_670x: cleanup ni_670x_dio_insn_bits()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 30 Jun 2012 00:41:10 +0000 (17:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:46:06 +0000 (15:46 -0700)
commitebbc09797ee5caf3e3bb5419a4ed930d2781e23b
tree5b3ea5223d66a8199771350674ade86bd88afa55
parent04b136b68d3c46480d0297efae56d736cd4ac379
staging: comedi: ni_670x: cleanup ni_670x_dio_insn_bits()

Add local variable for the io_addr, mask. and bits used in this
function so that the comments are not needed and the writel/readl
calls are a bit cleaner.

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