commit | 4892688d7004c004765a51976087a8f51ce3586d | [log] [tgz] |
---|---|---|
author | Daniel Baluta <daniel.baluta@intel.com> | Fri Jun 05 14:03:15 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jun 07 16:33:25 2015 +0100 |
tree | 5110a0092574fe5f1bf56ed57b8cc483881dee50 | |
parent | 6b90da4b58b39a80f490479953aa2563c3c41a6d [diff] |
iio: magnetometer: mmc35240: Add compensation for raw values This patch adds compensation formula to raw readings, borrowed from Memsic's input driver. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>