commit | a5c47c0d388b939dd578fd466aa804b7f2445390 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Dec 27 15:28:19 2016 -0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Dec 16 15:13:22 2018 -0800 |
tree | a599b1995485e5907df5ebf9562c3591b6773c08 | |
parent | 2e9a41bbc1079776dabe42ed8113b086b99ae56c [diff] |
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>