ab8500_charger: Reorder obtainment of platform specific battery management data
authorLee Jones <lee.jones@linaro.org>
Fri, 30 Nov 2012 10:56:28 +0000 (10:56 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Dec 2012 08:43:54 +0000 (08:43 +0000)
commit7722b79964f0b1d7909eb7ef69632d73b07ca6a3
treec3f4995cab1e20c7b3513bc06c1ad4ea63e65715
parent95820245edf93c9cd464004db8b52a4b690637a3
ab8500_charger: 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_charger.c