summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/rmi4/rmi_f11.c
diff options
context:
space:
mode:
authorHao Tang <htang@nvidia.com>2012-06-05 18:39:42 +0800
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-06-12 04:48:24 -0700
commitf97750024d50a24b9ad5493655283be70661e7d4 (patch)
tree15442d6be71333331bffaf73f17f5f4f93b83813 /drivers/input/touchscreen/rmi4/rmi_f11.c
parentae49f447dffadcafb5f72bfbd4d206cc88730a06 (diff)
input: touchscreen: rmi: Change permissions
Remove write permission for cts verification. The init script will make it acessible on engineering builds Bug 906796 Change-Id: I43170f61871018d15a710c1a75b5298dffec6f87 Signed-off-by: Hao Tang <htang@nvidia.com> Reviewed-on: http://git-master/r/106667 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/rmi4/rmi_f11.c')
-rw-r--r--drivers/input/touchscreen/rmi4/rmi_f11.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/input/touchscreen/rmi4/rmi_f11.c b/drivers/input/touchscreen/rmi4/rmi_f11.c
index 35bb945143de..7530720d61f1 100644
--- a/drivers/input/touchscreen/rmi4/rmi_f11.c
+++ b/drivers/input/touchscreen/rmi4/rmi_f11.c
@@ -99,15 +99,15 @@ static ssize_t rmi_f11_rezero_store(struct device *dev,
static struct device_attribute attrs[] = {
- __ATTR(flip, RMI_RW_ATTR, rmi_fn_11_flip_show, rmi_fn_11_flip_store),
- __ATTR(clip, RMI_RW_ATTR, rmi_fn_11_clip_show, rmi_fn_11_clip_store),
- __ATTR(offset, RMI_RW_ATTR,
+ __ATTR(flip, RMI_RO_ATTR, rmi_fn_11_flip_show, rmi_fn_11_flip_store),
+ __ATTR(clip, RMI_RO_ATTR, rmi_fn_11_clip_show, rmi_fn_11_clip_store),
+ __ATTR(offset, RMI_RO_ATTR,
rmi_fn_11_offset_show, rmi_fn_11_offset_store),
- __ATTR(swap, RMI_RW_ATTR, rmi_fn_11_swap_show, rmi_fn_11_swap_store),
- __ATTR(relreport, RMI_RW_ATTR,
+ __ATTR(swap, RMI_RO_ATTR, rmi_fn_11_swap_show, rmi_fn_11_swap_store),
+ __ATTR(relreport, RMI_RO_ATTR,
rmi_fn_11_relreport_show, rmi_fn_11_relreport_store),
__ATTR(maxPos, RMI_RO_ATTR, rmi_fn_11_maxPos_show, rmi_store_error),
- __ATTR(rezero, RMI_WO_ATTR, rmi_show_error, rmi_f11_rezero_store)
+ __ATTR(rezero, RMI_RO_ATTR, rmi_show_error, rmi_f11_rezero_store)
};