mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 02:21:39 -04:00
Merge tag 'for-next-keys-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull TPM update from Jarkko Sakkinen: "Just a single bug fix" * tag 'for-next-keys-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: KEYS: trusted: Fix TPM teardown ordering
This commit is contained in:
@@ -987,9 +987,9 @@ static int __init trusted_tpm_init(void)
|
||||
static void trusted_tpm_exit(void)
|
||||
{
|
||||
if (chip) {
|
||||
unregister_key_type(&key_type_trusted);
|
||||
put_device(&chip->dev);
|
||||
kfree(digests);
|
||||
unregister_key_type(&key_type_trusted);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user