Skip to contentSkip to conversation

power: supply: Fix the simple battery property names

PATCH Sebastian Reichel 1 participant 1 message Apr 5, 2019 2 messages not in the archive

lore
Share & tools
lore

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

#2 lore raw

Hi,

Quoted 10 lines · Maxime Ripard
Quoted 9 lines · Maxime Ripard

Commit c08b1f45d7d1 ("power: supply: core: Add power_supply_battery_info and API") introduced code to parse the simple-battery node and express battery charging constraints. However, it parsed that node using the properties constant_charge_current_max_microamp and constant_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")

Ping?

Maxime

Pong. Sorry for the delay, queued.

-- Sebastian