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 <peda@axentia.se>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
Peter Rosin 2016-12-21 22:29:53 +01:00 committed by Sebastian Reichel
parent dbff4c8eaa
commit de4fb05142
1 changed files with 1 additions and 1 deletions

View File

@ -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;