staging: comedi: pcl730: tidy up pcl730_di_insn()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 6 Jun 2013 00:49:00 +0000 (17:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:09:16 +0000 (12:09 -0700)
commit74f14a58b95cbc561a527ab14953504d0d9dc61d
treea31bf269577d3282232fa971a244b4f6e77c3785
parentd015d96103afd9e2e7617e92a49a635dd8ee2a37
staging: comedi: pcl730: tidy up pcl730_di_insn()

For aesthetic reasons, rename the function.

Use a local variable for the 'reg' offset that is stored in the
comedi_subdevice 'private' pointer to minimize the number of casts.

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