From: Josef Gajdusek Date: Tue, 22 Jul 2014 15:02:00 +0000 (+0100) Subject: staging:iio:hmc5843: register <-> value arrays now can have different lengths X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~312^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=585f7ce2a93296e634cb50deab418029fdffb23f;p=pandora-kernel.git staging:iio:hmc5843: register <-> value arrays now can have different lengths 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed