]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: rtd520: remove RtdAdcClearFifo macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 10 Jul 2012 23:43:32 +0000 (16:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2012 15:12:23 +0000 (08:12 -0700)
commit82ad5bd16950a75759cc655a3d6b077bb7aa6c72
tree70356a20db8521aa8daf1bde3eae71fda92c7d40
parentb1b46f1c06003c83c4c1cf2cf45ad0e67a27a2df
staging: comedi: rtd520: remove RtdAdcClearFifo 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
'writel'. 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