summaryrefslogtreecommitdiff
path: root/drivers/regulator/dbx500-prcmu.c
diff options
context:
space:
mode:
authorJinchao Wang <wjc@cdjrlc.com>2021-06-26 13:24:54 +0300
committerMark Brown <broonie@kernel.org>2021-07-12 01:50:43 +0300
commit894cda54a76d7c336b6f301bafe49bf6870d4697 (patch)
tree9fa47c107b3f1eb15fea813321edabacfa2bfdd2 /drivers/regulator/dbx500-prcmu.c
parentf40f9409719fa092924803723b9445be13fac8fb (diff)
downloadlinux-894cda54a76d7c336b6f301bafe49bf6870d4697.tar.xz
regulator: 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/20210626102454.54931-1-wjc@cdjrlc.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/dbx500-prcmu.c')
-rw-r--r--drivers/regulator/dbx500-prcmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/dbx500-prcmu.c b/drivers/regulator/dbx500-prcmu.c
index 8b70bfe88019..a45c1e1ac7ef 100644
--- a/drivers/regulator/dbx500-prcmu.c
+++ b/drivers/regulator/dbx500-prcmu.c
@@ -117,11 +117,11 @@ ux500_regulator_debug_init(struct platform_device *pdev,
rdebug.dir = debugfs_create_dir("ux500-regulator", NULL);
/* create "status" file */
- debugfs_create_file("status", S_IRUGO, rdebug.dir, &pdev->dev,
+ debugfs_create_file("status", 0444, rdebug.dir, &pdev->dev,
&ux500_regulator_status_fops);
/* create "power-state-count" file */
- debugfs_create_file("power-state-count", S_IRUGO, rdebug.dir,
+ debugfs_create_file("power-state-count", 0444, rdebug.dir,
&pdev->dev, &ux500_regulator_power_state_cnt_fops);
rdebug.regulator_array = regulator_info;