diff options
author | Timo Alho <talho@nvidia.com> | 2014-05-19 11:36:27 +0300 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-05-23 01:56:59 -0700 |
commit | 2fb3a7524910965f4537ecc17ab3cc6d1d3876aa (patch) | |
tree | e0cebba467f709c36af293bc18db3d5c1319bd91 /drivers/staging | |
parent | 9fe6e9a71fc46d26303cff000f91ec528f780b70 (diff) |
iio: meter: ina230: change permissions of ui_input
Change permissions of ui_input to read only by user and group.
Bug 1513829
Change-Id: I0b651ac75bbb5445a286882e8973b2fc05156dec
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/411363
(cherry picked from commit cf112731854b96393468c05e8c953a09f840903f)
Reviewed-on: http://git-master/r/412036
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/meter/ina230.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/meter/ina230.c b/drivers/staging/iio/meter/ina230.c index 413db56a8d26..d37ad274f626 100644 --- a/drivers/staging/iio/meter/ina230.c +++ b/drivers/staging/iio/meter/ina230.c @@ -711,7 +711,7 @@ static IIO_DEVICE_ATTR(current_threshold, S_IRUGO | S_IWUSR, static IIO_DEVICE_ATTR(alert_flag, S_IRUGO, ina230_show_channel, NULL, ALERT_FLAG); -static IIO_DEVICE_ATTR(ui_input, S_IRUGO, +static IIO_DEVICE_ATTR(ui_input, S_IRUSR|S_IRGRP, ina230_show_channel, NULL, VBUS_VOLTAGE_CURRENT); |