Guenter Roeck
d6146ce429
hwmon: Introduce SENSOR_DEVICE_ATTR_{RO, RW, WO} and variants
[ Upstream commit a5c47c0d388b939dd578fd466aa804b7f2445390 ]
Introduce SENSOR_DEVICE_ATTR_{RO,RW,WO} and SENSOR_DEVICE_ATTR_2_{RO,RW,WO}
as simplified variants of SENSOR_DEVICE_ATTR and SENSOR_DEVICE_ATTR_2 to
simplify the source code, improve readbility, and reduce the chance of
inconsistencies.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Stable-dep-of: 1ea3fd1eb986 ("hwmon: (max6697) Fix swapped temp{1,8} critical alarms")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit eb04482acd9870b84970fe1549203fedc1bbcc79)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2025-12-24 11:21:05 +00:00
..
2022-01-27 09:00:56 +01:00
2023-12-24 16:27:16 +05:30
2025-12-24 11:17:27 +00:00
2025-12-24 11:17:33 +00:00
2021-12-25 18:03:37 +05:30
2025-12-24 11:21:05 +00:00
2023-09-18 09:05:35 +05:30
2020-10-20 16:08:57 +08:00
2025-12-24 11:20:50 +00:00
2021-11-26 11:40:41 +01:00
2023-10-31 18:41:02 +05:30
2025-12-24 11:19:58 +00:00
2022-08-31 12:13:12 +00:00
2021-11-26 11:40:38 +01:00
2025-12-24 11:20:29 +00:00
2025-12-24 11:20:46 +00:00
2022-07-12 16:27:28 +02:00
2022-03-11 10:13:33 +01:00