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 <guohanjun@huawei.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Hanjun Guo 2019-12-24 09:56:30 +08:00 committed by Rafael J. Wysocki
parent c740237937
commit 80e8b1e59f

View File

@ -98,6 +98,8 @@ static void cppc_check_hisi_workaround(void)
break; break;
} }
} }
acpi_put_table(tbl);
} }
/* Callback function used to retrieve the max frequency from DMI */ /* Callback function used to retrieve the max frequency from DMI */