staging: iio: adis16240_core: Replace symbolic permission with octal permission

The patch resolves following checkpatch issue:
WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using
octal permissions '0444'.

Signed-off-by: sayli karnik <karniksayli1995@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
sayli karnik 2017-02-17 23:38:07 +05:30 committed by Jonathan Cameron
parent 0097e20e77
commit bf0adab4cd

View File

@ -65,7 +65,7 @@ static ssize_t adis16240_read_12bit_signed(struct device *dev,
return ret;
}
static IIO_DEVICE_ATTR(in_accel_xyz_squared_peak_raw, S_IRUGO,
static IIO_DEVICE_ATTR(in_accel_xyz_squared_peak_raw, 0444,
adis16240_read_12bit_signed, NULL,
ADIS16240_XYZPEAK_OUT);