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