ab8500_btemp: Reorder obtainment of platform specific battery management data
authorLee Jones <lee.jones@linaro.org>
Fri, 30 Nov 2012 10:48:30 +0000 (10:48 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Dec 2012 08:43:54 +0000 (08:43 +0000)
commit95820245edf93c9cd464004db8b52a4b690637a3
tree454feb68e86286534376c791ea647fe8897aa9bb
parent23a04f9f40f2b32ee593b768483105b1c776814d
ab8500_btemp: Reorder obtainment of platform specific battery management data

Now that we always pass platform specific battery management data
through platform_data instead of obtaining it via different means
depending the way be boot the system (DT or ATAGs); we need to
re-jiggle the way we acquire it in the driver start-up functions.
Now it is wrong for it to be missing, but we still allow Device
Tree code to fiddle with it once we've confirmed it's there.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/power/ab8500_btemp.c