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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Pavel Machek <pavel@xxxxxxx>

---
commit 7359586e3cf03be9370a495a03044677c9594ccd
tree 5d14686cdec78dc9d22be512d71f19247cf2e82f
parent cd48bb0ae3cd70fff68a09b80b3744e5f92cff86
author Pavel <pavel@xxxxxxxxxx> Fri, 24 Aug 2007 11:44:14 +0200
committer Pavel <pavel@xxxxxxxxxx> Fri, 24 Aug 2007 11:44:14 +0200

 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 1e06159..e532b05 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -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;

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux