staging: comedi: adl_pci9111: change pci9111_fifo_reset into a function
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 02:03:39 +0000 (19:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:08:01 +0000 (20:08 -0700)
commit6b228d8a23515571cba52f16df7ac2630c45fd83
tree34c201aca5e2380e02b59140c7d8328e7c1c6732
parent20614d96f0b2e0d3acd07212afdf82919ae88a94
staging: comedi: adl_pci9111: change pci9111_fifo_reset into a function

This macro relies on a local variable having a specific name.
It's used multiple places so change it into a function.

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