diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-05-08 02:53:44 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-05-11 14:37:56 +0300 |
commit | b09aaa3f2c0edeeed670cd29961a0e35bddc78cf (patch) | |
tree | c980ea586d509b4c719057bf268cd2319142ce8c /drivers/misc | |
parent | ff67dbd554b2aaa22be933eced32610ff90209dd (diff) | |
download | linux-b09aaa3f2c0edeeed670cd29961a0e35bddc78cf.tar.xz |
platform/x86: ideapad-laptop: fix method name typo
"smbc" should be "sbmc". `eval_smbc()` incorrectly called
the SMBC ACPI method instead of SBMC. This resulted in
partial loss of functionality. Rectify that by calling
the correct ACPI method (SBMC), and also rename
methods and constants.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=212985
Fixes: 0b765671cb80 ("platform/x86: ideapad-laptop: group and separate (un)related constants into enums")
Fixes: ff36b0d953dc ("platform/x86: ideapad-laptop: rework and create new ACPI helpers")
Cc: stable@vger.kernel.org # 5.12
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210507235333.286505-1-pobrn@protonmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions