Guenter Roeck
625dffc4ea
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>
2024-10-10 10:27:20 +00:00
..
2016-06-27 18:58:02 -07:00
2014-03-03 08:01:04 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2016-03-05 06:36:03 -08:00
2014-01-29 20:40:08 +01:00
2017-06-11 17:08:19 -07:00
2016-09-08 21:34:16 -07:00
2017-06-11 17:08:19 -07:00
2017-04-10 13:12:18 -07:00
2017-01-04 14:36:17 -07:00
2014-01-29 20:40:08 +01:00
2014-05-21 16:02:24 -07:00
2014-01-29 20:40:08 +01:00
2016-04-19 06:32:35 -07:00
2017-08-13 08:24:01 -07:00
2014-01-29 20:40:08 +01:00
2024-10-10 10:27:20 +00:00
2017-08-29 18:07:13 -07:00
2014-08-04 07:01:38 -07:00
2018-10-03 17:00:58 -07:00
2016-06-27 18:58:03 -07:00
2017-06-11 17:08:19 -07:00
2016-04-19 06:32:38 -07:00
2016-06-27 18:58:04 -07:00
2014-09-22 11:14:52 -07:00
2014-01-29 20:40:08 +01:00
2017-01-21 12:26:38 -08:00
2015-10-14 07:57:14 -07:00
2014-05-21 16:02:20 -07:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2017-08-30 06:31:13 -07:00
2014-12-02 06:11:53 -08:00
2014-12-02 03:44:18 -08:00
2014-03-03 08:01:03 -08:00
2015-08-19 09:08:55 -07:00
2016-03-05 06:25:34 -08:00
2015-12-18 08:20:59 -08:00
2017-06-11 17:08:19 -07:00
2014-03-03 08:01:03 -08:00
2014-01-29 20:40:08 +01:00
2016-06-27 18:58:02 -07:00
2016-09-08 21:34:17 -07:00
2016-03-05 06:25:34 -08:00
2016-03-05 06:25:34 -08:00
2015-08-09 13:44:27 -07:00
2016-04-19 06:32:34 -07:00
2015-10-14 07:57:14 -07:00
2016-05-26 11:06:53 +02:00
2014-09-24 15:36:33 +01:00
2014-05-21 16:02:27 -07:00
2015-09-12 19:43:02 -07:00
2015-08-09 13:44:27 -07:00
2015-07-29 20:06:46 -07:00
2016-03-08 18:40:49 -08:00
2016-03-05 06:25:34 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2016-03-05 06:25:34 -08:00
2017-06-11 17:08:19 -07:00
2014-08-04 07:01:33 -07:00
2014-08-04 07:01:38 -07:00
2015-10-09 11:05:52 +01:00
2016-07-16 08:40:13 -07:00
2017-01-02 10:19:45 -08:00
2014-06-12 08:36:48 -07:00
2014-01-29 20:40:08 +01:00
2016-10-24 08:12:35 -02:00
2017-01-25 06:14:36 -08:00
2015-06-21 22:54:53 -07:00
2017-04-02 07:01:53 -07:00
2014-08-04 07:01:33 -07:00
2016-12-09 21:54:25 -08:00
2016-06-27 18:58:03 -07:00
2014-08-04 07:01:38 -07:00
2014-08-04 07:01:38 -07:00
2016-09-08 21:34:16 -07:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00
2015-07-03 14:39:05 +02:00
2014-01-29 20:40:08 +01:00
2016-09-08 21:34:16 -07:00
2016-03-05 06:25:34 -08:00