diff options
author | Sachin Nikam <snikam@nvidia.com> | 2011-06-16 15:22:26 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-06-24 21:28:13 -0700 |
commit | 683092ca422d64cb7d72d70763d1100812abfd58 (patch) | |
tree | b8a89f63cfefecf0894eccd7de2a4a1f3a1369d8 /drivers | |
parent | 41132f3852de2118b636c394d36099a6df8f8a3a (diff) |
regulator: write permission for only user
Write permission only for User for syncevent_regulators
sysfs attribute.
This is needed so as to pass FileSystemPermission CTS.
Bug 840409
Change-Id: Iad1ac9fc63b9471b2f7c9f2c12524512b3f5941e
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/36897
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index d3aec469434a..49deeaefb13c 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -2783,7 +2783,7 @@ static const struct file_operations regulator_syncevent_fops = { static int __init regulator_init_debugfs(void) { - debugfs_create_file("syncevent_regulators", S_IWUGO, NULL, NULL, + debugfs_create_file("syncevent_regulators", S_IWUSR, NULL, NULL, ®ulator_syncevent_fops); return 0; |