Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/omap Remove white-spaces.



details:   https://anonhg.NetBSD.org/src/rev/b650d82e614f
branches:  trunk
changeset: 346353:b650d82e614f
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Jul 09 15:04:06 2016 +0000

description:
Remove white-spaces.

diffstat:

 sys/arch/arm/omap/omap2_gpio.c |  22 +++++++++++-----------
 sys/arch/arm/omap/omap_edma.c  |   6 +++---
 2 files changed, 14 insertions(+), 14 deletions(-)

diffs (109 lines):

diff -r 39fbfbec01a0 -r b650d82e614f sys/arch/arm/omap/omap2_gpio.c
--- a/sys/arch/arm/omap/omap2_gpio.c    Sat Jul 09 09:33:21 2016 +0000
+++ b/sys/arch/arm/omap/omap2_gpio.c    Sat Jul 09 15:04:06 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: omap2_gpio.c,v 1.16 2013/06/15 21:59:37 matt Exp $     */
+/*     $NetBSD: omap2_gpio.c,v 1.17 2016/07/09 15:04:06 kiyohara Exp $ */
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -28,22 +28,22 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.16 2013/06/15 21:59:37 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.17 2016/07/09 15:04:06 kiyohara Exp $");
 
 #define _INTR_PRIVATE
 
 #include "locators.h"
 #include "gpio.h"
 #include "opt_omap.h"
- 
+
 #include <sys/param.h>
 #include <sys/evcnt.h>
 #include <sys/atomic.h>
- 
+
 #include <uvm/uvm_extern.h>
-  
+
 #include <machine/intr.h>
- 
+
 #include <arm/cpu.h>
 #include <arm/armreg.h>
 #include <arm/cpufunc.h>
@@ -175,7 +175,7 @@
        GPIO_WRITE(gpio, GPIO_IRQSTATUS1, irq_mask);
 
        /*
-        * Convert the type to a gpio type and figure out which bits in what 
+        * Convert the type to a gpio type and figure out which bits in what
         * register we have to tweak.
         */
        gpio->gpio_edge_rising_mask &= ~irq_mask;
@@ -209,7 +209,7 @@
         */
        v = GPIO_READ(gpio, GPIO_OE);
        v |= irq_mask;
-       GPIO_WRITE(gpio, GPIO_OE, v); 
+       GPIO_WRITE(gpio, GPIO_OE, v);
 #if 0
        for (i = 0, maybe_is = NULL; i < 32; i++) {
                if ((is = pic->pic_sources[i]) != NULL) {
@@ -222,7 +222,7 @@
                KASSERT(is != NULL);
                is->is_ipl = maybe_is->is_ipl;
                (*is->is_pic->pic_ops->pic_establish_irq)(is->is_pic, is);
-       } 
+       }
 #endif
 }
 
@@ -253,7 +253,7 @@
 
        old = GPIO_READ(gpio, GPIO_DATAOUT);
        if (value)
-               new = old | mask; 
+               new = old | mask;
        else
                new = old & ~mask;
 
@@ -438,7 +438,7 @@
                pic_add(&gpio->gpio_pic, oa->obio_intrbase);
                aprint_normal(": interrupts %d..%d",
                    oa->obio_intrbase, oa->obio_intrbase + 31);
-               gpio->gpio_is = intr_establish(oa->obio_intr, 
+               gpio->gpio_is = intr_establish(oa->obio_intr,
                    IPL_HIGH, IST_LEVEL, pic_handle_intr, &gpio->gpio_pic);
                KASSERT(gpio->gpio_is != NULL);
                aprint_normal(", intr %d", oa->obio_intr);
diff -r 39fbfbec01a0 -r b650d82e614f sys/arch/arm/omap/omap_edma.c
--- a/sys/arch/arm/omap/omap_edma.c     Sat Jul 09 09:33:21 2016 +0000
+++ b/sys/arch/arm/omap/omap_edma.c     Sat Jul 09 15:04:06 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap_edma.c,v 1.2 2016/07/04 15:35:55 kiyohara Exp $ */
+/* $NetBSD: omap_edma.c,v 1.3 2016/07/09 15:04:06 kiyohara Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap_edma.c,v 1.2 2016/07/04 15:35:55 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap_edma.c,v 1.3 2016/07/09 15:04:06 kiyohara Exp $");
 
 #include "opt_omap.h"
 
@@ -504,7 +504,7 @@
        bus_size_t off = (ch->ch_index < 32 ? 0 : 4);
        uint32_t bit = __BIT(ch->ch_index < 32 ?
                             ch->ch_index : ch->ch_index - 32);
-       
+
        EDMA_WRITE(sc, EDMA_EECR_REG + off, bit);
        EDMA_WRITE(sc, EDMA_ECR_REG + off, bit);
        EDMA_WRITE(sc, EDMA_SECR_REG + off, bit);



Home | Main Index | Thread Index | Old Index