Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document
@ 2026-09-05 10:18 Karl Mehltretter
  2026-09-09 20:49 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Mehltretter @ 2026-09-05 10:18 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: Karl Mehltretter, linux-pm, Saravanan Sekar

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
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 Documentation/ABI/testing/sysfs-class-power-mp2629 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/sysfs-class-power-mp2629 b/Documentation/ABI/testing/sysfs-class-power-mp2629
index 914d67caac0d..a85f926ce9c2 100644
--- a/Documentation/ABI/testing/sysfs-class-power-mp2629
+++ b/Documentation/ABI/testing/sysfs-class-power-mp2629
@@ -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:
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document
  2026-09-05 10:18 [PATCH] power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document Karl Mehltretter
@ 2026-09-09 20:49 ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2026-09-09 20:49 UTC (permalink / raw)
  To: Sebastian Reichel, Karl Mehltretter; +Cc: linux-pm, Saravanan Sekar


On Sat, 05 Sep 2026 12:18:49 +0200, Karl Mehltretter wrote:
> 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,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-09 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 10:18 [PATCH] power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document Karl Mehltretter
2026-09-09 20:49 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox