Module Name: src Committed By: hkenken Date: Mon Jul 22 01:35:37 UTC 2019
Modified Files: src/sys/arch/arm/imx: imx31_gpio.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/imx/imx31_gpio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/imx/imx31_gpio.c diff -u src/sys/arch/arm/imx/imx31_gpio.c:1.7 src/sys/arch/arm/imx/imx31_gpio.c:1.8 --- src/sys/arch/arm/imx/imx31_gpio.c:1.7 Sat Oct 27 17:17:39 2012 +++ src/sys/arch/arm/imx/imx31_gpio.c Mon Jul 22 01:35:36 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: imx31_gpio.c,v 1.7 2012/10/27 17:17:39 chs Exp $ */ +/* $NetBSD: imx31_gpio.c,v 1.8 2019/07/22 01:35:36 hkenken Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. * All rights reserved. @@ -28,21 +28,21 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: imx31_gpio.c,v 1.7 2012/10/27 17:17:39 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: imx31_gpio.c,v 1.8 2019/07/22 01:35:36 hkenken Exp $"); #define _INTR_PRIVATE #include "locators.h" #include "gpio.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> @@ -182,7 +182,7 @@ gpio_pic_establish_irq(struct pic_softc GPIO_WRITE(gpio, GPIO_ISR, 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. */ gtype = (GPIO_TYPEMAP >> (2 * is->is_type)) & 3; @@ -202,7 +202,7 @@ gpio_pic_establish_irq(struct pic_softc */ v = GPIO_READ(gpio, GPIO_DIR); v &= ~irq_mask; - GPIO_WRITE(gpio, GPIO_DIR, v); + GPIO_WRITE(gpio, GPIO_DIR, v); /* * Now record the type of interrupt. @@ -243,7 +243,7 @@ imxgpio_pin_write(void *arg, int pin, in old = GPIO_READ(gpio, GPIO_DR); if (value) - new = old | mask; + new = old | mask; else new = old & ~mask;