From 350988ff1a12cbbd47f413d542c2967308f723ab Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 19 Jul 2018 22:35:06 +0200 Subject: [PATCH] tpm: fix typo in kernel doc The udevice given to the open() function of course must be opened, not closed. Signed-off-by: Miquel Raynal Reviewed-by: Simon Glass --- include/tpm-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tpm-common.h b/include/tpm-common.h index 734c2c9d53..68bf8fd627 100644 --- a/include/tpm-common.h +++ b/include/tpm-common.h @@ -71,7 +71,7 @@ struct tpm_ops { * After all commands have been completed the caller should call * close(). * - * @dev: Device to close + * @dev: Device to open * @return 0 ok OK, -ve on error */ int (*open)(struct udevice *dev); -- 2.39.5