提交 b4be271c 编写于 作者: A Alexandre Belloni

rtc: ds1307: use octal permissions

Octal permissions are preferred over symbolic permissions.
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册