Skip to content

Commit

Permalink
iio: ak8975: add definition structure per compass type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gwendal Grignou authored and Jonathan Cameron committed Dec 12, 2014
1 parent 71222bf commit 286f74c
Showing 1 changed file with 186 additions and 95 deletions.
Loading

0 comments on commit 286f74c

Please sign in to comment.