diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-12-27 15:28:19 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-12-16 15:13:22 -0800 |
commit | a5c47c0d388b939dd578fd466aa804b7f2445390 (patch) | |
tree | a599b1995485e5907df5ebf9562c3591b6773c08 /drivers/hwmon | |
parent | 2e9a41bbc1079776dabe42ed8113b086b99ae56c (diff) | |
download | linux-a5c47c0d388b939dd578fd466aa804b7f2445390.tar.gz linux-a5c47c0d388b939dd578fd466aa804b7f2445390.tar.bz2 linux-a5c47c0d388b939dd578fd466aa804b7f2445390.zip |
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>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions