]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: rtd520: remove RtdDma0Mode macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 11 Jul 2012 00:14:25 +0000 (17:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jul 2012 23:59:21 +0000 (16:59 -0700)
commite84290d358df7acbfd8b2b10fdd1cc29fa8b5cad
tree353bffe01f12e26d550c414352633ec985b530ab
parentb3d05c00683fdaa1d3899879fab8c4a8155c968d
staging: comedi: rtd520: remove RtdDma0Mode 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