]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: rtd520: remove RtdAdcFifoGet macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 10 Jul 2012 23:50:12 +0000 (16:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2012 15:12:25 +0000 (08:12 -0700)
commit8379bb0bc909fd35c2d680506c62bc6c0d0925a5
treec7b87f9b23d8cf8bde4ea6d276ba59ec7ea51972
parent20168e4e570af91dfdf07f670d18ba1a955c3596
staging: comedi: rtd520: remove RtdAdcFifoGet 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