Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom spaces to tabs



details:   https://anonhg.NetBSD.org/src/rev/3e027a91bd1c
branches:  trunk
changeset: 826669:3e027a91bd1c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Sep 21 19:28:14 2017 +0000

description:
spaces to tabs

diffstat:

 sys/arch/arm/broadcom/bcm2835_gpio.c |  12 ++++++------
 sys/arch/arm/broadcom/bcm2835_tmr.c  |   6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (70 lines):

diff -r b91853efbb93 -r 3e027a91bd1c sys/arch/arm/broadcom/bcm2835_gpio.c
--- a/sys/arch/arm/broadcom/bcm2835_gpio.c      Thu Sep 21 18:50:08 2017 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_gpio.c      Thu Sep 21 19:28:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_gpio.c,v 1.3 2016/02/02 13:55:50 skrll Exp $   */
+/*     $NetBSD: bcm2835_gpio.c,v 1.4 2017/09/21 19:28:14 skrll Exp $   */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.3 2016/02/02 13:55:50 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.4 2017/09/21 19:28:14 skrll Exp $");
 
 /*
  * Driver for BCM2835 GPIO
@@ -154,12 +154,12 @@
                        sc->sc_gpio_pins[epin].pin_state =
                                bcm2835gpio_gpio_pin_read(sc, epin);
                        DPRINTF(1, ("%s: attach pin %d\n", device_xname(sc->sc_dev), pin));
-                } else {
+               } else {
                        sc->sc_gpio_pins[epin].pin_caps = 0;
                        sc->sc_gpio_pins[epin].pin_state = 0;
                        DPRINTF(1, ("%s: skip pin %d - func = 0x%x\n", device_xname(sc->sc_dev), pin, func));
-                }
-        }
+               }
+       }
        
        /* create controller tag */
        sc->sc_gpio_gc.gp_cookie = sc;
@@ -241,7 +241,7 @@
                if ((flags & GPIO_PIN_INPUT) || !(flags & GPIO_PIN_OUTPUT)) {
                        /* for safety INPUT will overide output */
                        bcm2835gpio_function_select(epin, BCM2835_GPIO_IN);
-                } else {
+               } else {
                        bcm2835gpio_function_select(epin, BCM2835_GPIO_OUT);
                }
        }
diff -r b91853efbb93 -r 3e027a91bd1c sys/arch/arm/broadcom/bcm2835_tmr.c
--- a/sys/arch/arm/broadcom/bcm2835_tmr.c       Thu Sep 21 18:50:08 2017 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_tmr.c       Thu Sep 21 19:28:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_tmr.c,v 1.7 2015/07/29 14:22:49 skrll Exp $    */
+/*     $NetBSD: bcm2835_tmr.c,v 1.8 2017/09/21 19:28:14 skrll Exp $    */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_tmr.c,v 1.7 2015/07/29 14:22:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_tmr.c,v 1.8 2017/09/21 19:28:14 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -105,7 +105,7 @@
 static void
 bcmtmr_attach(device_t parent, device_t self, void *aux)
 {
-        struct bcm2835tmr_softc *sc = device_private(self);
+       struct bcm2835tmr_softc *sc = device_private(self);
        struct amba_attach_args *aaa = aux;
 
        aprint_naive("\n");



Home | Main Index | Thread Index | Old Index