OSDN Git Service

platform/x86: ideapad-laptop: add missing call to submodule destructor
authorBarnabás Pőcze <pobrn@protonmail.com>
Wed, 3 Feb 2021 21:54:43 +0000 (21:54 +0000)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 09:20:27 +0000 (10:20 +0100)
commitcaa315b8de372890aedfa612b91e649168a31187
treefa7b1dbfdb2fbd8c7fc20321c91113f8c2cc4ada
parent7d38f034e7b2d6eae3b0e29efb3fd968d156a797
platform/x86: ideapad-laptop: add missing call to submodule destructor

ideapad_dytc_profile_exit() is not called in ideapad_acpi_add()
in the error path. Add the missing call.

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