staging:iio:hmc5843: register <-> value arrays now can have different lengths
authorJosef Gajdusek <atx@atalax.net>
Tue, 22 Jul 2014 15:02:00 +0000 (16:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Jul 2014 20:48:17 +0000 (21:48 +0100)
Changed structure of struct hmc5843_chip_info to include length of translation
arrays. Code previously using #defined constant has been changed accordingly.
This allows to integrate devices which do have different amounts of available
rates/scales.

Signed-off-by: Josef Gajdusek <atx@atx.name>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/hmc5843_core.c