On Thu, 2018-12-06 at 11:22 -0800, Guenter Roeck wrote: > 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. > > This series introduces the new macros and converts some of the drivers. Thanks, eliminating the S_<PERMS> uses would be nice and more consistent with the other DEVICE_ATTR_{RO,RW,WO} uses.