Commit eaa2c490 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by Sebastian Reichel
Browse files

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: default avatarSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 4bf00434
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}