Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2db9ccba authored by Pavel Machek's avatar Pavel Machek Committed by Len Brown
Browse files

ACPI: /proc/acpi/thermal_zone trip points are now read-only, mark them as such



Signed-off-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 8c99fdce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;