Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Whitespace. No functional change.
details: https://anonhg.NetBSD.org/src/rev/d89e7a3337c0
branches: trunk
changeset: 372948:d89e7a3337c0
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Sat Jan 07 03:27:01 2023 +0000
description:
Whitespace. No functional change.
diffstat:
sys/dev/ic/igpio.c | 10 +++++-----
sys/dev/ic/igpiovar.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r f3da2661582c -r d89e7a3337c0 sys/dev/ic/igpio.c
--- a/sys/dev/ic/igpio.c Sat Jan 07 03:22:02 2023 +0000
+++ b/sys/dev/ic/igpio.c Sat Jan 07 03:27:01 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: igpio.c,v 1.4 2022/03/26 19:35:56 riastradh Exp $ */
+/* $NetBSD: igpio.c,v 1.5 2023/01/07 03:27:01 msaitoh Exp $ */
/*
* Copyright (c) 2021,2022 Emmanuel Dreyfus
@@ -301,7 +301,7 @@
DPRINTF(("padbar[%d] = #%x\n", i, ib->ib_padbar));
if (ib->ib_padbar > sc->sc_length[i]) {
printf("PADBAR = #%x higher than max #%lx\n",
- ib->ib_padbar, sc->sc_length[i]);
+ ib->ib_padbar, sc->sc_length[i]);
goto out;
}
@@ -320,7 +320,7 @@
npins = 1 + ibs->ibs_last_pin - ibs->ibs_first_pin;
ib->ib_intr =
- kmem_zalloc(sizeof(*ib->ib_intr) * npins, KM_SLEEP);
+ kmem_zalloc(sizeof(*ib->ib_intr) * npins, KM_SLEEP);
sc->sc_npins += npins;
}
@@ -640,8 +640,8 @@
newval |= IGPIO_PADCFG0_RXEVCFG_EDGE_BOTH;
break;
case GPIO_INTR_NEG_EDGE:
- newval |= IGPIO_PADCFG0_RXEVCFG_EDGE;
- newval |= IGPIO_PADCFG0_RXINV;
+ newval |= IGPIO_PADCFG0_RXEVCFG_EDGE;
+ newval |= IGPIO_PADCFG0_RXINV;
break;
case GPIO_INTR_POS_EDGE:
newval |= IGPIO_PADCFG0_RXEVCFG_EDGE;
diff -r f3da2661582c -r d89e7a3337c0 sys/dev/ic/igpiovar.h
--- a/sys/dev/ic/igpiovar.h Sat Jan 07 03:22:02 2023 +0000
+++ b/sys/dev/ic/igpiovar.h Sat Jan 07 03:27:01 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: igpiovar.h,v 1.1 2022/03/24 02:24:25 manu Exp $ */
+/* $NetBSD: igpiovar.h,v 1.2 2023/01/07 03:27:01 msaitoh Exp $ */
/*
* Copyright (c) 2021 Emmanuel Dreyfus
@@ -31,7 +31,7 @@
struct igpio_softc {
device_t sc_dev;
- const char *sc_acpi_hid;
+ const char *sc_acpi_hid;
bus_space_tag_t sc_bst;
int sc_nbar;
bus_addr_t *sc_base;
Home |
Main Index |
Thread Index |
Old Index