aboutsummaryrefslogtreecommitdiff
path: root/include/tpm-common.h
diff options
context:
space:
mode:
authorMiquel Raynal2018-07-19 22:35:06 +0200
committerTom Rini2018-07-28 11:55:31 -0400
commit350988ff1a12cbbd47f413d542c2967308f723ab (patch)
tree28102fa836035d936ea7a4dd557accbc179bdd66 /include/tpm-common.h
parent0e8a8a311020d317fcfcf594e8e3fb1598134593 (diff)
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 <miquel.raynal@bootlin.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/tpm-common.h')
-rw-r--r--include/tpm-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tpm-common.h b/include/tpm-common.h
index 734c2c9d539..68bf8fd6279 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);