[U-Boot] [PATCH 1/6] tpm: fix typo in kernel doc
Miquel Raynal
miquel.raynal at bootlin.com
Sat Jul 14 12:16:28 UTC 2018
The udevice given to the open() function of course must be opened,
not closed.
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
---
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.14.1
More information about the U-Boot
mailing list