diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-04-13 10:16:06 +0200 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-05-05 12:59:47 +0200 |
commit | ec511672b97383107d87e86921b1f0392bc1d000 (patch) | |
tree | 938e81a3e423ed76410d844eac9699bdddda4e04 /drivers/gpio | |
parent | ab8500_charger: Harden platform data check (diff) | |
download | linux-ec511672b97383107d87e86921b1f0392bc1d000.tar.xz linux-ec511672b97383107d87e86921b1f0392bc1d000.zip |
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/gpio')
0 files changed, 0 insertions, 0 deletions