summaryrefslogtreecommitdiffstats
path: root/drivers/staging/goldfish
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-05-29 10:56:32 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-18 14:56:45 -0700
commit9c340ac934dbbfd46e776465b08391baac32d486 (patch)
tree35dab4ac9042f21f091f59a9ab5954f67a3e9f63 /drivers/staging/goldfish
parent9588fa8fe908c5501de5076de9a0c9d44ef737ec (diff)
staging: comedi: ni_stc.h: add read/write callbacks to struct ni_private
The {read,write}[bwl] macros used to access the registers in the ni_atmio, ni_mio_cs, and ni_pcimio drivers and the included ni_mio_common.c file all rely on a local variable having a specific name. They also require some of the ni_mio_common code to need a __maybe_unused tag on the devpriv local variable. Remove all the macros by converting them into private functions and storing the callbacks in the private data. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/goldfish')
0 files changed, 0 insertions, 0 deletions