]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: Introduce SENSOR_DEVICE_ATTR_{RO, RW, WO} and variants
authorGuenter Roeck <linux@roeck-us.net>
Tue, 27 Dec 2016 23:28:19 +0000 (15:28 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:22 +0000 (15:13 -0800)
commita5c47c0d388b939dd578fd466aa804b7f2445390
treea599b1995485e5907df5ebf9562c3591b6773c08
parent2e9a41bbc1079776dabe42ed8113b086b99ae56c
hwmon: Introduce SENSOR_DEVICE_ATTR_{RO, RW, WO} and variants

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>
Documentation/hwmon/hwmon-kernel-api.txt
include/linux/hwmon-sysfs.h