power: supply: Fix the simple battery property names
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20190402132245.wvakxqkhyyl66gbs@flea
Hi,
Quoted 10 lines · Maxime Ripard
Quoted 9 lines · Maxime Ripard
Commit
c08b1f45d7d1("power: supply: core: Addpower_supply_battery_infoand API") introduced code to parse the simple-battery node and express battery charging constraints. However, it parsed that node using the propertiesconstant_charge_current_max_microampandconstant_charge_voltage_max_microvolt, while the device tree binding for the simple-battery node uses dashes to separate the words in those properties (constant-charge-current-max-microamp and constant-charge-voltage-max-microvolt).
Quoted 8 lines
Quoted 4 lines
Let's make the code match the binding.
Fixes c08b1f45d7d1 ("power: supply: core: Add power_supply_battery_info and API")Signed-off-by Maxime Ripard <[email protected]>Ping?
Maxime
Pong. Sorry for the delay, queued.
-- Sebastian