From: Gwendal Grignou Date: Fri, 21 Nov 2014 18:45:48 +0000 (-0800) Subject: iio: ak8975: add definition structure per compass type X-Git-Tag: fixes-v4.0-rc1~99^2~245^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=286f74c2533ac44419819bb3c885ab9f6291d2c3;p=pandora-kernel.git iio: ak8975: add definition structure per compass type For each type of compass supported (AK8975 and AK8963), add a definition structure for register masks, important registers, raw data interpretation. This change will make integrating new type of devices easier. Remove i2c register cache. It is only used for one single register. Signed-off-by: Gwendal Grignou Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed