diff options
author | Guenter Roeck <linux@roeck-us.net> | 2018-12-10 14:02:19 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-02-18 14:23:29 -0800 |
commit | 626c4a0657a4fcd72bf1863f1226a5780810e219 (patch) | |
tree | 3fbdba2c1ae68b7c476991111b1deaf48a579cda /drivers/hwmon | |
parent | 80c6b12169ea468d90304d737abfcb17a17dd26f (diff) | |
download | linux-626c4a0657a4fcd72bf1863f1226a5780810e219.tar.gz linux-626c4a0657a4fcd72bf1863f1226a5780810e219.tar.bz2 linux-626c4a0657a4fcd72bf1863f1226a5780810e219.zip |
hwmon: (scmi-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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/scmi-hwmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/scmi-hwmon.c b/drivers/hwmon/scmi-hwmon.c index 2e005edee0c9..a80183a488c5 100644 --- a/drivers/hwmon/scmi-hwmon.c +++ b/drivers/hwmon/scmi-hwmon.c @@ -57,7 +57,7 @@ scmi_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type, sensor = *(scmi_sensors->info[type] + channel); if (sensor) - return S_IRUGO; + return 0444; return 0; } |