Skip to content

Commit ea72883

Browse files
jmflinuxtxjarkkojs
authored andcommitted
tpm: Fix typo in tpmrm class definition
Commit d2e8071 ("tpm: make all 'class' structures const") unfortunately had a typo for the name on tpmrm. Fixes: d2e8071 ("tpm: make all 'class' structures const") Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
1 parent 3669558 commit ea72883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/tpm/tpm-chip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const struct class tpm_class = {
3333
.shutdown_pre = tpm_class_shutdown,
3434
};
3535
const struct class tpmrm_class = {
36-
.name = "tmprm",
36+
.name = "tpmrm",
3737
};
3838
dev_t tpm_devt;
3939

0 commit comments

Comments
 (0)