diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-06-30 03:48:54 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-07-03 11:32:15 +0100 |
commit | b33b7d5ac30616aca73cc13a3dc06ac45d166ea0 (patch) | |
tree | 1a7b26eaf77f293afd3b285ebace4bdd588f26fa /samples/configfs | |
parent | 3d838118c6aa73ae28e49bd9a014e2e9bd6ed3ab (diff) | |
download | op-kernel-dev-b33b7d5ac30616aca73cc13a3dc06ac45d166ea0.zip op-kernel-dev-b33b7d5ac30616aca73cc13a3dc06ac45d166ea0.tar.gz |
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>
Diffstat (limited to 'samples/configfs')
0 files changed, 0 insertions, 0 deletions