diff options
author | Peter Rosin <peda@axentia.se> | 2016-12-21 22:29:53 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 22:03:33 +0100 |
commit | de4fb05142aa97d0cd7195059767517ada47e948 (patch) | |
tree | cb66838b6ec783b367fe720a4e77053a2a2beb8c /drivers/power | |
parent | dbff4c8eaa85dca221f07c1d9669a1d58658199b (diff) | |
download | linux-stable-de4fb05142aa97d0cd7195059767517ada47e948.tar.gz linux-stable-de4fb05142aa97d0cd7195059767517ada47e948.tar.bz2 linux-stable-de4fb05142aa97d0cd7195059767517ada47e948.zip |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/bq24735-charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |