Content-Type: multipart/mixed; boundary="===============6108955804292923496==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] hwmon: tmp421_disable_channels() can be static Date: Fri, 10 Sep 2021 04:40:19 +0800 Message-ID: <20210909204019.GA5684@f5e5cebfff48> In-Reply-To: List-Id: --===============6108955804292923496== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/hwmon/tmp421.c:356:6: warning: symbol 'tmp421_disable_channels' was= not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- tmp421.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/tmp421.c b/drivers/hwmon/tmp421.c index cec25fb1c7719..162798f7491d9 100644 --- a/drivers/hwmon/tmp421.c +++ b/drivers/hwmon/tmp421.c @@ -353,7 +353,7 @@ void tmp421_probe_from_dt(struct i2c_client *client, st= ruct tmp421_data *data) } } = -void tmp421_disable_channels(struct i2c_client *client, uint8_t mask) +static void tmp421_disable_channels(struct i2c_client *client, uint8_t mas= k) { int err; int cfg =3D i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_2); --===============6108955804292923496==--