提交 2db9ccba 编写于 作者: P Pavel Machek 提交者: Len Brown

ACPI: /proc/acpi/thermal_zone trip points are now read-only, mark them as such

Signed-off-by: NPavel Machek <pavel@suse.cz>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 8c99fdce
......@@ -1085,9 +1085,9 @@ static int acpi_thermal_add_fs(struct acpi_device *device)
entry->owner = THIS_MODULE;
}
/* 'trip_points' [R/W] */
/* 'trip_points' [R] */
entry = create_proc_entry(ACPI_THERMAL_FILE_TRIP_POINTS,
S_IFREG | S_IRUGO | S_IWUSR,
S_IRUGO,
acpi_device_dir(device));
if (!entry)
return -ENODEV;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册