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