You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/12/14 12:39:41 UTC

[incubator-nuttx] branch master updated: typo: fix type for word "instance"

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b3cebd  typo: fix type for word "instance"
3b3cebd is described below

commit 3b3cebdd3ed67f10aff8d952915b8fec19150e7e
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Tue Dec 14 13:11:41 2021 +0200

    typo: fix type for word "instance"
    
    Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
 drivers/mtd/mtd_nand.c   | 2 +-
 drivers/net/enc28j60.c   | 2 +-
 drivers/net/encx24j600.c | 2 +-
 include/nuttx/mtd/nand.h | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/mtd/mtd_nand.c b/drivers/mtd/mtd_nand.c
index ebff0fc..673bd9a 100644
--- a/drivers/mtd/mtd_nand.c
+++ b/drivers/mtd/mtd_nand.c
@@ -851,7 +851,7 @@ static int nand_ioctl(struct mtd_dev_s *dev, int cmd, unsigned long arg)
  *              driver instance.
  *
  * Returned Value:
- *   A non-NULL MTD driver intstance is returned on success.  NULL is
+ *   A non-NULL MTD driver instance is returned on success.  NULL is
  *   returned on any failaure.
  *
  ****************************************************************************/
diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c
index 3d59d5b..f5e6f35 100644
--- a/drivers/net/enc28j60.c
+++ b/drivers/net/enc28j60.c
@@ -240,7 +240,7 @@ struct enc_driver_s
   struct work_s         towork;        /* Tx timeout work queue support */
   struct work_s         pollwork;      /* Poll timeout work queue support */
 
-  /* This is the contained SPI driver intstance */
+  /* This is the contained SPI driver instance */
 
   FAR struct spi_dev_s *spi;
 
diff --git a/drivers/net/encx24j600.c b/drivers/net/encx24j600.c
index 703dedc..78e61ba 100644
--- a/drivers/net/encx24j600.c
+++ b/drivers/net/encx24j600.c
@@ -243,7 +243,7 @@ struct enc_driver_s
   sq_queue_t            txqueue;       /* Enqueued descriptors waiting for transmission */
   sq_queue_t            rxqueue;       /* Unhandled incoming packets waiting for reception */
 
-  /* This is the contained SPI driver intstance */
+  /* This is the contained SPI driver instance */
 
   FAR struct spi_dev_s *spi;
 
diff --git a/include/nuttx/mtd/nand.h b/include/nuttx/mtd/nand.h
index 1792993..d271f6b 100644
--- a/include/nuttx/mtd/nand.h
+++ b/include/nuttx/mtd/nand.h
@@ -97,7 +97,7 @@ extern "C"
  *   raw      - Lower-half, raw NAND FLASH interface
  *
  * Returned Value:
- *   A non-NULL MTD driver intstance is returned on success.  NULL is
+ *   A non-NULL MTD driver instance is returned on success.  NULL is
  *   returned on any failaure.
  *
  ****************************************************************************/