]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: rtd520: remove RtdInterruptStatus macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 10 Jul 2012 23:52:45 +0000 (16:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2012 15:12:26 +0000 (08:12 -0700)
commitdd728323ff5241a45999d2efdfb0e70c43bd795e
tree5b5e05a3ef91587cbcd277c5cc207c8773261e49
parente193e43fb5c69986c3a4f9865d1f8ab248754718
staging: comedi: rtd520: remove RtdInterruptStatus macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'readw'. Remove the macro.

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