Thermal: Allow first cooling device update
authorAlex Frid <afrid@nvidia.com>
Fri, 28 Dec 2012 02:17:29 +0000 (18:17 -0800)
committerMandar Padmawar <mpadmawar@nvidia.com>
Mon, 31 Dec 2012 05:52:37 +0000 (21:52 -0800)
commit3e7f6294343bb45285b417c137dd7458ff996523
treecc9a1ae5deff8aba668ab08314cf8c5c2ef0882b
parentc8cc7f327723a1d34648af4d4f70e7292fa799f7
Thermal: Allow first cooling device update

To allow first update of cooling device state during registration,
initialized "updated" device field as "false" (instead of "true").

Change-Id: Ie52f2c544f9351b2977578ca6a1af69e8affaea3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174576
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/thermal/thermal_sys.c