]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: rtd520: remove RtdDacUpdate macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 11 Jul 2012 00:09:31 +0000 (17:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jul 2012 23:56:37 +0000 (16:56 -0700)
commit600cb0e0416511ff55c49b902fd32106d04d5428
tree5bde02e9484f0d901876c80117fd7a2e8eba8433
parent97fc7099d7022b48fa02e300b1f84b95d31c61d0
staging: comedi: rtd520: remove RtdDacUpdate 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
'writew'. 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