aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx27.c
diff options
context:
space:
mode:
authorSoham Biswas <[email protected]>2020-11-18 14:51:12 +0000
committerThierry Reding <[email protected]>2020-12-17 13:19:00 +0000
commit765edf0bf019ff8a7ae2dedbccd8af370b0856b5 (patch)
tree3db52069deb01d5f1a2dfd8348d34433cd9ff569 /drivers/pwm/pwm-imx27.c
parentpwm: lpss: Make compilable with COMPILE_TEST (diff)
downloadkernel-765edf0bf019ff8a7ae2dedbccd8af370b0856b5.tar.gz
kernel-765edf0bf019ff8a7ae2dedbccd8af370b0856b5.zip
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 <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions