ab8500_fg: Fix some build warnings on x86_64
commit5ae2b822e4dc2219e9544fec3be53de699ea0f56
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:18:33 +0000 (26 20:18 +0400)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:41:26 +0000 (26 20:41 +0400)
treef56477bb9948d15853db678b0f447a6632d94270
parent6e0e60cd0d688d0d1af85ef2abb8e363595af988
ab8500_fg: Fix some build warnings on x86_64

Noticed the following warnings:

  CC      drivers/power/ab8500_fg.o
drivers/power/ab8500_fg.c: In function 'charge_full_store':
drivers/power/ab8500_fg.c:2258:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' [-Wformat]
drivers/power/ab8500_fg.c: In function ‘charge_now_store’:
drivers/power/ab8500_fg.c:2280:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' [-Wformat]

This patch fixes the issues.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/ab8500_fg.c