commit | 82c7465b4dd013d19858bfeac084849ae17682c0 | [log] [tgz] |
---|---|---|
author | Jerome Oufella <jerome.oufella@savoirfairelinux.com> | Tue Apr 12 15:34:39 2011 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu May 19 08:19:36 2011 -0700 |
tree | af6828f4e6cac12153100b30fbe126fe0989e1a8 | |
parent | cc15c7ebb424e45ba2c5ceecbe52d025219ee970 [diff] |
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>