power: supply: ab8500_fg: fix obsolete function
authorDing Xiang <dingxiang@cmss.chinamobile.com>
Mon, 27 Aug 2018 10:49:15 +0000 (06:49 -0400)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 29 Aug 2018 22:06:45 +0000 (00:06 +0200)
commitb00b04aa668cc16ab67fe7ef553a7d14d4d16861
tree28a213bad81f948ca2c8f91eed9daf5ba65e02cd
parent89a74789f4b476cda2c791ba26a1ade116218b15
power: supply: ab8500_fg: fix obsolete function

simple_strtoul is obsolete, and use kstrtoint instead

Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_fg.c