[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230912170248.11007-1-jforbes@fedoraproject.org>
Date: Tue, 12 Sep 2023 12:02:47 -0500
From: "Justin M. Forbes" <jforbes@...oraproject.org>
To: Peter Huewe <peterhuewe@....de>,
Jarkko Sakkinen <jarkko@...nel.org>,
Jason Gunthorpe <jgg@...pe.ca>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Ivan Orlov <ivan.orlov0322@...il.com>,
linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: "Justin M. Forbes" <jforbes@...oraproject.org>
Subject: [PATCH v2] tpm: Fix typo in tpmrm class definition
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@...oraproject.org>
---
drivers/char/tpm/tpm-chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c
index 23f6f2eda84c..42b1062e33cd 100644
--- a/drivers/char/tpm/tpm-chip.c
+++ b/drivers/char/tpm/tpm-chip.c
@@ -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;
--
2.41.0
Powered by blists - more mailing lists