diff options
| author | Jinyoung Park <jinyoungp@nvidia.com> | 2013-03-21 03:59:54 -0400 |
|---|---|---|
| committer | Nicolin Chen <nicolinc@nvidia.com> | 2017-08-14 21:38:52 -0400 |
| commit | ee54ba01186d91fc7a2874ff3c53bd71d6940e4d (patch) | |
| tree | f426c4e0073791791d57f184c5f10860942e295a /include/linux | |
| parent | 211c09b5d97072bea1e282bdd0ca236f8fbdee5b (diff) | |
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
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/therm_est.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/therm_est.h b/include/linux/therm_est.h index f1ccbf0de..faf1cf85b 100644 --- a/include/linux/therm_est.h +++ b/include/linux/therm_est.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | 27 | ||
| 28 | struct therm_est_subdevice { | 28 | struct therm_est_subdevice { |
| 29 | void *dev_data; | 29 | void *dev_data; |
| 30 | int (*get_temp)(void *, long *); | ||
| 31 | long coeffs[HIST_LEN]; | 30 | long coeffs[HIST_LEN]; |
| 32 | long hist[HIST_LEN]; | 31 | long hist[HIST_LEN]; |
| 33 | }; | 32 | }; |
