Skip to content

platform/x86: thinkpad_acpi: use standard charge control attribute names

Thomas Weißschuh lkml platform-driver-x86 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Preserved API backwards compat after each patch by merging the patches that switch over to the new API and reintroduce the compat aliases.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86: thinkpad_acpi: remove unused definesdrivers/platform/x86/thinkpad_acpi.c+0 -30 replies
2/2platform/x86: thinkpad_acpi: use standard charge control attribute namesdrivers/platform/x86/thinkpad_acpi.c+20 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] platform/x86: thinkpad_acpi: use standard charge control attribute names

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 v2:
* Preserved API backwards compat after each patch by merging the patches that switch over to the new API and reintroduce the compat aliases.

Thomas Weißschuh (2):
platform/x86: thinkpad_acpi: remove unused defines platform/x86: thinkpad_acpi: use standard charge control attribute
names

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