diff options
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r-- | drivers/acpi/thermal.c | 4 |
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) | |||
1085 | entry->owner = THIS_MODULE; | 1085 | entry->owner = THIS_MODULE; |
1086 | } | 1086 | } |
1087 | 1087 | ||
1088 | /* 'trip_points' [R/W] */ | 1088 | /* 'trip_points' [R] */ |
1089 | entry = create_proc_entry(ACPI_THERMAL_FILE_TRIP_POINTS, | 1089 | entry = create_proc_entry(ACPI_THERMAL_FILE_TRIP_POINTS, |
1090 | S_IFREG | S_IRUGO | S_IWUSR, | 1090 | S_IRUGO, |
1091 | acpi_device_dir(device)); | 1091 | acpi_device_dir(device)); |
1092 | if (!entry) | 1092 | if (!entry) |
1093 | return -ENODEV; | 1093 | return -ENODEV; |