Commit 1d6aab36 authored by YueHaibing's avatar YueHaibing Committed by Daniel Lezcano
Browse files

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



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

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarBryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20220305125047.26948-1-yuehaibing@huawei.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 7eab0b9d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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;