thermal: Default OF created trip points to writable
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 3 Mar 2015 10:43:04 +0000 (10:43 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 5 May 2015 04:27:53 +0000 (21:27 -0700)
commit76af5495a5263a6d5b6d5de0f34d52de1dbf665e
tree1719b1d4075f2233cb37055333ecb016a6c8c75e
parent35e946447f22d722e06702f4f040f7b108cafbbe
thermal: Default OF created trip points to writable

When registering a thermal zone from device tree, default the trip
points to writable. By default, only the root user can change these.

This allows the trip points to be tweaked after the system has
booted.

Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/of-thermal.c