Guenter Roeck 845ee70923 hwmon: (max31722) Use permission specific SENSOR[_DEVICE]_ATTR variants
Use SENSOR[_DEVICE]_ATTR[_2]_{RO,RW,WO} to simplify the source code,
to improve readability, and to reduce the chance of inconsistencies.

Also replace any remaining S_<PERMS> in the driver with octal values.

The conversion was done automatically with coccinelle. The semantic patches
and the scripts used to generate this commit log are available at
https://github.com/groeck/coccinelle-patches/hwmon/.

This patch does not introduce functional changes. It was verified by
compiling the old and new files and comparing text and data sizes.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2019-02-18 14:23:29 -08:00
..
2018-12-28 19:48:25 -08:00
2018-12-29 13:03:29 -08:00
2013-03-18 21:19:49 +01:00
2017-04-02 07:01:53 -07:00
2017-04-13 06:09:26 -07:00
2014-01-29 20:40:08 +01:00
2018-10-23 00:58:12 +01:00
2018-03-10 19:00:14 -08:00
2015-06-21 22:54:53 -07:00
2016-12-02 13:28:05 -08:00