summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2007-08-24 11:45:50 +0200
committerLen Brown <len.brown@intel.com>2007-08-25 00:02:13 +0200
commit2db9ccba8d4bb8e3aa6d0cd8e7544c5736963bbc (patch)
treef58aafbc5a011874d1887f5942523e0e90c020ac /drivers/acpi
parentACPI: thermal: set "thermal.nocrt" via DMI on Gigabyte GA-7ZX (diff)
downloadlinux-2db9ccba8d4bb8e3aa6d0cd8e7544c5736963bbc.tar.xz
linux-2db9ccba8d4bb8e3aa6d0cd8e7544c5736963bbc.zip
ACPI: /proc/acpi/thermal_zone trip points are now read-only, mark them as such
Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 39479b0befa4..7e8f48b7f9af 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -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;