summaryrefslogtreecommitdiff
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/core.c')
-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 d3aec469434a..49deeaefb13c 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -2783,7 +2783,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;