]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: rtd520: remove RtdDacRange macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 11 Jul 2012 00:10:27 +0000 (17:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jul 2012 23:56:37 +0000 (16:56 -0700)
commit1140df8f915b96316a334a54411581921b38cf53
tree982bf75d4242c701c8b77822b587248fbfac04a7
parent4ae3c25e8ebb7d6d6d02ef323872299021d5a579
staging: comedi: rtd520: remove RtdDacRange 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