staging: iio: cdc: ad7150: create macro for capacitance channels
authorBárbara Fernandes <barbara.fernandes@usp.br>
Sat, 18 May 2019 22:41:36 +0000 (19:41 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 26 May 2019 14:52:17 +0000 (15:52 +0100)
commit0bae068509717712071193e5465a9ecc3c20e135
treeeba1ce08faf184a9229adcd575da044eb497c3f5
parent1f48d056287d58f425c4f36705764f2ba802feba
staging: iio: cdc: ad7150: create macro for capacitance channels

Create macro for capacitance channels in order to remove the repeated
code and improve its readability.

Signed-off-by: Bárbara Fernandes <barbara.fernandes@usp.br>
Signed-off-by: Wilson Sales <spoonm@spoonm.org>
Co-developed-by: Wilson Sales <spoonm@spoonm.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/cdc/ad7150.c