From: Hanjun Guo Date: Tue, 24 Dec 2019 01:56:30 +0000 (+0800) Subject: cpufreq: CPPC: put ACPI table after using it X-Git-Tag: microblaze-v5.7-rc1~111^2^2~4^2 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=80e8b1e59f0399b94a6088bcb9477bd798cc5eba;p=linux-2.6-microblaze.git cpufreq: CPPC: put ACPI table after using it Put the ACPI table to release the table mapping after using it successfully. Signed-off-by: Hanjun Guo [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c index d0ca3007b4f2..a06777c35fc0 100644 --- a/drivers/cpufreq/cppc_cpufreq.c +++ b/drivers/cpufreq/cppc_cpufreq.c @@ -98,6 +98,8 @@ static void cppc_check_hisi_workaround(void) break; } } + + acpi_put_table(tbl); } /* Callback function used to retrieve the max frequency from DMI */