OSDN Git Service

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)
commite33929537b76486d2ed576a0d9ce3ebff51bf851
treee67441d0434b355b578cd1360b7ef6e0f520287a
parentc1c04fbcb96ddacb27b54ade3931cc32b897dbbb
platform/x86: thinkpad_acpi: use standard charge control attribute names

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").

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