hwmon: (sht3x) Add new non-stardard sysfs attribute
authorJuenKit Yip <JuenKit_Yip@hotmail.com>
Fri, 16 Jun 2023 16:00:16 +0000 (00:00 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 17 Jun 2023 16:14:39 +0000 (09:14 -0700)
commitaf5ab550125f1bbae0ba89ed8e1994a11f40b96a
tree7d0d3992e6c6287c27e7c267962aa9215d33d092
parent3d2c211c0d2b5955b4ec9a1af7d59e8bed00c7fe
hwmon: (sht3x) Add new non-stardard sysfs attribute

Add "repeatability" attribute to sysfs, it could be
read or written to control the sensor.

Signed-off-by: JuenKit Yip <JuenKit_Yip@hotmail.com>
Link: https://lore.kernel.org/r/DB4PR10MB6261B507C7656E3568DA33E39258A@DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM
[groeck: Fixed multi-line alignment; dropped check of unsigned against < 0]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/sht3x.rst
drivers/hwmon/sht3x.c