commit | 286f74c2533ac44419819bb3c885ab9f6291d2c3 | [log] [tgz] |
---|---|---|
author | Gwendal Grignou <gwendal@chromium.org> | Fri Nov 21 10:45:48 2014 -0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Dec 12 12:25:14 2014 +0000 |
tree | 182e483d9a23e7ff057a4a914052e749ce40d4f4 | |
parent | 71222bf5412c78d96bf73d09475d3077ce0789f8 [diff] |
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 <gwendal@chromium.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>