Skip to content
Commit 12b336a8 authored by Mark Brown's avatar Mark Brown Committed by Anton Vorontsov
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
parent be8cde8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment