staging: comedi: cleanup sysfs functions
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 5 Jun 2012 17:18:02 +0000 (10:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2012 23:54:28 +0000 (16:54 -0700)
commit72fd9facfb697d5f7b61958bb10efaabbd8461eb
treefd2082faa531066fc05ceeec0e3a8d29cad65ae6
parent4e2f002f7a9b316640eb06ef6df767f017e3e7b1
staging: comedi: cleanup sysfs functions

Make the comedi sysfs functions a bit more concise by shortening
some of the verbose variable names and reusing some of the
variables that were used for intermediate calculations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c