tpm: Use managed allocation for bios event log
[ Upstream commit 441b7152 ] Since the bios event log is freed in the device release function, let devres handle the deallocation. This will allow other memory allocation/mapping functions to be used for the bios event log. Signed-off-by:Eddie James <eajames@linux.ibm.com> Tested-by:
Jarkko Sakkinen <jarkko@kernel.org> Reviewed-by:
Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by:
Jarkko Sakkinen <jarkko@kernel.org> Stable-dep-of: a3a860bc ("tpm: Change to kvalloc() in eventlog/acpi.c") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading