iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor
authorLee Jones <lee.jones@linaro.org>
Tue, 10 Sep 2013 12:49:00 +0000 (13:49 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Sep 2013 20:17:17 +0000 (21:17 +0100)
commit2f5effcbd097a37690c86b80a3c242dd8338d59c
tree3f49c36b0cd8796ecf6b5aeea9a73b1ecf1128af
parent302fbd50ef31a93aee67061ed4594dceb94b0783
iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

Due to the MACRO used, the task of reading, understanding and maintaining
the LPS331AP's channel descriptor is substantially difficult. This patch
is based on the view that it's better to have easy to read, maintainable
code than to save a few lines here and there. For that reason we're
expanding the array so initialisation is completed in full.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/st_pressure_core.c