mbox series

[v2,0/3] platform/x86: thinkpad_acpi: use standard charge control attribute names

Message ID 20200131143650.4149-1-linux@weissschuh.net (mailing list archive)
Headers show
Series platform/x86: thinkpad_acpi: use standard charge control attribute names | expand

Message

Thomas Weißschuh Jan. 31, 2020, 2:36 p.m. UTC
This patch series switches the battery control sysfs attributes to their
standard names as documented in Documentation/ABI/testing/sysfs-class-power.

If backwards compatability is not required please drop patch 3 of this series.
The old names were not documented explicitly and new generic software should
automatically use the new attributes, which may allow to drop the old names.

Changes since v1:
  * Corrected charge_control_stop_threshold to charge_control_end_threshold.

Thomas Weißschuh (3):
  platform/x86: thinkpad_acpi: remove unused defines
  platform/x86: thinkpad_acpi: use standard charge control attribute
    names
  platform/x86: thinkpad_acpi: restore old battery charge attributes

 drivers/platform/x86/thinkpad_acpi.c | 29 +++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)