ACPI: APEI: Put the error injection table for error path and module exit
authorHanjun Guo <guohanjun@huawei.com>
Thu, 7 May 2020 09:09:16 +0000 (17:09 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 9 May 2020 09:29:17 +0000 (11:29 +0200)
commit541156a38fd01d9c01b24065bd6f361b9911be12
treee755ad7bc1e669bf1f9064814be8a75f1c808f64
parent3d995f88adb106fc67efe3fd6f6dfc6b884824a9
ACPI: APEI: Put the error injection table for error path and module exit

The mapped error injection table will be used after einj_init()
for debugfs, but it should be released for module exit and error
path of einj_init().

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/einj.c