]> asedeno.scripts.mit.edu Git - linux.git/commit
iio:adc:ad7923: Put macro argument between ()'s
authorBárbara Fernandes <barbara.fernandes@usp.br>
Fri, 22 Feb 2019 20:31:58 +0000 (17:31 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:46 +0000 (20:19 +0100)
commit385c301cec0ba269322e8aaadb331c1a39a7f491
treeaca1d6568c3a07bb6cc40c99c7cb2f6fed881126
parentc1fc8bb0f6587995b080f81422ab496b34e77a4d
iio:adc:ad7923: Put macro argument between ()'s

Put macro argument between parenthesis in order to avoid precedence
issues. Solves the following checkpath.pl's messages:

CHECK: Macro argument 'mode' may be better as '(mode)' to avoid
precedence issues
CHECK: Macro argument 'channel' may be better as '(channel)' to
avoid precedence issues
CHECK: Macro argument reuse 'sequence' - possible side-effects?
CHECK: Macro argument 'sequence' may be better as '(sequence)' to
avoid precedence issues
CHECK: Macro argument 'val' may be better as '(val)' to avoid
precedence issues
CHECK: Macro argument 'dec' may be better as '(dec)' to avoid precedence
issues
CHECK: Macro argument 'bits' may be better as '(bits)' to avoid
precedence issues

Signed-off-by: Bárbara Fernandes <barbara.fernandes@usp.br>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7923.c