drivers: misc: nct: Add support for multiple cdevs
authorJoshua Primero <jprimero@nvidia.com>
Tue, 20 Nov 2012 23:47:24 +0000 (15:47 -0800)
committerMrutyunjay Sawant <msawant@nvidia.com>
Wed, 5 Dec 2012 07:26:18 +0000 (23:26 -0800)
commit941b913b1f6898063d4a43f7c089b3a0bfec901c
treee4e65d01c32fa09939c2ed6e8dca2dd6e2c361ce
parentfebcaf1c92e1b5e9317282bce4493a73936fed3e
drivers: misc: nct: Add support for multiple cdevs

Added support for nct multiple cooling devices. Accomplished this
by refactoring the nct platform data structure to be based on trip
temperatures rather than cdevs.

Change-Id: I3a8abcf92ead71f4575e27698d7bed647078a8cc
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/165188
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/misc/nct1008.c
include/linux/nct1008.h