diff options
| author | Maxime Ripard <[email protected]> | 2019-03-18 14:36:29 +0100 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2019-04-05 16:00:54 +0200 |
| commit | f0459fe14713081294b18bf1243f8de459814131 (patch) | |
| tree | a67dd4b0015965c47d27e11b3db9a4f420bd6e4c /tools/perf/scripts/python | |
| parent | 75cf4f5aa903604e1bd7bec2c0988d643c6fb946 (diff) | |
power: supply: Fix the simple battery property names
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).
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]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions