input: ts: tp: Correct default permissions
Signed-off-by: claxten10 <claxten10@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ struct kobject *touchpanel_kobj;
|
||||
int tp_common_set_##type##_ops(struct tp_common_ops *ops) \
|
||||
{ \
|
||||
static struct kobj_attribute kattr = \
|
||||
__ATTR(type, (S_IWUSR | S_IRUGO), NULL, NULL); \
|
||||
__ATTR(type, (S_IWUSR | S_IWGRP | S_IRUSR | S_IRGRP), NULL, NULL); \
|
||||
kattr.show = ops->show; \
|
||||
kattr.store = ops->store; \
|
||||
return sysfs_create_file(touchpanel_kobj, &kattr.attr); \
|
||||
@@ -20,4 +20,4 @@ static int __init tp_common_init(void)
|
||||
return -ENOMEM;
|
||||
return 0;
|
||||
}
|
||||
core_initcall(tp_common_init);
|
||||
core_initcall(tp_common_init);
|
||||
|
||||
Reference in New Issue
Block a user