hwmon: (nct6775) Convert S_I* permissions macros to octal
authorZev Weiss <zev@bewilderbeest.net>
Wed, 27 Apr 2022 01:01:52 +0000 (18:01 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 20 May 2022 17:57:06 +0000 (10:57 -0700)
commitae0d7227741f6791f056f906625ffbd5fe95fb2c
tree413fa2a4c5d31cafd0e856b9fe31ed712f37912f
parentbd2e82bd4f4839f70c00a480e0133dc9650d7211
hwmon: (nct6775) Convert S_I* permissions macros to octal

Checkpatch has been warning about these for a while; the octal
versions are both more comprehensible and more concise.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://lore.kernel.org/r/20220427010154.29749-6-zev@bewilderbeest.net
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c