commit | ec511672b97383107d87e86921b1f0392bc1d000 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri Apr 13 10:16:06 2012 +0200 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Sat May 05 03:59:47 2012 -0700 |
tree | 938e81a3e423ed76410d844eac9699bdddda4e04 | |
parent | cc28e17100a6b051ef966de81bb2d4a97b2a6645 [diff] |
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>