diff options
author | Soham Biswas <sohambiswas41@gmail.com> | 2020-11-18 17:51:12 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-12-17 16:19:00 +0300 |
commit | 765edf0bf019ff8a7ae2dedbccd8af370b0856b5 (patch) | |
tree | 3db52069deb01d5f1a2dfd8348d34433cd9ff569 /init | |
parent | aa43edcbc898afffb061f560d928d43bd55f4dc3 (diff) | |
download | linux-765edf0bf019ff8a7ae2dedbccd8af370b0856b5.tar.xz |
pwm: core: Use octal permission
Permission bits are easier readable in octal than with using the
symbolic names.
Fixes the following warning generated by checkpatch:
WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'.
#1341: FILE: drivers/pwm/core.c:1341:
+ debugfs_create_file("pwm", S_IFREG | S_IRUGO, NULL, NULL,
Signed-off-by: Soham Biswas <sohambiswas41@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions