]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: use standard charge control attribute names
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 3 Feb 2020 12:01:32 +0000 (13:01 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 27 Jul 2020 13:36:24 +0000 (16:36 +0300)
commitdb5e2e26be91164f1c9794461e669c726b3ceed3
treee67441d0434b355b578cd1360b7ef6e0f520287a
parent89f6d9c244a6ae3d99b3a6303a83b803e20cb43b
platform/x86: thinkpad_acpi: use standard charge control attribute names

The standard attributes were only introduced after the ones from
thinkpad_acpi in commit dbe90f57923d ("power: supply: core:
Add CHARGE_CONTROL_{START_THRESHOLD,END_THRESHOLD} properties").

The new standard attributes are aliased to their previous names,
preserving backwards compatibility.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c