]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: adl_pci9111: tidy up (*do_cmdtest) Step 4
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 29 Apr 2014 19:59:35 +0000 (12:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:06:32 +0000 (20:06 -0400)
commitf1c51faabc4d974cd118603e237aa5381437e634
tree32d8cb84bf8b912ab59dd5a5630e7119f802ff5c
parent8412a96127d2866a78dc8d73eeaedac688977f4f
staging: comedi: adl_pci9111: tidy up (*do_cmdtest) Step 4

This step in the (*do_cmdtest) fixes the comedi_cmd arguments, usually
for TRIG_TIMER sources.

Tidy up this step to clarify the code and remove the extra local
variables. All the arguments are unsigned long so change the 'tmp'
local variable type and rename it for aesthetics.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9111.c