]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a7eec0620afac20c7770ccfee9a7319de77d2a1
treea31bf269577d3282232fa971a244b4f6e77c3785
parent5f0b938a707184b1f0090ce9739b3baade266307
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