diff mbox

[1/4] restore bq27000 code of v4.3-rc4

Message ID e94ee6deea6f194215927e188d97d1d28ebd00bb.1444243358.git.hns@goldelico.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

H. Nikolaus Schaller Oct. 7, 2015, 6:42 p.m. UTC
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 drivers/power/bq27x00_battery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

H. Nikolaus Schaller Oct. 7, 2015, 6:43 p.m. UTC | #1
Sorry, please forget this.

Am 07.10.2015 um 20:42 schrieb H. Nikolaus Schaller <hns@goldelico.com>:

> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
> ---
> drivers/power/bq27x00_battery.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
> index 709d1e4..8287261f 100644
> --- a/drivers/power/bq27x00_battery.c
> +++ b/drivers/power/bq27x00_battery.c
> @@ -491,7 +491,7 @@ static void bq27x00_update(struct bq27x00_device_info *di)
> 	if (cache.flags >= 0) {
> 		if (!is_bq27500 && !is_bq27425 && !is_bq27742 && !is_bq27510
> 				&& (cache.flags & BQ27000_FLAG_CI)) {
> -			dev_dbg(di->dev, "battery is not calibrated! ignoring capacity values\n");
> +			dev_info(di->dev, "battery is not calibrated! ignoring capacity values\n");
> 			cache.capacity = -ENODATA;
> 			cache.energy = -ENODATA;
> 			cache.time_to_empty = -ENODATA;
> -- 
> 2.5.1
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index 709d1e4..8287261f 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -491,7 +491,7 @@  static void bq27x00_update(struct bq27x00_device_info *di)
 	if (cache.flags >= 0) {
 		if (!is_bq27500 && !is_bq27425 && !is_bq27742 && !is_bq27510
 				&& (cache.flags & BQ27000_FLAG_CI)) {
-			dev_dbg(di->dev, "battery is not calibrated! ignoring capacity values\n");
+			dev_info(di->dev, "battery is not calibrated! ignoring capacity values\n");
 			cache.capacity = -ENODATA;
 			cache.energy = -ENODATA;
 			cache.time_to_empty = -ENODATA;