diff options
author | Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> | 2021-08-16 18:50:16 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-08-17 15:33:52 +0200 |
commit | eaa2c490514d2d49c3ef1764530234d07f422289 (patch) | |
tree | a51b8d79a5197586142a0f343707898a079b40a6 /drivers/power | |
parent | power: supply: max17042_battery: more robust chip type checks (diff) | |
download | linux-eaa2c490514d2d49c3ef1764530234d07f422289.tar.xz linux-eaa2c490514d2d49c3ef1764530234d07f422289.zip |
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: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/max17042_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c index e6bcda966476..8dffae76b6a3 100644 --- a/drivers/power/supply/max17042_battery.c +++ b/drivers/power/supply/max17042_battery.c @@ -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); } |