summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-08-27 09:40:19 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-08-27 09:40:19 -0600
commite84937a34489eab1669338bf8e3bb6c07e9d7295 (patch)
tree5fcaae860d74eeaf009b81a51292b3fe6c9865fd /nuttx/drivers
parentf760141ba6b1536afc27451db9dd90d7a207ae5f (diff)
downloadpx4-nuttx-e84937a34489eab1669338bf8e3bb6c07e9d7295.tar.gz
px4-nuttx-e84937a34489eab1669338bf8e3bb6c07e9d7295.tar.bz2
px4-nuttx-e84937a34489eab1669338bf8e3bb6c07e9d7295.zip
Fix all occurrences of "the the" in documentation and comments
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/input/ads7843e.c4
-rw-r--r--nuttx/drivers/input/max11802.c4
-rw-r--r--nuttx/drivers/input/stmpe811_tsc.c4
-rw-r--r--nuttx/drivers/input/tsc2007.c4
-rw-r--r--nuttx/drivers/lcd/Kconfig8
-rw-r--r--nuttx/drivers/lcd/ssd1289.c2
-rw-r--r--nuttx/drivers/mmcsd/mmcsd_sdio.c4
-rw-r--r--nuttx/drivers/mtd/sst25.c2
-rw-r--r--nuttx/drivers/mtd/w25.c2
-rw-r--r--nuttx/drivers/net/e1000.c2
-rw-r--r--nuttx/drivers/net/enc28j60.c4
-rw-r--r--nuttx/drivers/net/vnet.c2
-rw-r--r--nuttx/drivers/power/pm_update.c2
-rw-r--r--nuttx/drivers/serial/serial.c2
-rw-r--r--nuttx/drivers/usbdev/cdcacm_desc.c2
15 files changed, 24 insertions, 24 deletions
diff --git a/nuttx/drivers/input/ads7843e.c b/nuttx/drivers/input/ads7843e.c
index b8f4f16e6..fbb1fdec4 100644
--- a/nuttx/drivers/input/ads7843e.c
+++ b/nuttx/drivers/input/ads7843e.c
@@ -130,7 +130,7 @@ static int ads7843e_poll(FAR struct file *filep, struct pollfd *fds, bool setup)
* Private Data
****************************************************************************/
-/* This the the vtable that supports the character driver interface */
+/* This the vtable that supports the character driver interface */
static const struct file_operations ads7843e_fops =
{
@@ -480,7 +480,7 @@ static int ads7843e_waitsample(FAR struct ads7843e_dev_s *priv,
ivdbg("Sampled\n");
- /* Re-acquire the the semaphore that manages mutually exclusive access to
+ /* Re-acquire the semaphore that manages mutually exclusive access to
* the device structure. We may have to wait here. But we have our sample.
* Interrupts and pre-emption will be re-enabled while we wait.
*/
diff --git a/nuttx/drivers/input/max11802.c b/nuttx/drivers/input/max11802.c
index 493a2a99b..ebb261833 100644
--- a/nuttx/drivers/input/max11802.c
+++ b/nuttx/drivers/input/max11802.c
@@ -124,7 +124,7 @@ static int max11802_poll(FAR struct file *filep, struct pollfd *fds, bool setup)
* Private Data
****************************************************************************/
-/* This the the vtable that supports the character driver interface */
+/* This the vtable that supports the character driver interface */
static const struct file_operations max11802_fops =
{
@@ -436,7 +436,7 @@ static int max11802_waitsample(FAR struct max11802_dev_s *priv,
ivdbg("Sampled\n");
- /* Re-acquire the the semaphore that manages mutually exclusive access to
+ /* Re-acquire the semaphore that manages mutually exclusive access to
* the device structure. We may have to wait here. But we have our sample.
* Interrupts and pre-emption will be re-enabled while we wait.
*/
diff --git a/nuttx/drivers/input/stmpe811_tsc.c b/nuttx/drivers/input/stmpe811_tsc.c
index c7f8b473b..29f394b68 100644
--- a/nuttx/drivers/input/stmpe811_tsc.c
+++ b/nuttx/drivers/input/stmpe811_tsc.c
@@ -137,7 +137,7 @@ static inline void stmpe811_tscinitialize(FAR struct stmpe811_dev_s *priv);
* Private Data
****************************************************************************/
-/* This the the vtable that supports the character driver interface */
+/* This the vtable that supports the character driver interface */
static const struct file_operations g_stmpe811fops =
{
@@ -323,7 +323,7 @@ static inline int stmpe811_waitsample(FAR struct stmpe811_dev_s *priv,
}
}
- /* Re-acquire the the semaphore that manages mutually exclusive access to
+ /* Re-acquire the semaphore that manages mutually exclusive access to
* the device structure. We may have to wait here. But we have our sample.
* Interrupts and pre-emption will be re-enabled while we wait.
*/
diff --git a/nuttx/drivers/input/tsc2007.c b/nuttx/drivers/input/tsc2007.c
index 163118b95..bd2450687 100644
--- a/nuttx/drivers/input/tsc2007.c
+++ b/nuttx/drivers/input/tsc2007.c
@@ -209,7 +209,7 @@ static int tsc2007_poll(FAR struct file *filep, struct pollfd *fds, bool setup);
* Private Data
****************************************************************************/
-/* This the the vtable that supports the character driver interface */
+/* This the vtable that supports the character driver interface */
static const struct file_operations tsc2007_fops =
{
@@ -390,7 +390,7 @@ static int tsc2007_waitsample(FAR struct tsc2007_dev_s *priv,
}
}
- /* Re-acquire the the semaphore that manages mutually exclusive access to
+ /* Re-acquire the semaphore that manages mutually exclusive access to
* the device structure. We may have to wait here. But we have our sample.
* Interrupts and pre-emption will be re-enabled while we wait.
*/
diff --git a/nuttx/drivers/lcd/Kconfig b/nuttx/drivers/lcd/Kconfig
index 2f956963b..b1fb7cb9c 100644
--- a/nuttx/drivers/lcd/Kconfig
+++ b/nuttx/drivers/lcd/Kconfig
@@ -446,28 +446,28 @@ config LCD_LANDSCAPE
bool "Landscape orientation"
---help---
Define for "landscape" orientation support. Landscape mode refers one
- of two orientations where the the display is wider than it is tall
+ of two orientations where the display is wider than it is tall
(LCD_RLANDSCAPE is the other). This is the default orientation.
config LCD_PORTRAIT
bool "Portrait orientation"
---help---
Define for "portrait" orientation support. Portrait mode refers one
- of two orientations where the the display is taller than it is wide
+ of two orientations where the display is taller than it is wide
(LCD_RPORTAIT is the other).
config LCD_RPORTRAIT
bool "Reverse portrait display"
---help---
Define for "reverse portrait" orientation support. Reverse portrait mode
- refers one of two orientations where the the display is taller than it is
+ refers one of two orientations where the display is taller than it is
wide (LCD_PORTAIT is the other).
config LCD_RLANDSCAPE
bool "Reverse landscape orientation"
---help---
Define for "reverse landscape" orientation support. Reverse landscape mode
- refers one of two orientations where the the display is wider than it is
+ refers one of two orientations where the display is wider than it is
tall (LCD_LANDSCAPE is the other).
endchoice
diff --git a/nuttx/drivers/lcd/ssd1289.c b/nuttx/drivers/lcd/ssd1289.c
index 75abdb1ac..3a587818b 100644
--- a/nuttx/drivers/lcd/ssd1289.c
+++ b/nuttx/drivers/lcd/ssd1289.c
@@ -1108,7 +1108,7 @@ static inline int ssd1289_hwinitialize(FAR struct ssd1289_dev_s *priv)
ssd1289_putreg(lcd, SSD1289_PWRCTRL4, PWRCTRL4_SETTING);
ssd1289_putreg(lcd, SSD1289_PWRCTRL5, PWRCTRL5_SETTING);
- /* One driver does an odd setting of the the driver output control.
+ /* One driver does an odd setting of the driver output control.
* No idea why.
*/
#if 0
diff --git a/nuttx/drivers/mmcsd/mmcsd_sdio.c b/nuttx/drivers/mmcsd/mmcsd_sdio.c
index 0ce842ae2..b2a0e99d6 100644
--- a/nuttx/drivers/mmcsd/mmcsd_sdio.c
+++ b/nuttx/drivers/mmcsd/mmcsd_sdio.c
@@ -1042,7 +1042,7 @@ static int mmcsd_verifystate(FAR struct mmcsd_state_s *priv, uint32_t state)
* Name: mmcsd_wrprotected
*
* Description:
- * Return true if the the card is unlocked an not write protected. The
+ * Return true if the card is unlocked an not write protected. The
*
*
****************************************************************************/
@@ -2763,7 +2763,7 @@ static int mmcsd_cardidentify(FAR struct mmcsd_state_s *priv)
* connected (This implementation supports only a single MMC card). So
* we cannot re-send CMD1 without first placing the card back into
* stand-by state (if the card is busy, it will automatically
- * go back to the the standby state).
+ * go back to the standby state).
*/
mmcsd_sendcmdpoll(priv, MMC_CMD1, MMCSD_VDD_33_34);
diff --git a/nuttx/drivers/mtd/sst25.c b/nuttx/drivers/mtd/sst25.c
index fc4e5b36d..3ed4f577a 100644
--- a/nuttx/drivers/mtd/sst25.c
+++ b/nuttx/drivers/mtd/sst25.c
@@ -1223,7 +1223,7 @@ FAR struct mtd_dev_s *sst25_initialize(FAR struct spi_dev_s *dev)
}
else
{
- /* Make sure the the FLASH is unprotected so that we can write into it */
+ /* Make sure that the FLASH is unprotected so that we can write into it */
#ifndef CONFIG_SST25_READONLY
sst25_unprotect(priv->dev);
diff --git a/nuttx/drivers/mtd/w25.c b/nuttx/drivers/mtd/w25.c
index 861e19ab5..b87dba044 100644
--- a/nuttx/drivers/mtd/w25.c
+++ b/nuttx/drivers/mtd/w25.c
@@ -1152,7 +1152,7 @@ FAR struct mtd_dev_s *w25_initialize(FAR struct spi_dev_s *spi)
}
else
{
- /* Make sure the the FLASH is unprotected so that we can write into it */
+ /* Make sure that the FLASH is unprotected so that we can write into it */
#ifndef CONFIG_W25_READONLY
w25_unprotect(priv);
diff --git a/nuttx/drivers/net/e1000.c b/nuttx/drivers/net/e1000.c
index e894a1dd2..3ae5aa0ba 100644
--- a/nuttx/drivers/net/e1000.c
+++ b/nuttx/drivers/net/e1000.c
@@ -703,7 +703,7 @@ static int e1000_ifdown(struct uip_driver_s *dev)
wd_cancel(e1000->txpoll);
wd_cancel(e1000->txtimeout);
- /* Put the the EMAC is its reset, non-operational state. This should be
+ /* Put the EMAC is its reset, non-operational state. This should be
* a known configuration that will guarantee the skel_ifup() always
* successfully brings the interface back up.
*/
diff --git a/nuttx/drivers/net/enc28j60.c b/nuttx/drivers/net/enc28j60.c
index 6d5802f66..d931b876b 100644
--- a/nuttx/drivers/net/enc28j60.c
+++ b/nuttx/drivers/net/enc28j60.c
@@ -448,7 +448,7 @@ static inline void enc_unlock(FAR struct enc_driver_s *priv)
*
* Description:
* Read a global register (EIE, EIR, ESTAT, ECON2, or ECON1). The cmd
- * include the CMD 'OR'd with the the global address register.
+ * include the CMD 'OR'd with the global address register.
*
* Parameters:
* priv - Reference to the driver state structure
@@ -491,7 +491,7 @@ static uint8_t enc_rdgreg2(FAR struct enc_driver_s *priv, uint8_t cmd)
*
* Description:
* Write to a global register (EIE, EIR, ESTAT, ECON2, or ECON1). The cmd
- * include the CMD 'OR'd with the the global address register.
+ * include the CMD 'OR'd with the global address register.
*
* Parameters:
* priv - Reference to the driver state structure
diff --git a/nuttx/drivers/net/vnet.c b/nuttx/drivers/net/vnet.c
index e05a39675..2eaf1c485 100644
--- a/nuttx/drivers/net/vnet.c
+++ b/nuttx/drivers/net/vnet.c
@@ -489,7 +489,7 @@ static int vnet_ifdown(struct uip_driver_s *dev)
wd_cancel(vnet->sk_txpoll);
//wd_cancel(vnet->sk_txtimeout);
- /* Put the the EMAC is its reset, non-operational state. This should be
+ /* Put the EMAC is its reset, non-operational state. This should be
* a known configuration that will guarantee the vnet_ifup() always
* successfully brings the interface back up.
*/
diff --git a/nuttx/drivers/power/pm_update.c b/nuttx/drivers/power/pm_update.c
index 4b6b58c55..247665e0c 100644
--- a/nuttx/drivers/power/pm_update.c
+++ b/nuttx/drivers/power/pm_update.c
@@ -278,7 +278,7 @@ void pm_worker(FAR void *arg)
else if (g_pmglobals.recommended < nextstate)
{
- /* No.. increment the count. Has is passed the the count required
+ /* No.. increment the count. Has it passed the count required
* for a state transition?
*/
diff --git a/nuttx/drivers/serial/serial.c b/nuttx/drivers/serial/serial.c
index d452b6b4b..c71f80bca 100644
--- a/nuttx/drivers/serial/serial.c
+++ b/nuttx/drivers/serial/serial.c
@@ -207,7 +207,7 @@ static int uart_putxmitchar(FAR uart_dev_t *dev, int ch, bool oktoblock)
}
/* The buffer is full and no data is available now. Should be block,
- * waiting for the the hardware to remove some data from the TX
+ * waiting for the hardware to remove some data from the TX
* buffer?
*/
diff --git a/nuttx/drivers/usbdev/cdcacm_desc.c b/nuttx/drivers/usbdev/cdcacm_desc.c
index fde13bfd3..5d60df612 100644
--- a/nuttx/drivers/usbdev/cdcacm_desc.c
+++ b/nuttx/drivers/usbdev/cdcacm_desc.c
@@ -272,7 +272,7 @@ static const struct usb_epdesc_s g_epbulkindesc =
1 /* interval */
};
-/* The components of the the configuration descriptor are maintained as
+/* The components of the configuration descriptor are maintained as
* a collection of separate descriptor structure coordinated by the
* following array. These descriptors could have been combined into
* one larger "super" configuration descriptor structure. However, I