staging: iio: adc: ad7280a: split ad7280_attr_init() to more functions
authorSlawomir Stepien <sst@poczta.fm>
Wed, 12 Dec 2018 17:02:28 +0000 (18:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Dec 2018 14:05:57 +0000 (14:05 +0000)
commit4b6374577fe751f60ffc24c7b95ce803a22b2476
tree887acffc5e3b0a188fc6cf064dcc4a62c9213ae0
parent243c5c9d7b6250ce5e03cd88e48a40f961251b4e
staging: iio: adc: ad7280a: split ad7280_attr_init() to more functions

The ad7280_attr_init function has been split into more specific
functions to increase the code readability.

Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7280a.c