From: Justin M. Forbes Date: Tue, 12 Sep 2023 17:02:47 +0000 (-0500) Subject: tpm: Fix typo in tpmrm class definition X-Git-Tag: v6.6-rc2~31^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ea72883a3bf11fb09dd1ad4f8328cc040263881a;p=users%2Fdwmw2%2Flinux.git 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 Signed-off-by: Jarkko Sakkinen --- diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c index 23f6f2eda84c0..42b1062e33cd5 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;