thermal/drivers/ti-soc-thermal: Remove unused function ti_thermal_get_temp()
authorYueHaibing <yuehaibing@huawei.com>
Sat, 5 Mar 2022 12:50:47 +0000 (20:50 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 8 Mar 2022 20:26:09 +0000 (21:26 +0100)
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

index 0959632..703039d 100644 (file)
@@ -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;