drivers: misc: therm_est: Add therm_est_subdev_get_temp function
authorJinyoung Park <jinyoungp@nvidia.com>
Thu, 21 Mar 2013 07:59:54 +0000 (16:59 +0900)
committerMrutyunjay Sawant <msawant@nvidia.com>
Thu, 28 Mar 2013 10:15:50 +0000 (03:15 -0700)
commit02ebe3a815127af786292d1a7d144277aa966b63
tree848e3542282a43be08c6d39df6df269c56233a7b
parentd832906d904916a263c831d1bf55031070818991
drivers: misc: therm_est: Add therm_est_subdev_get_temp function

Added therm_est_subdev_get_temp function instead of get_temp callback in
struct therm_est_subdevice in order to remove redeundancy code.

Bug 1233363
Bug 1236444

Change-Id: If1126f9227b6821a79ed1d9718ed4cd7cea3c540
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211539
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/misc/therm_est.c
include/linux/therm_est.h