]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: da9052: Replace S_IRUGO with 0444
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 21 Aug 2017 14:54:03 +0000 (16:54 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 22 Aug 2017 07:44:46 +0000 (08:44 +0100)
commit15b518603635b795fde5d10d040d9b3f1f297832
tree62e7bbb53057d2bd2353d817cf30c7341c190bfb
parentb12c837cf31381f1a099830970bd0251d08a58df
hwmon: da9052: Replace S_IRUGO with 0444

Fix checkpatch warnings about S_IRUGO being less readable than
providing the permissions octal as '0444'.

Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/hwmon/da9052-hwmon.c