From 02a3f7cad33b690c352ca03991f05153e17f8842 Mon Sep 17 00:00:00 2001 From: Daniel Kurtz Date: Tue, 8 May 2012 22:30:14 -0700 Subject: [PATCH] --- yaml --- r: 306612 b: refs/heads/master c: 71b3e938cb97f6cf324fb5aaca46d8e400dc38f0 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/input/touchscreen/atmel_mxt_ts.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 52c11f6bd808..5b86799be04b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3a73c8169e4f56c1161a95985b8489dd04a7bcbe +refs/heads/master: 71b3e938cb97f6cf324fb5aaca46d8e400dc38f0 diff --git a/trunk/drivers/input/touchscreen/atmel_mxt_ts.c b/trunk/drivers/input/touchscreen/atmel_mxt_ts.c index 0a6e368a5a9c..15ae6fd575b2 100644 --- a/trunk/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/trunk/drivers/input/touchscreen/atmel_mxt_ts.c @@ -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,