All of lore.kernel.org
 help / color / mirror / Atom feed
From: "thermal-bot for YueHaibing" <tip-bot2@linutronix.de>
To: linux-pm@vger.kernel.org
Cc: YueHaibing <yuehaibing@huawei.com>, Bryan Brattlof <bb@ti.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	rui.zhang@intel.com, amitk@kernel.org
Subject: [thermal: thermal/next] thermal/drivers/ti-soc-thermal: Remove unused function ti_thermal_get_temp()
Date: Tue, 08 Mar 2022 20:33:44 -0000	[thread overview]
Message-ID: <164677162401.16921.4167236429666709415.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20220305125047.26948-1-yuehaibing@huawei.com>

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;

      parent reply	other threads:[~2022-03-08 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=164677162401.16921.4167236429666709415.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=amitk@kernel.org \
    --cc=bb@ti.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.