staging: comedi: c6xdigio: factor out status check busywait
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 10 Mar 2014 21:07:25 +0000 (14:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:03:58 +0000 (14:03 -0700)
commit8a0b00771c1df39215969db408dcfa61f704940b
tree6bbe14c0d5067fb275a209e6f7e8a03695db2702
parent2ec577ce84eea48b8c72f65b09419d9b98a85ecf
staging: comedi: c6xdigio: factor out status check busywait

Factor out the common code that busywaits for the status to change.

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