提交 eaa2c490 编写于 作者: S Sebastian Krzyszkowiak 提交者: Sebastian Reichel

power: supply: max17042_battery: log SOC threshold using debug log level

There's no need to print a message on every change in battery percentage
on regular log levels.
Signed-off-by: NSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.com>
上级 4bf00434
......@@ -872,7 +872,7 @@ static irqreturn_t max17042_thread_handler(int id, void *dev)
return IRQ_HANDLED;
if ((val & STATUS_SMN_BIT) || (val & STATUS_SMX_BIT)) {
dev_info(&chip->client->dev, "SOC threshold INTR\n");
dev_dbg(&chip->client->dev, "SOC threshold INTR\n");
max17042_set_soc_threshold(chip, 1);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册