All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp()
@ 2022-03-05 12:50 YueHaibing
  2022-03-05 16:55 ` Bryan Brattlof
  2022-03-08 20:33 ` [thermal: thermal/next] thermal/drivers/ti-soc-thermal: " thermal-bot for YueHaibing
  0 siblings, 2 replies; 4+ messages in thread
From: YueHaibing @ 2022-03-05 12:50 UTC (permalink / raw)
  To: edubezval, j-keerthy, rafael, daniel.lezcano, amitk, rui.zhang,
	romain.naour, yuehaibing
  Cc: linux-pm, linux-omap, linux-kernel

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

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp()
  2022-03-05 12:50 [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp() YueHaibing
@ 2022-03-05 16:55 ` Bryan Brattlof
  2022-03-08 20:33 ` [thermal: thermal/next] thermal/drivers/ti-soc-thermal: " thermal-bot for YueHaibing
  1 sibling, 0 replies; 4+ messages in thread
From: Bryan Brattlof @ 2022-03-05 16:55 UTC (permalink / raw)
  To: YueHaibing
  Cc: edubezval, j-keerthy, rafael, daniel.lezcano, amitk, rui.zhang,
	romain.naour, linux-pm, linux-omap, linux-kernel

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@huawei.com>

Reviewed-by: Bryan Brattlof <bb@ti.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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [thermal: thermal/next] thermal/drivers/ti-soc-thermal: Remove unused function ti_thermal_get_temp()
  2022-03-05 12:50 [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp() YueHaibing
  2022-03-05 16:55 ` Bryan Brattlof
@ 2022-03-08 20:33 ` thermal-bot for YueHaibing
  1 sibling, 0 replies; 4+ messages in thread
From: thermal-bot for YueHaibing @ 2022-03-08 20:33 UTC (permalink / raw)
  To: linux-pm; +Cc: YueHaibing, Bryan Brattlof, Daniel Lezcano, rui.zhang, amitk

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 --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;

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp()
@ 2020-09-09 13:44 YueHaibing
  0 siblings, 0 replies; 4+ messages in thread
From: YueHaibing @ 2020-09-09 13:44 UTC (permalink / raw)
  To: edubezval, j-keerthy, rui.zhang, daniel.lezcano, amitk, sudipm.mukherjee
  Cc: linux-pm, linux-omap, linux-kernel, YueHaibing

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

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 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 2ce4b19f312a..93b28c7ce83d 100644
--- a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
+++ b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
@@ -106,14 +106,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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-08 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-05 12:50 [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp() YueHaibing
2022-03-05 16:55 ` Bryan Brattlof
2022-03-08 20:33 ` [thermal: thermal/next] thermal/drivers/ti-soc-thermal: " thermal-bot for YueHaibing
  -- strict thread matches above, loose matches on Subject: below --
2020-09-09 13:44 [PATCH -next] thermal: ti-soc-thermal: " YueHaibing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.