[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191020222052.hud2r3jx2rvrrip3@4978f4969bb8>
Date: Mon, 21 Oct 2019 06:20:52 +0800
From: kbuild test robot <lkp@...el.com>
To: Tony Lindgren <tony@...mide.com>
Cc: kbuild-all@...ts.01.org,
Sebastian Reichel <sebastian.reichel@...labora.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [RFC PATCH power-supply] power: supply: cpcap-charger:
cpcap_charger_voltage_to_regval() can be static
Fixes: d4ee021c410f ("power: supply: cpcap-charger: Limit voltage to 4.2V for battery")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
cpcap-charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply/cpcap-charger.c b/drivers/power/supply/cpcap-charger.c
index 88bbab6e62f07..b4b7f9dc6c4ea 100644
--- a/drivers/power/supply/cpcap-charger.c
+++ b/drivers/power/supply/cpcap-charger.c
@@ -478,7 +478,7 @@ static void cpcap_charger_update_state(struct cpcap_charger_ddata *ddata,
dev_dbg(ddata->dev, "state: %s\n", status);
}
-int cpcap_charger_voltage_to_regval(int voltage)
+static int cpcap_charger_voltage_to_regval(int voltage)
{
int offset;
Powered by blists - more mailing lists