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