power: pm8921-charger: make safe current configurable

The safe current is a one time write per boot value. It determines
the max charge current that can be pushed in the battery.

Make this configurable via platform data so the safe value can
be set different for different batteries. If not specified use
a default of 1500mA

Change-Id: I830bf2e679e76efe7ed9d8bb30a8d459d8b9a09a
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2 files changed