power: supply: max17042_battery: log SOC threshold using debug log level
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Mon, 16 Aug 2021 16:50:16 +0000 (18:50 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 17 Aug 2021 13:33:52 +0000 (15:33 +0200)
There's no need to print a message on every change in battery percentage
on regular log levels.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/max17042_battery.c

index e6bcda966476ccf95d08872f277d1fea242d7d18..8dffae76b6a31e2fa23af7ac00a54e329e8f59d6 100644 (file)
@@ -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);
        }