commit | b33b7d5ac30616aca73cc13a3dc06ac45d166ea0 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Jun 30 03:48:54 2016 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jul 03 11:32:15 2016 +0100 |
tree | 1a7b26eaf77f293afd3b285ebace4bdd588f26fa | |
parent | 3d838118c6aa73ae28e49bd9a014e2e9bd6ed3ab [diff] |
iio: pressure: bmp280: read calibration data once The calibration data is described as coming from an E2PROM and that means it does not change. Just read it once at probe time and store it in the device state container. Also toss the calibration data into the entropy pool since it is device unique. Reviewed-by: Vlad Dogaru <vlad.dogaru@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>