power: pm8921-bms: fix approach fcc

There is a bug in the code where upon end of charging, the delta
fcc is not divided by 100. This causes incorrect fcc values to be
learnt.

Fix it by correctly diving the increase/decrease by 100 for new
fcc estimation.

Change-Id: I8426a450075dd4d9f1ff02009ecbf39bae8aca30
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
diff --git a/drivers/power/pm8921-bms.c b/drivers/power/pm8921-bms.c
index b93ea95..ce748f5 100644
--- a/drivers/power/pm8921-bms.c
+++ b/drivers/power/pm8921-bms.c
@@ -1610,10 +1610,12 @@
 			/* new_fcc_uah is outside the scope limit it */
 			if (new_fcc_uah > fcc_uah)
 				new_fcc_uah
-				= (fcc_uah + DELTA_FCC_PERCENT * fcc_uah);
+				= (fcc_uah +
+					(DELTA_FCC_PERCENT * fcc_uah) / 100);
 			else
 				new_fcc_uah
-				= (fcc_uah - DELTA_FCC_PERCENT * fcc_uah);
+				= (fcc_uah -
+					(DELTA_FCC_PERCENT * fcc_uah) / 100);
 
 			pr_debug("delta_fcc=%d > %d percent of fcc=%d"
 					"restring it to %d\n",