tpm: Fix typo in tpmrm class definition
authorJustin M. Forbes <jforbes@fedoraproject.org>
Tue, 12 Sep 2023 17:02:47 +0000 (12:02 -0500)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 12 Sep 2023 20:07:37 +0000 (23:07 +0300)
Commit d2e8071bed0be ("tpm: make all 'class' structures const")
unfortunately had a typo for the name on tpmrm.

Fixes: d2e8071bed0b ("tpm: make all 'class' structures const")
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm-chip.c

index 23f6f2e..42b1062 100644 (file)
@@ -33,7 +33,7 @@ const struct class tpm_class = {
        .shutdown_pre = tpm_class_shutdown,
 };
 const struct class tpmrm_class = {
-       .name = "tmprm",
+       .name = "tpmrm",
 };
 dev_t tpm_devt;