diff mbox series

[thermal:,thermal/next] thermal/drivers/ti-soc-thermal: Remove unused function ti_thermal_get_temp()

Message ID 164677162401.16921.4167236429666709415.tip-bot2@tip-bot2
State New
Headers show
Series [thermal:,thermal/next] thermal/drivers/ti-soc-thermal: Remove unused function ti_thermal_get_temp() | expand

Commit Message

thermal-bot for Julien Panis March 8, 2022, 8:33 p.m. UTC
The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     1d6aab36a26ba44b114d7f8a857c430c9e0c32c9
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//1d6aab36a26ba44b114d7f8a857c430c9e0c32c9
Author:        YueHaibing <yuehaibing@huawei.com>
AuthorDate:    Sat, 05 Mar 2022 20:50:47 +08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 08 Mar 2022 21:26:09 +01:00

thermal/drivers/ti-soc-thermal: Remove unused function ti_thermal_get_temp()

commit b263b473bf62 ("thermal: ti-soc-thermal: Remove redundant code")
left behind this, remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20220305125047.26948-1-yuehaibing@huawei.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
index 0959632..703039d 100644
--- a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
+++ b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
@@ -107,14 +107,6 @@  static inline int __ti_thermal_get_temp(void *devdata, int *temp)
 	return ret;
 }
 
-static inline int ti_thermal_get_temp(struct thermal_zone_device *thermal,
-				      int *temp)
-{
-	struct ti_thermal_data *data = thermal->devdata;
-
-	return __ti_thermal_get_temp(data, temp);
-}
-
 static int __ti_thermal_get_trend(void *p, int trip, enum thermal_trend *trend)
 {
 	struct ti_thermal_data *data = p;