[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220305165530.lro7ups4xv2injik@bryanbrattlof.com>
Date: Sat, 5 Mar 2022 10:55:30 -0600
From: Bryan Brattlof <bb@...com>
To: YueHaibing <yuehaibing@...wei.com>
CC: <edubezval@...il.com>, <j-keerthy@...com>, <rafael@...nel.org>,
<daniel.lezcano@...aro.org>, <amitk@...nel.org>,
<rui.zhang@...el.com>, <romain.naour@...le.fr>,
<linux-pm@...r.kernel.org>, <linux-omap@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] thermal: ti-soc-thermal: Remove unused function
ti_thermal_get_temp()
On March 5, 2022, thus sayeth YueHaibing:
> commit b263b473bf62 ("thermal: ti-soc-thermal: Remove redundant code")
> left behind this, remove it.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Reviewed-by: Bryan Brattlof <bb@...com>
thanks for helping clean the codebase :)
~Bryan
> ---
> drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
> index 0959632b2170..703039d8b937 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;
> --
> 2.17.1
>
Powered by blists - more mailing lists