Content-Type: multipart/mixed; boundary="===============6666478248213364772==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] thermal: core: thermal_cdev_set_cur_state() can be static Date: Sat, 04 Jul 2020 01:03:37 +0800 Message-ID: <20200703170337.GA27219@874d1626a6d5> In-Reply-To: <20200703085309.32166-4-daniel.lezcano@linaro.org> List-Id: --===============6666478248213364772== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- thermal_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_he= lpers.c index 53dd92ccfd193..2831a93f069c9 100644 --- a/drivers/thermal/thermal_helpers.c +++ b/drivers/thermal/thermal_helpers.c @@ -175,7 +175,7 @@ void thermal_zone_set_trips(struct thermal_zone_device = *tz) mutex_unlock(&tz->lock); } = -void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, int t= arget) +static void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev= , int target) { if (cdev->ops->set_cur_state(cdev, target)) return; --===============6666478248213364772==--