projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mtd/for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux
[linux-2.6-microblaze.git]
/
drivers
/
parisc
/
led.c
diff --git
a/drivers/parisc/led.c
b/drivers/parisc/led.c
index
36c6613
..
cf91cb0
100644
(file)
--- a/
drivers/parisc/led.c
+++ b/
drivers/parisc/led.c
@@
-250,14
+250,14
@@
static int __init led_create_procfs(void)
if (!lcd_no_led_support)
{
if (!lcd_no_led_support)
{
- ent = proc_create_data("led",
S_IRUGO|S_IWUSR
, proc_pdc_root,
+ ent = proc_create_data("led",
0644
, proc_pdc_root,
&led_proc_ops, (void *)LED_NOLCD); /* LED */
if (!ent) return -1;
}
if (led_type == LED_HASLCD)
{
&led_proc_ops, (void *)LED_NOLCD); /* LED */
if (!ent) return -1;
}
if (led_type == LED_HASLCD)
{
- ent = proc_create_data("lcd",
S_IRUGO|S_IWUSR
, proc_pdc_root,
+ ent = proc_create_data("lcd",
0644
, proc_pdc_root,
&led_proc_ops, (void *)LED_HASLCD); /* LCD */
if (!ent) return -1;
}
&led_proc_ops, (void *)LED_HASLCD); /* LCD */
if (!ent) return -1;
}