]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf22dc3f0e926cfd1e7394c9b168074649b432329
treefd2082faa531066fc05ceeec0e3a8d29cad65ae6
parentcd1eb0dc856816666a2a645c03aea7bfaf49b87d
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