summaryrefslogtreecommitdiff
path: root/drivers/base/power/wakeup.c
diff options
context:
space:
mode:
authorJinchao Wang <wjc@cdjrlc.com>2021-06-26 17:46:06 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 14:56:00 +0200
commit16b0dd40922995bb13f140b025bb760b6c5224b0 (patch)
tree80be94271f6dc1299f2da558f68797f0a94bb3a8 /drivers/base/power/wakeup.c
parentfc7a6209d5710618eb4f72a77cd81b8d694ecf89 (diff)
driver: base: Replace symbolic permissions with octal permissions
Resolve following checkpatch issue, Replace symbolic permissions with octal permissions Signed-off-by: Jinchao Wang <wjc@cdjrlc.com> Link: https://lore.kernel.org/r/20210626094606.53152-1-wjc@cdjrlc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/power/wakeup.c')
-rw-r--r--drivers/base/power/wakeup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index f0b37c188514..99bda0da23a8 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -1180,7 +1180,7 @@ static const struct file_operations wakeup_sources_stats_fops = {
static int __init wakeup_sources_debugfs_init(void)
{
- debugfs_create_file("wakeup_sources", S_IRUGO, NULL, NULL,
+ debugfs_create_file("wakeup_sources", 0444, NULL, NULL,
&wakeup_sources_stats_fops);
return 0;
}