tpm: fix typo in kernel doc
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 Jul 2018 20:35:06 +0000 (22:35 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 28 Jul 2018 15:55:31 +0000 (11:55 -0400)
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>
include/tpm-common.h

index 734c2c9d5398acf75939dfefc5f9ec5e7c42b87d..68bf8fd62799f5bd4bd536d5c7351bb919fb8e62 100644 (file)
@@ -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);