Message ID | 20160802105705.635-1-baolex.ni@intel.com (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/drivers/input/touchscreen/ad7879.c b/drivers/input/touchscreen/ad7879.c index e4bf110..83be4c5 100644 --- a/drivers/input/touchscreen/ad7879.c +++ b/drivers/input/touchscreen/ad7879.c @@ -364,7 +364,7 @@ static ssize_t ad7879_disable_store(struct device *dev, return count; } -static DEVICE_ATTR(disable, 0664, ad7879_disable_show, ad7879_disable_store); +static DEVICE_ATTR(disable, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, ad7879_disable_show, ad7879_disable_store); static struct attribute *ad7879_attributes[] = { &dev_attr_disable.attr,