Skip to contentSkip to conversation

trip points are now read-only, mark them as such

PATCH Pavel Machek 1 participant 1 message Aug 24, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Trip points are now read-only, mark them as such.

---
commit 7359586e3cf03be9370a495a03044677c9594ccd
tree 5d14686cdec78dc9d22be512d71f19247cf2e82f
parent cd48bb0ae3cd70fff68a09b80b3744e5f92cff86
author Pavel <[email protected]> Fri, 24 Aug 2007 11:44:14 +0200 committer Pavel <[email protected]> Fri, 24 Aug 2007 11:44:14 +0200

 drivers/acpi/thermal.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/acpi/thermal.c +2 -2
index 1e06159..e532b05 100644
@@ -1067,9 +1067,9 @@ static int acpi_thermal_add_fs(struct ac
 		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;
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html