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)
commite9684fdbdc525950eb006cfad195aaaf46cf5310
treeea058f994df4571060ebd60d4637f3cfbf6ba0b8
parent0707dda69d85a3c6f5155e5c33e92b49f389e552
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