]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) Add flag to indicate 'alarms' attribute support
authorGuenter Roeck <linux@roeck-us.net>
Wed, 17 Nov 2021 19:57:57 +0000 (11:57 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:18 +0000 (08:38 -0700)
commit8ca99963b23b338c12235423e282ad5e647a91fb
treeea058f994df4571060ebd60d4637f3cfbf6ba0b8
parent631ba84d8dab45cde86f1e7bd253801508a24f2e
hwmon: (lm90) Add flag to indicate 'alarms' attribute support

We don't want to support the obsolete 'alarms' attribute for new
chips supported by this driver. Add flag to indicate 'alarms' attribute
support and use it for existing chips. This flag will not be set for
additional chips supported by this driver in the future.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c