summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm-chip.c
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2023-09-12 19:02:47 +0200
committerJarkko Sakkinen <jarkko@kernel.org>2023-09-12 22:07:37 +0200
commitea72883a3bf11fb09dd1ad4f8328cc040263881a (patch)
treeab60a30cfe115cf280049c22f21b3063cd93b3ee /drivers/char/tpm/tpm-chip.c
parentMerge tag 'for-6.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-ea72883a3bf11fb09dd1ad4f8328cc040263881a.tar.xz
linux-ea72883a3bf11fb09dd1ad4f8328cc040263881a.zip
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@fedoraproject.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char/tpm/tpm-chip.c')
-rw-r--r--drivers/char/tpm/tpm-chip.c2
1 files changed, 1 insertions, 1 deletions
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;