forked from Minki/linux
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:
parent
dbff4c8eaa
commit
de4fb05142
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user