Thermal: Remove dangling newline character in buf on policy_store()
authorJinyoung Park <jinyoungp@nvidia.com>
Fri, 30 Nov 2012 09:55:51 +0000 (01:55 -0800)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 19 Dec 2012 08:11:04 +0000 (00:11 -0800)
commitc7ea37c7ca1e1fdb53267052140c0689a1badb22
tree97e52948ec1af598b267afe655629a47506a2af4
parentfd9efad25193b30f0312e93a94e4cef8fbf6c478
Thermal: Remove dangling newline character in buf on policy_store()

Can't find governor by name string comparison due to dangling newline
character in buf on policy_store().

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/167874
(cherry picked from commit 5226b1816b49a0ce733ee332f31d29761a354006)

Change-Id: Ic96ec57b1fa90dd8a2a3fe7a23f4cb8ebc4bb7df
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/172167
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/thermal/thermal_sys.c