diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2021-11-13 08:55:06 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-29 12:28:48 +0100 |
| commit | afda22fea7662e244d0a6601c4e3c596b55966f5 (patch) | |
| tree | 391dcedd04f91037607e5823a0752bbf474787f2 /include/uapi/linux | |
| parent | 9d21029e7199c8727de48a437ea81e832a621956 (diff) | |
hwmon: (lm90) Drop critical attribute support for MAX6654
[ Upstream commit 16ba51b5dcd3f6dde2e51d5ccc86313119dcf889 ]
Tests with a real chip and a closer look into the datasheet show that
MAX6654 does not support CRIT/THERM/OVERTEMP limits, so drop support
of the respective attributes for this chip.
Introduce LM90_HAVE_CRIT flag and use it to instantiate critical limit
attributes to solve the problem.
Cc: Josh Lehan <krellan@google.com>
Fixes: 229d495d8189 ("hwmon: (lm90) Add max6654 support to lm90 driver")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
