Battery gauge rework
Remaining part of !198 (merged) reworked for upstreaming.
WIP because:
haven't tested VChg handling yet- is moving
devm_power_supply_register
beforemax17042_get_pdata
in order to getchip->battery
already initialized in the latter an acceptable solution?
Edited by Sebastian Krzyszkowiak