Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5c47c0d authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
parent 2e9a41bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment