Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/spi Trailing whitespace



details:   https://anonhg.NetBSD.org/src/rev/d8c4978ebee3
branches:  trunk
changeset: 365995:d8c4978ebee3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun May 08 06:38:58 2022 +0000

description:
Trailing whitespace

diffstat:

 sys/dev/spi/spi.c      |   6 +++---
 sys/dev/spi/spiflash.c |  14 +++++++-------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (90 lines):

diff -r efa8026f5ee8 -r d8c4978ebee3 sys/dev/spi/spi.c
--- a/sys/dev/spi/spi.c Sat May 07 21:24:52 2022 +0000
+++ b/sys/dev/spi/spi.c Sun May 08 06:38:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spi.c,v 1.24 2022/03/28 11:09:24 mlelstv Exp $ */
+/* $NetBSD: spi.c,v 1.25 2022/05/08 06:38:58 skrll Exp $ */
 
 /*-
  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spi.c,v 1.24 2022/03/28 11:09:24 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spi.c,v 1.25 2022/05/08 06:38:58 skrll Exp $");
 
 #include "locators.h"
 
@@ -544,7 +544,7 @@
        spi_acquire(sh);
 
        st->st_spiprivate = (void *)sh;
-       
+
        /*
         * Reconfigure controller
         *
diff -r efa8026f5ee8 -r d8c4978ebee3 sys/dev/spi/spiflash.c
--- a/sys/dev/spi/spiflash.c    Sat May 07 21:24:52 2022 +0000
+++ b/sys/dev/spi/spiflash.c    Sun May 08 06:38:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spiflash.c,v 1.25 2021/08/07 16:19:16 thorpej Exp $ */
+/* $NetBSD: spiflash.c,v 1.26 2022/05/08 06:38:58 skrll Exp $ */
 
 /*-
  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spiflash.c,v 1.25 2021/08/07 16:19:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spiflash.c,v 1.26 2022/05/08 06:38:58 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -384,7 +384,7 @@
                        bufq_move(sc->sc_doneq, sc->sc_workq);
                        break;
                }
-               
+
                bp->b_resid -= cnt;
                data += cnt;
                addr += cnt;
@@ -422,7 +422,7 @@
        /* read in as much of the data as we need */
        DPRINTF(("reading in %d bytes\n", len));
        if ((err = sc->sc_read(sc, base, len, save)) != 0) {
-               bufq_move(sc->sc_doneq, sc->sc_workq);  
+               bufq_move(sc->sc_doneq, sc->sc_workq);
                spiflash_process_done(sc, err);
                return;
        }
@@ -455,7 +455,7 @@
 
                bufq_put(sc->sc_doneq, bp);
        }
-       
+
        /*
         * do the erase, if we need to.
         */
@@ -578,7 +578,7 @@
        if ((start % sc->sc_erase_size) || (size % sc->sc_erase_size))
                return EINVAL;
 
-       /* the second test is to test against wrap */ 
+       /* the second test is to test against wrap */
        if ((start > sc->sc_device_size) ||
            ((start + size) > sc->sc_device_size))
                return EINVAL;
@@ -674,7 +674,7 @@
 
                if (sc->sc_read_size > 0)
                        cnt = uimin(size, sc->sc_read_size);
-               else 
+               else
                        cnt = size;
 
                if ((rv = spiflash_cmd(sc, SPIFLASH_CMD_READ, 3, start,



Home | Main Index | Thread Index | Old Index