div_res 1012 drivers/power/supply/ab8500_fg.c u64 div_res; div_res 1015 drivers/power/supply/ab8500_fg.c div_res = ((u64) cap_mah) * ((u64) di->vbat_nom); div_res 1016 drivers/power/supply/ab8500_fg.c div_rem = do_div(div_res, 1000); div_res 1020 drivers/power/supply/ab8500_fg.c div_res++; div_res 1022 drivers/power/supply/ab8500_fg.c return (int) div_res;