misc: nct1008: use signed long for temp
authorDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 20 Mar 2014 22:33:31 +0000 (15:33 -0700)
committerMatthew Pedro <mapedro@nvidia.com>
Fri, 4 Apr 2014 21:36:56 +0000 (14:36 -0700)
commit946eeb008b93347b59dc23b16e4d0e90b16fc560
tree141ae47eeb24bddbc2d6dd2f4b54ef9dc24fce6a
parent1ca3d9427cf66cb4660a865e34d85a1cfaa53ba4
misc: nct1008: use signed long for temp

Avoid setting signed temperature value into unsigned long pointer

Bug 1454792

Change-Id: I583f2296c294b6d499fcdf8e1b9338cce5b8344d
Reviewed-on: http://git-master/r/384655
(cherry picked from commit 72ccbb69fcf0375ce7a26db7c32dd3dd925a6f26)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/392044
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
drivers/misc/nct1008.c