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)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:07:08 +0000 (13:07 -0700)
commitc56a8c896bf9a86bb317d9c623628a4ab147b91a
treed3f033b16ad28ee5d1599f8c6a695e848506f796
parent7f2c77dbfdec5e5e977860721934ddbb5e7771b3
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

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

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