staging: comedi: rtd520: remove RtdDio0Read macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 11 Jul 2012 00:04:58 +0000 (17:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2012 15:12:31 +0000 (08:12 -0700)
commit2b6e6b8042a9f783170b0a15e0550a075381726e
treef2740ff487ad5052938edb5128a2339838b5d081
parentdb1701246d5c553ed440bcb6ee1b00ed6a975829
staging: comedi: rtd520: remove RtdDio0Read 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
'readw'. 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