From: Peter Rosin Date: Wed, 21 Dec 2016 21:29:53 +0000 (+0100) Subject: power: supply: bq24735: bring down the noise level X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de4fb05142aa97d0cd7195059767517ada47e948;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git power: supply: bq24735: bring down the noise level If there is no ti,ac-detect-gpios configured, it is normal to have failed reads of the options register. So, hold back on the log spamming. Signed-off-by: Peter Rosin Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/supply/bq24735-charger.c b/drivers/power/supply/bq24735-charger.c index d8be81203837..eb0145380def 100644 --- a/drivers/power/supply/bq24735-charger.c +++ b/drivers/power/supply/bq24735-charger.c @@ -192,7 +192,7 @@ static bool bq24735_charger_is_present(struct bq24735 *charger) ac = bq24735_read_word(charger->client, BQ24735_CHG_OPT); if (ac < 0) { - dev_err(&charger->client->dev, + dev_dbg(&charger->client->dev, "Failed to read charger options : %d\n", ac); return false;