Commit 350988ff authored by Miquel Raynal's avatar Miquel Raynal Committed by Tom Rini
Browse files

tpm: fix typo in kernel doc



The udevice given to the open() function of course must be opened,
not closed.
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 0e8a8a31
...@@ -71,7 +71,7 @@ struct tpm_ops { ...@@ -71,7 +71,7 @@ struct tpm_ops {
* After all commands have been completed the caller should call * After all commands have been completed the caller should call
* close(). * close().
* *
* @dev: Device to close * @dev: Device to open
* @return 0 ok OK, -ve on error * @return 0 ok OK, -ve on error
*/ */
int (*open)(struct udevice *dev); int (*open)(struct udevice *dev);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment