staging: comedi: s626: remove I2CR and I2CW macros
authorIan Abbott <abbotti@mev.co.uk>
Tue, 8 Oct 2013 18:06:22 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:34:19 +0000 (15:34 -0700)
commitd5512f5b5b58e7ae47045315ade7df8873617992
tree8e203ca156302dc2a47b69f20af2c8c36ef2e40a
parente6132fc9ad90045f676f1838360af5a6bd789ecd
staging: comedi: s626: remove I2CR and I2CW macros

The `I2CR` and `I2CW` macros expand to the I2C read and write addresses,
respectively.  They are only used in one place each and include the name
of a local variable `devpriv` in their expansion.

Get rid of the macros and expand them in place.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c
drivers/staging/comedi/drivers/s626.h
This page took 0.026191 seconds and 5 git commands to generate.