summaryrefslogtreecommitdiff
path: root/drivers/power/ab8500_fg.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-04-13 08:16:06 (GMT)
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-05 10:59:47 (GMT)
commitec511672b97383107d87e86921b1f0392bc1d000 (patch)
tree938e81a3e423ed76410d844eac9699bdddda4e04 /drivers/power/ab8500_fg.c
parentcc28e17100a6b051ef966de81bb2d4a97b2a6645 (diff)
downloadlinux-ec511672b97383107d87e86921b1f0392bc1d000.tar.xz
ab8500_btemp: 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_fg.c')
0 files changed, 0 insertions, 0 deletions