summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index bd081d4ae292..3cc55d69b67e 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -3037,7 +3037,7 @@ static const struct file_operations regulator_syncevent_fops = {
static int __init regulator_init_debugfs(void)
{
- debugfs_create_file("syncevent_regulators", S_IWUGO, NULL, NULL,
+ debugfs_create_file("syncevent_regulators", S_IWUSR, NULL, NULL,
&regulator_syncevent_fops);
return 0;