power: qpnp-charger: use device tree battery profiles

Add support to autodetect and read battery profiles from the
device tree using of_batterydata.

Change-Id: Id0a39b8d4e3a4cb10398d965482ac59eee864bb1
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
1 file changed