OSDN Git Service

iio: adc: ad7780: Add parentheses to macros
authorVladimir Petrigo <vladimir.petrigo@gmail.com>
Thu, 21 Mar 2019 21:15:28 +0000 (00:15 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:30 +0000 (20:20 +0100)
commitbf2da9707900299489ea74c48295e5c99c28b655
tree87d2a778989a99f0d0f93226068fb17c5b11a76f
parent3cb5161317b2b7680a438910c53ba1d6befd221c
iio: adc: ad7780: Add parentheses to macros

- Fix CHECK Macro argument 'wordsize' may be better as '(wordsize)' to avoid precedence issues

Slightly modified by Jonathan to take into account the staging graduation
and a copy and paste version of the same item on the following line.

Signed-off-by: Vladimir Petrigo <vladimir.petrigo@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7780.c