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:
Linus Torvalds
2026-08-23 08:29:33 -07:00

View File

@@ -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);
}
}