Skip to contentSkip to conversation

power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document

PATCH Applied Karl Mehltretter 2 participants 2 messages Sep 5 – Sep 9 Power supply

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document

drivers/power/supply/mp2629_charger.c creates the attribute with DEVICE_ATTR_RW(batt_impedance_compensation). The ABI file documents it under the truncated name batt_impedance_compen, which does not exist in sysfs.

Use the full name.

Fixes fe27f04e0cdc ("power: supply: mp2629: Add impedance compensation config")
Assisted-by LLM
---
 Documentation/ABI/testing/sysfs-class-power-mp2629 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-class-power-mp2629 +1 -1
index 914d67caac0d..a85f926ce9c2 100644
@@ -1,4 +1,4 @@
-What:		/sys/class/power_supply/mp2629_battery/batt_impedance_compen
+What:		/sys/class/power_supply/mp2629_battery/batt_impedance_compensation
 Date:		April 2020
 KernelVersion:	5.7
 Description:
Signature · 1 line
2.53.0
#1 lore raw
Quoted 8 lines · Karl Mehltretter

drivers/power/supply/mp2629_charger.c creates the attribute with DEVICE_ATTR_RW(batt_impedance_compensation). The ABI file documents it under the truncated name batt_impedance_compen, which does not exist in sysfs.

Use the full name.

[...]

Applied, thanks!

[1/1] power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document

      commit: 3da2ab1e3b8b1544b1a57612bfc1343f396e83e9

Best regards,

Signature · 1 line
Sebastian Reichel <[email protected]>