Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx Trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/7fd0186b5900
branches: trunk
changeset: 461988:7fd0186b5900
user: hkenken <hkenken%NetBSD.org@localhost>
date: Mon Jul 22 01:35:36 2019 +0000
description:
Trailing whitespace
diffstat:
sys/arch/arm/imx/imx31_gpio.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (63 lines):
diff -r 2200a81a4118 -r 7fd0186b5900 sys/arch/arm/imx/imx31_gpio.c
--- a/sys/arch/arm/imx/imx31_gpio.c Sun Jul 21 21:07:12 2019 +0000
+++ b/sys/arch/arm/imx/imx31_gpio.c Mon Jul 22 01:35:36 2019 +0000
@@ -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_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 @@
*/
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 @@
old = GPIO_READ(gpio, GPIO_DR);
if (value)
- new = old | mask;
+ new = old | mask;
else
new = old & ~mask;
Home |
Main Index |
Thread Index |
Old Index