]> git.ipfire.org Git - thirdparty/linux.git/commit
hwmon: (ina2xx) Add support for has_alerts configuration flag
authorGuenter Roeck <linux@roeck-us.net>
Tue, 27 Aug 2024 19:57:10 +0000 (12:57 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 10 Nov 2024 22:48:06 +0000 (14:48 -0800)
commitde0da6ae1908b43b23782d64b4564b5ca3119f7f
tree033218030a73c55245b561dd66bfb0610f060198
parenta7e03f96791e098ebde43acce6b04283f10815db
hwmon: (ina2xx) Add support for has_alerts configuration flag

Add configuration flag indicating if the chip supports alerts and limits
to prepare for adding INA260 support.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina2xx.c