]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: ideapad-laptop: group and separate (un)related constants into enums
authorBarnabás Pőcze <pobrn@protonmail.com>
Wed, 3 Feb 2021 21:55:59 +0000 (21:55 +0000)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 09:21:07 +0000 (10:21 +0100)
commit9f28d79b7f1759232e110280e836e6e842327bcb
tree5834c1408f9c2062e0cd8c5dfd23f44ec2e1b37e
parent9266d7a81e5a047d77e9ff03c93d142b0947b371
platform/x86: ideapad-laptop: group and separate (un)related constants into enums

Group and rename constants depending on which ACPI interface
they pertain to, and rename CFG_X constants to CFG_CAP_X.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-17-pobrn@protonmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/ideapad-laptop.c