]> 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)
commita9be46ad5ee09183186ec8b6b2f1d7025694dd66
treeea058f994df4571060ebd60d4637f3cfbf6ba0b8
parent5e3c9376e75bc831a50c587ccff347b239b0655b
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