diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-27 20:43:21 +0000 |
---|---|---|
committer | Anton Vorontsov <avorontsov@ru.mvista.com> | 2010-01-29 17:00:18 +0300 |
commit | 12b336a8b4ea8652372f88521bf55cef7f5d5283 (patch) | |
tree | 81f448a4c122a03c2d52d95a838e5f8af4e12693 /kernel/utsname_sysctl.c | |
parent | be8cde8b24c9dca1e54598690115eee5b1476519 (diff) |
wm97xx_battery: Handle missing platform data gracefully
Don't unconditionally dereference the WM97xx core platform data since
it may not be present, causing an oops.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions