diff options
author | Jerome Oufella <jerome.oufella@savoirfairelinux.com> | 2011-04-12 21:34:39 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-05-19 17:19:36 +0200 |
commit | 82c7465b4dd013d19858bfeac084849ae17682c0 (patch) | |
tree | af6828f4e6cac12153100b30fbe126fe0989e1a8 /lib/crc16.c | |
parent | hwmon: (sht15) add support for the status register (diff) | |
download | linux-82c7465b4dd013d19858bfeac084849ae17682c0.tar.xz linux-82c7465b4dd013d19858bfeac084849ae17682c0.zip |
hwmon: (sht15) add support for CRC validation
The sht15 sensor allows validating exchanges to and from the device
using a crc8 function. An utility function to reverse a byte has also
been added.
Signed-off-by: Jerome Oufella <jerome.oufella@savoirfairelinux.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions