|
@@ -1049,8 +1049,8 @@ static ssize_t mxt_update_fw_store(struct device *dev,
|
|
|
return count;
|
|
|
}
|
|
|
|
|
|
-static DEVICE_ATTR(object, 0444, mxt_object_show, NULL);
|
|
|
-static DEVICE_ATTR(update_fw, 0664, NULL, mxt_update_fw_store);
|
|
|
+static DEVICE_ATTR(object, S_IRUGO, mxt_object_show, NULL);
|
|
|
+static DEVICE_ATTR(update_fw, S_IWUSR, NULL, mxt_update_fw_store);
|
|
|
|
|
|
static struct attribute *mxt_attrs[] = {
|
|
|
&dev_attr_object.attr,
|