]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hwmon/sht15.c
hwmon: (sht15) add support for CRC validation
authorJerome Oufella <jerome.oufella@savoirfairelinux.com>
Tue, 12 Apr 2011 19:34:39 +0000 (15:34 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 19 May 2011 15:19:36 +0000 (08:19 -0700)
commit82c7465b4dd013d19858bfeac084849ae17682c0
treeaf6828f4e6cac12153100b30fbe126fe0989e1a8
parentcc15c7ebb424e45ba2c5ceecbe52d025219ee970
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>
Documentation/hwmon/sht15
drivers/hwmon/sht15.c
include/linux/sht15.h