Loading drivers/input/touchscreen/atmel_mxt_ts.c +9 −7 Original line number Diff line number Diff line Loading @@ -2121,15 +2121,17 @@ static ssize_t mxt_secure_touch_show(struct device *dev, return scnprintf(buf, PAGE_SIZE, "%u", val); } static DEVICE_ATTR(secure_touch_enable, 0666, mxt_secure_touch_enable_show, static DEVICE_ATTR(secure_touch_enable, S_IRUGO | S_IWUSR | S_IWGRP , mxt_secure_touch_enable_show, mxt_secure_touch_enable_store); static DEVICE_ATTR(secure_touch, 0444, mxt_secure_touch_show, NULL); static DEVICE_ATTR(secure_touch, S_IRUGO, mxt_secure_touch_show, NULL); #endif static DEVICE_ATTR(object, 0444, mxt_object_show, NULL); static DEVICE_ATTR(update_fw, 0664, NULL, mxt_update_fw_store); static DEVICE_ATTR(force_cfg_update, 0664, NULL, mxt_force_cfg_update_store); static DEVICE_ATTR(update_object_byte, 0664, NULL, static DEVICE_ATTR(object, S_IRUGO, mxt_object_show, NULL); static DEVICE_ATTR(update_fw, S_IWUSR | S_IWGRP , NULL, mxt_update_fw_store); static DEVICE_ATTR(force_cfg_update, S_IWUSR | S_IWGRP , NULL, mxt_force_cfg_update_store); static DEVICE_ATTR(update_object_byte, S_IWUSR | S_IWGRP, NULL, mxt_update_single_byte_store); static struct attribute *mxt_attrs[] = { Loading Loading
drivers/input/touchscreen/atmel_mxt_ts.c +9 −7 Original line number Diff line number Diff line Loading @@ -2121,15 +2121,17 @@ static ssize_t mxt_secure_touch_show(struct device *dev, return scnprintf(buf, PAGE_SIZE, "%u", val); } static DEVICE_ATTR(secure_touch_enable, 0666, mxt_secure_touch_enable_show, static DEVICE_ATTR(secure_touch_enable, S_IRUGO | S_IWUSR | S_IWGRP , mxt_secure_touch_enable_show, mxt_secure_touch_enable_store); static DEVICE_ATTR(secure_touch, 0444, mxt_secure_touch_show, NULL); static DEVICE_ATTR(secure_touch, S_IRUGO, mxt_secure_touch_show, NULL); #endif static DEVICE_ATTR(object, 0444, mxt_object_show, NULL); static DEVICE_ATTR(update_fw, 0664, NULL, mxt_update_fw_store); static DEVICE_ATTR(force_cfg_update, 0664, NULL, mxt_force_cfg_update_store); static DEVICE_ATTR(update_object_byte, 0664, NULL, static DEVICE_ATTR(object, S_IRUGO, mxt_object_show, NULL); static DEVICE_ATTR(update_fw, S_IWUSR | S_IWGRP , NULL, mxt_update_fw_store); static DEVICE_ATTR(force_cfg_update, S_IWUSR | S_IWGRP , NULL, mxt_force_cfg_update_store); static DEVICE_ATTR(update_object_byte, S_IWUSR | S_IWGRP, NULL, mxt_update_single_byte_store); static struct attribute *mxt_attrs[] = { Loading