From 46e6c3e8e629db549503cea06d90e6117310d55d Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Mon, 6 Feb 2017 20:29:56 +0900 Subject: [PATCH] battery: p9220: adjust log and log level for get_property The get_property function prints not matched value with info level, so this patch adjusts value name and change to debug level. Signed-off-by: Seung-Woo Kim --- drivers/battery/p9220_charger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/battery/p9220_charger.c b/drivers/battery/p9220_charger.c index bc3f878..20bfe8c 100644 --- a/drivers/battery/p9220_charger.c +++ b/drivers/battery/p9220_charger.c @@ -1479,7 +1479,7 @@ static int p9220_chg_get_property(struct power_supply *psy, break; #endif case POWER_SUPPLY_PROP_ENERGY_NOW: /* vout */ - pr_info("%s POWER_SUPPLY_PROP_MANUFACTURER =%d \n ", __func__, val->intval); + pr_debug("%s POWER_SUPPLY_PROP_ENERGY_NOW =%d \n ", __func__, val->intval); val->intval = 0; break; if(charger->pdata->ic_on_mode || charger->pdata->is_charging) { @@ -1489,7 +1489,7 @@ static int p9220_chg_get_property(struct power_supply *psy, break; case POWER_SUPPLY_PROP_ENERGY_AVG: /* vrect */ - pr_info("%s POWER_SUPPLY_PROP_MANUFACTURER =%d \n ", __func__, val->intval); + pr_debug("%s POWER_SUPPLY_PROP_ENERGY_AVG =%d \n ", __func__, val->intval); val->intval = 0; break; if(charger->pdata->ic_on_mode || charger->pdata->is_charging) { -- 2.7.4