summaryrefslogtreecommitdiff
path: root/drivers/input/misc/lps001wp_prs.c
diff options
context:
space:
mode:
authorBenn Pörscke <benn.porscke@stericsson.com>2012-02-20 09:59:07 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-02-20 16:07:00 +0100
commitb3b73f8d2f14044616222ec37c15851e6ab6e815 (patch)
tree2cdbf5d4c50caf196f49426910765ab0a748d811 /drivers/input/misc/lps001wp_prs.c
parent56eaf52550211bf91b649b70a8bc587a0559d2c5 (diff)
input:lps001wp_prs: Correct sysfs file permissionslinux-release-2012-02
Diffstat (limited to 'drivers/input/misc/lps001wp_prs.c')
-rw-r--r--drivers/input/misc/lps001wp_prs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/lps001wp_prs.c b/drivers/input/misc/lps001wp_prs.c
index 1618dfaa16f..45a322729ff 100644
--- a/drivers/input/misc/lps001wp_prs.c
+++ b/drivers/input/misc/lps001wp_prs.c
@@ -994,7 +994,7 @@ static ssize_t attr_addr_set(struct device *dev, struct device_attribute *attr,
static struct device_attribute attributes[] = {
__ATTR(pollrate_ms, S_IWUSR | S_IRUGO, attr_get_polling_rate,
attr_set_polling_rate),
- __ATTR(enable, S_IWUSR | S_IRUGO, attr_get_enable, attr_set_enable),
+ __ATTR(enable, S_IWUGO | S_IRUGO, attr_get_enable, attr_set_enable),
__ATTR(diff_enable, S_IWUSR | S_IRUGO, attr_get_diff_enable,
attr_set_diff_enable),
__ATTR(press_reference, S_IWUSR | S_IRUGO, attr_get_press_ref,