[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1402393493-3559-6-git-send-email-jbe@pengutronix.de>
Date: Tue, 10 Jun 2014 11:44:51 +0200
From: Juergen Borleis <jbe@...gutronix.de>
To: linux-kernel@...r.kernel.org
Cc: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>, kernel@...gutronix.de
Subject: [PATCH 5/7] bq27xxx: suppress error messages
Due to the support for hot-plug, the inaccessibility of the device if a regular use-case.
Signed-off-by: Juergen Borleis <jbe@...gutronix.de>
---
drivers/power/bq27x00_battery.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index a5a88f1..3f3169e 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -382,7 +382,7 @@ static int bq27x00_battery_read_pwr_avg(struct bq27x00_device_info *di, u8 reg)
tval = bq27x00_read(di, reg, false);
if (tval < 0) {
- dev_err(di->dev, "error reading power avg rgister %02x: %d\n",
+ dev_dbg(di->dev, "error reading power avg register %02x: %d\n",
reg, tval);
return tval;
}
@@ -403,7 +403,7 @@ static int bq27x00_battery_read_health(struct bq27x00_device_info *di)
tval = bq27x00_read(di, BQ27x00_REG_FLAGS, false);
if (tval < 0) {
- dev_err(di->dev, "error reading flag register:%d\n", tval);
+ dev_dbg(di->dev, "error reading flag register:%d\n", tval);
return tval;
}
--
2.0.0.rc2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists