]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pci230: use comedi_cmd pointer
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 27 May 2014 17:30:49 +0000 (10:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:28:53 +0000 (14:28 -0700)
commitd71455ecf5a4a3cb92f973c2997a75d55d9a8aa4
tree060b899039d30e206d0581cf51c5878f48bf89df
parent6bacf8e9965fd9443ca9d928afd8650a63bf01bf
staging: comedi: amplc_pci230: use comedi_cmd pointer

Use the local variable to access the comedi_cmd as a pointer in
pci230_handle_ai() instead of getting to it from the comedi_async
pointer.

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