]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: frequency: ad9523: use octal permissions
authorBhargav Joshi <rougueprince47@gmail.com>
Thu, 26 Feb 2026 23:10:57 +0000 (04:40 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Feb 2026 12:15:19 +0000 (12:15 +0000)
commitdfe5e8fb17518e5af346a5e8139e704d63f82a11
treea9aa24be62e1686e915fb7df3b1883158a3385ad
parent787c9a9cdc5156d6465129caa9f9276911901f56
iio: frequency: ad9523: use octal permissions

The driver currently defines device attributes using symbolic permission
flags (S_IRUGO and S_IWUSR). Update these to use octal permissions (0444
and 0200) to resolve checkpatch warnings.

Signed-off-by: Bhargav Joshi <rougueprince47@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/frequency/ad9523.c