Code syntax updates as per checkpatch ouput

Signed-off-by: Charlie Paul <cpaul.windri...@gmail.com>
---
 drivers/tty/serial/lsi_acp_serial.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/lsi_acp_serial.c 
b/drivers/tty/serial/lsi_acp_serial.c
index aa92920..c03f29b 100644
--- a/drivers/tty/serial/lsi_acp_serial.c
+++ b/drivers/tty/serial/lsi_acp_serial.c
@@ -424,7 +424,7 @@ unsigned int acp_serial_get_mctrl(struct uart_port *port)
 #define TIOCMBIT(uartbit, tiocmbit) do { \
        if (status & (uartbit))          \
                result |= (tiocmbit);    \
-} while (0);
+} while (0)
        TIOCMBIT(UART01x_FR_DCD, TIOCM_CAR);
        TIOCMBIT(UART01x_FR_DSR, TIOCM_DSR);
        TIOCMBIT(UART01x_FR_CTS, TIOCM_CTS);
@@ -445,7 +445,7 @@ void acp_serial_set_mctrl(struct uart_port *port, unsigned 
int mctrl)
                cr |= uartbit;           \
        else                             \
                cr &= ~uartbit;          \
-} while (0);
+} while (0)
 
        TIOCMBIT(TIOCM_RTS, UART011_CR_RTS);
        TIOCMBIT(TIOCM_DTR, UART011_CR_DTR);
-- 
1.7.9.5

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to