Skip to content

Commit 7e07b74

Browse files
Jinchao Wanghdeller
authored andcommitted
parisc: Replace symbolic permissions with octal permissions
Resolve following checkpatch issue, Replace symbolic permissions with octal permissions Signed-off-by: Jinchao Wang <wjc@cdjrlc.com> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 7d2a07b commit 7e07b74

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/parisc/led.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,14 @@ static int __init led_create_procfs(void)
250250

251251
if (!lcd_no_led_support)
252252
{
253-
ent = proc_create_data("led", S_IRUGO|S_IWUSR, proc_pdc_root,
253+
ent = proc_create_data("led", 0644, proc_pdc_root,
254254
&led_proc_ops, (void *)LED_NOLCD); /* LED */
255255
if (!ent) return -1;
256256
}
257257

258258
if (led_type == LED_HASLCD)
259259
{
260-
ent = proc_create_data("lcd", S_IRUGO|S_IWUSR, proc_pdc_root,
260+
ent = proc_create_data("lcd", 0644, proc_pdc_root,
261261
&led_proc_ops, (void *)LED_HASLCD); /* LCD */
262262
if (!ent) return -1;
263263
}

0 commit comments

Comments
 (0)