Merge tag 'mfd-next-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[linux-2.6-microblaze.git] / drivers / hwmon / iio_hwmon.c
index eed66e5..5c3c084 100644 (file)
@@ -129,7 +129,7 @@ static int iio_hwmon_probe(struct platform_device *pdev)
                        return -ENOMEM;
 
                a->dev_attr.show = iio_hwmon_read_val;
-               a->dev_attr.attr.mode = S_IRUGO;
+               a->dev_attr.attr.mode = 0444;
                a->index = i;
                st->attrs[i] = &a->dev_attr.attr;
        }