diff options
-rw-r--r-- | drivers/power/ab8500_fg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index eaf149ecb74..c22f2f05657 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c @@ -2255,7 +2255,7 @@ static ssize_t charge_full_store(struct ab8500_fg *di, const char *buf, ret = strict_strtoul(buf, 10, &charge_full); - dev_dbg(di->dev, "Ret %d charge_full %lu", ret, charge_full); + dev_dbg(di->dev, "Ret %zd charge_full %lu", ret, charge_full); if (!ret) { di->bat_cap.max_mah = (int) charge_full; @@ -2277,7 +2277,7 @@ static ssize_t charge_now_store(struct ab8500_fg *di, const char *buf, ret = strict_strtoul(buf, 10, &charge_now); - dev_dbg(di->dev, "Ret %d charge_now %lu was %d", + dev_dbg(di->dev, "Ret %zd charge_now %lu was %d", ret, charge_now, di->bat_cap.prev_mah); if (!ret) { |