From 585f7ce2a93296e634cb50deab418029fdffb23f Mon Sep 17 00:00:00 2001 From: Josef Gajdusek Date: Tue, 22 Jul 2014 16:02:00 +0100 Subject: [PATCH] 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-format-patch failed