]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: /proc/acpi/thermal_zone trip points are now read-only, mark them as such
authorPavel Machek <pavel@ucw.cz>
Fri, 24 Aug 2007 09:45:50 +0000 (11:45 +0200)
committerLen Brown <len.brown@intel.com>
Fri, 24 Aug 2007 22:02:13 +0000 (18:02 -0400)
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/thermal.c

index 39479b0befa4642bce02d27ba81d39e54586aeac..7e8f48b7f9afbf61f15e5a997253ff792077d023 100644 (file)
@@ -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;