GCC 4.9.1: fix compile warnings

Conflicts:
	drivers/power/qpnp-bms.c

Change-Id: I0e8131dae0d7462f4cf11bb0e5bd85d6bcd22f41