hwmon: (hwmon) Replace S_<PERMS> with octal values
authorGuenter Roeck <linux@roeck-us.net>
Mon, 10 Dec 2018 22:02:08 +0000 (14:02 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 18 Feb 2019 22:23:29 +0000 (14:23 -0800)
commit0d87116fe2e464cf1c145ffb41267c8e13167b11
treeedcb6c66bd469bb1a1a967cb1896314e8813e043
parent1640bb596e4b9cb5ad58378dec43fe138bc6499f
hwmon: (hwmon) Replace S_<PERMS> with octal values

Replace S_<PERMS> 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>
drivers/hwmon/hwmon.c