[ibm-acpi-devel] [PATCH 1/3] platform/x86: thinkpad_acpi: remove unused defines

2020-01-29 Thread Thomas Weißschuh
They were never used. Signed-off-by: Thomas Weißschuh --- drivers/platform/x86/thinkpad_acpi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index da794dcfdd92..2d3a99e3efb7 100644 --- a/drivers/platform/x86/thi

[ibm-acpi-devel] [PATCH 0/3] platform/x86: thinkpad_acpi: use standard charge control attribute names

2020-01-29 Thread Thomas Weißschuh
This patch series switches over 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 sof

[ibm-acpi-devel] [PATCH 3/3] platform/x86: thinkpad_acpi: restore old battery charge attributes

2020-01-29 Thread Thomas Weißschuh
Alias the new standard attributes to their previous names, preserving backwards compatibility. Signed-off-by: Thomas Weißschuh --- drivers/platform/x86/thinkpad_acpi.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86

[ibm-acpi-devel] [PATCH 2/3] platform/x86: thinkpad_acpi: use standard charge control attribute names

2020-01-29 Thread Thomas Weißschuh
The standard attributes were only introduced after the ones from thinkpad_acpi in commit 813cab8f3994 ("power: supply: core: Add CHARGE_CONTROL_{START_THRESHOLD,END_THRESHOLD} properties"). Signed-off-by: Thomas Weißschuh --- drivers/platform/x86/thinkpad_acpi.c | 16 1 file ch