Commit b4be271c authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: ds1307: use octal permissions

Octal permissions are preferred over symbolic permissions.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent e69c0567
......@@ -1051,7 +1051,7 @@ static ssize_t ds3231_hwmon_show_temp(struct device *dev,
return sprintf(buf, "%d\n", temp);
}
static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, ds3231_hwmon_show_temp,
static SENSOR_DEVICE_ATTR(temp1_input, 0444, ds3231_hwmon_show_temp,
NULL, 0);
static struct attribute *ds3231_hwmon_attrs[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment