Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jinchao Wang and committed by
Mark Brown
894cda54 f40f9409

+2 -2
+2 -2
drivers/regulator/dbx500-prcmu.c
··· 117 117 rdebug.dir = debugfs_create_dir("ux500-regulator", NULL); 118 118 119 119 /* create "status" file */ 120 - debugfs_create_file("status", S_IRUGO, rdebug.dir, &pdev->dev, 120 + debugfs_create_file("status", 0444, rdebug.dir, &pdev->dev, 121 121 &ux500_regulator_status_fops); 122 122 123 123 /* create "power-state-count" file */ 124 - debugfs_create_file("power-state-count", S_IRUGO, rdebug.dir, 124 + debugfs_create_file("power-state-count", 0444, rdebug.dir, 125 125 &pdev->dev, &ux500_regulator_power_state_cnt_fops); 126 126 127 127 rdebug.regulator_array = regulator_info;