]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b6dd732c5c417b1fdbb2828486dda74e08d735a
tree87d2a778989a99f0d0f93226068fb17c5b11a76f
parent793131924f876974549d1a7a828f3cabbeac23f8
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