Skip to content

Commit

Permalink
ACPI: /proc/acpi/thermal_zone trip points are now read-only, mark the…
Browse files Browse the repository at this point in the history
…m as such

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Pavel Machek authored and Len Brown committed Aug 24, 2007
1 parent 8c99fdc commit 2db9ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2db9ccb

Please sign in to comment.