Author: jchandra
Date: Mon Dec 19 19:40:11 2016
New Revision: 310289
URL: https://svnweb.freebsd.org/changeset/base/310289

Log:
  Fix whitespace issues in pl011 uart driver
  
  Fix up trailing whitespace introduced by r310190. While there,
  fix a couple of earlier whitespace errors as well.

Modified:
  head/sys/dev/uart/uart_dev_pl011.c

Modified: head/sys/dev/uart/uart_dev_pl011.c
==============================================================================
--- head/sys/dev/uart/uart_dev_pl011.c  Mon Dec 19 19:39:02 2016        
(r310288)
+++ head/sys/dev/uart/uart_dev_pl011.c  Mon Dec 19 19:40:11 2016        
(r310289)
@@ -173,7 +173,7 @@ uart_pl011_param(struct uart_bas *bas, i
                line &= ~LCR_H_PEN;
 
        /* Configure the rest */
-       line &=  ~LCR_H_FEN;
+       line &= ~LCR_H_FEN;
        ctrl |= (CR_RXE | CR_TXE | CR_UARTEN);
 
        if (bas->rclk != 0 && baudrate != 0) {
@@ -196,7 +196,7 @@ uart_pl011_init(struct uart_bas *bas, in
        /* Mask all interrupts */
        __uart_setreg(bas, UART_IMSC, __uart_getreg(bas, UART_IMSC) &
            ~IMSC_MASK_ALL);
-       
+
        uart_pl011_param(bas, baudrate, databits, stopbits, parity);
 }
 
@@ -307,7 +307,7 @@ uart_pl011_bus_attach(struct uart_softc 
        struct uart_pl011_softc *psc;
        struct uart_bas *bas;
 
-       psc = (struct uart_pl011_softc *)sc; 
+       psc = (struct uart_pl011_softc *)sc;
        bas = &sc->sc_bas;
 
        /* Enable interrupts */
@@ -373,7 +373,7 @@ uart_pl011_bus_ipend(struct uart_softc *
        uint32_t ints;
        int ipend;
 
-       psc = (struct uart_pl011_softc *)sc; 
+       psc = (struct uart_pl011_softc *)sc;
        bas = &sc->sc_bas;
 
        uart_lock(sc->sc_hwmtx);
@@ -472,7 +472,7 @@ uart_pl011_bus_transmit(struct uart_soft
        struct uart_bas *bas;
        int i;
 
-       psc = (struct uart_pl011_softc *)sc; 
+       psc = (struct uart_pl011_softc *)sc;
        bas = &sc->sc_bas;
        uart_lock(sc->sc_hwmtx);
 
@@ -504,7 +504,7 @@ uart_pl011_bus_grab(struct uart_softc *s
        struct uart_pl011_softc *psc;
        struct uart_bas *bas;
 
-       psc = (struct uart_pl011_softc *)sc; 
+       psc = (struct uart_pl011_softc *)sc;
        bas = &sc->sc_bas;
 
        /* Disable interrupts on switch to polling */
@@ -519,7 +519,7 @@ uart_pl011_bus_ungrab(struct uart_softc 
        struct uart_pl011_softc *psc;
        struct uart_bas *bas;
 
-       psc = (struct uart_pl011_softc *) sc; 
+       psc = (struct uart_pl011_softc *)sc;
        bas = &sc->sc_bas;
 
        /* Switch to using interrupts while not grabbed */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to