From 3b3cebdd3ed67f10aff8d952915b8fec19150e7e Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Tue, 14 Dec 2021 13:11:41 +0200 Subject: [PATCH] typo: fix type for word "instance" Signed-off-by: Petro Karashchenko --- 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 ebff0fc10c..673bd9a8a4 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 3d59d5b1e0..f5e6f35d62 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 703dedce11..78e61ba3c8 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 17929934da..d271f6b1b8 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. * ****************************************************************************/