Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse
authorJaya Durga <rjdurga@gmail.com>
Wed, 19 Jul 2017 12:25:57 +0000 (17:55 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Jul 2017 20:35:43 +0000 (21:35 +0100)
commit065a7c0b1fec9df9b22cf228b777fc3d2f4e6ba9
treefa050bd7beffa2f8221dbc4d5c8481e52ecf477d
parentebbb333ae2d3ed7a7f486cfe7e8da1938aadde5a
Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse

CHECK: Macro argument reuse 'addr' - possible side-effects?

convert AD7280A_DEVADDR to ad7280a_devaddr static function
to fix checkpath check

v3: small style changes

Signed-off-by: Jaya Durga <rjdurga@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7280a.c