summaryrefslogtreecommitdiff
path: root/drivers/power/ab8500_charger.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-04-13 12:16:13 +0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-05 14:59:56 +0400
commit5f98eb393c6d7a5de3202b7ce9e4439292e952fb (patch)
treee7c4003b3a34a8420713c066d8c33c19c91780a9 /drivers/power/ab8500_charger.c
parentec511672b97383107d87e86921b1f0392bc1d000 (diff)
downloadlinux-5f98eb393c6d7a5de3202b7ce9e4439292e952fb.tar.xz
ab8500_fg: Harden platform data check
If no platform data at all is supplied the driver crashes, extend the checks to be more careful so we can compile in the driver and boot also without platform data present. Acked-by: Arun Murthy <arun.murthy@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/ab8500_charger.c')
0 files changed, 0 insertions, 0 deletions