Trivial, cosmetic typos in comments

This commit is contained in:
Gregory Nutt 2014-10-19 18:59:11 -06:00
parent 1524c67a17
commit 33a12dfb84

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* arch/mips/src/kl/kl_serial.c * arch/arm/src/kl/kl_serial.c
* *
* Copyright (C) 2013-2012 Gregory Nutt. All rights reserved. * Copyright (C) 2013-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -497,7 +497,7 @@ static void up_detach(struct uart_dev_s *dev)
* interrupt received on the 'irq' It should call uart_transmitchars or * interrupt received on the 'irq' It should call uart_transmitchars or
* uart_receivechar to perform the appropriate data transfers. The * uart_receivechar to perform the appropriate data transfers. The
* interrupt handling logic must be able to map the 'irq' number into the * interrupt handling logic must be able to map the 'irq' number into the
* approprite uart_dev_s structure in order to call these functions. * appropriate uart_dev_s structure in order to call these functions.
* *
****************************************************************************/ ****************************************************************************/
@ -700,8 +700,8 @@ static void up_rxint(struct uart_dev_s *dev, bool enable)
flags = irqsave(); flags = irqsave();
if (enable) if (enable)
{ {
/* Receive an interrupt when their is anything in the Rx data register (or an Rx /* Receive an interrupt when their is anything in the Rx data register
* timeout occurs). * (or an Rx timeout occurs).
*/ */
#ifndef CONFIG_SUPPRESS_SERIAL_INTS #ifndef CONFIG_SUPPRESS_SERIAL_INTS
@ -827,8 +827,8 @@ static bool up_txready(struct uart_dev_s *dev)
* Performs the low level UART initialization early in debug so that the * Performs the low level UART initialization early in debug so that the
* serial console will be available during bootup. This must be called * serial console will be available during bootup. This must be called
* before up_serialinit. NOTE: This function depends on GPIO pin * before up_serialinit. NOTE: This function depends on GPIO pin
* configuration performed in up_consoleinit() and main clock iniialization * configuration performed in up_consoleinit() and main clock
* performed in up_clkinitialize(). * initialization performed in up_clkinitialize().
* *
****************************************************************************/ ****************************************************************************/
@ -867,8 +867,8 @@ void up_earlyserialinit(void)
* Name: up_serialinit * Name: up_serialinit
* *
* Description: * Description:
* Register serial console and serial ports. This assumes * Register serial console and serial ports. This assumes that
* that up_earlyserialinit was called previously. * up_earlyserialinit was called previously.
* *
****************************************************************************/ ****************************************************************************/
@ -973,4 +973,3 @@ int up_getc(void)
return kl_lowgetc(); return kl_lowgetc();
} }
#endif /* USE_SERIALDRIVER */ #endif /* USE_SERIALDRIVER */