From ee54ba01186d91fc7a2874ff3c53bd71d6940e4d Mon Sep 17 00:00:00 2001 From: Jinyoung Park Date: Thu, 21 Mar 2013 16:59:54 +0900 Subject: 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 Reviewed-on: http://git-master/r/211539 (cherry picked from commit 02ebe3a815127af786292d1a7d144277aa966b63) Change-Id: If1126f9227b6821a79ed1d9718ed4cd7cea3c540 Signed-off-by: Jinyoung Park Reviewed-on: http://git-master/r/215543 --- include/linux/therm_est.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/linux') 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 @@ struct therm_est_subdevice { void *dev_data; - int (*get_temp)(void *, long *); long coeffs[HIST_LEN]; long hist[HIST_LEN]; }; -- cgit v1.2.2