ab8500_fg: Get rid of 'struct battery_type'
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Wed, 14 Mar 2012 00:39:01 +0000 (04:39 +0400)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:41:11 +0000 (20:41 +0400)
commitc34a61b4e7a9966edc0e87d7b0a12fbb8cc58168
tree1c347755b106d0b6663caf9447b3b3d35ce6ff84
parent450ceb2b23ed0feba8c1238f52a1d3feacd5379d
ab8500_fg: Get rid of 'struct battery_type'

The struct is duplicated, plus causes the following flood:

  CC      drivers/power/ab8500_fg.o
ab8500_fg.c: In function ‘ab8500_fg_get_ext_psy_data’:
b8500_fg.c:2081:8: warning: assignment from incompatible pointer type [enabled by default]

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/ab8500_fg.c
include/linux/mfd/abx500/ab8500-bm.h