diff options
author | Martin Kepplinger <martink@posteo.de> | 2015-12-15 17:45:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-12-19 17:45:42 +0100 |
commit | e60378c17c7eebf8636fb6831bff1efc9a434521 (patch) | |
tree | 4ea501819dc55b2c359f4ad2504b707f38a7a2e1 /drivers/iio/industrialio-core.c | |
parent | iio: mma8452: remove unused register description (diff) | |
download | linux-e60378c17c7eebf8636fb6831bff1efc9a434521.tar.xz linux-e60378c17c7eebf8636fb6831bff1efc9a434521.zip |
iio: mma8452: use enum for channel index
This gets rid of some magic numbers by adding an enum.
Signed-off-by: Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions