Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev tidy up output by moving linebreak to be...



details:   https://anonhg.NetBSD.org/src/rev/80ca72f5b73f
branches:  trunk
changeset: 354999:80ca72f5b73f
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Jul 07 22:34:20 2017 +0000

description:
tidy up output by moving linebreak to before we attach children

diffstat:

 sys/arch/macppc/dev/smuiic.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 3134c55ab6a3 -r 80ca72f5b73f sys/arch/macppc/dev/smuiic.c
--- a/sys/arch/macppc/dev/smuiic.c      Fri Jul 07 22:30:28 2017 +0000
+++ b/sys/arch/macppc/dev/smuiic.c      Fri Jul 07 22:34:20 2017 +0000
@@ -78,8 +78,10 @@
        sc->sc_dev = self;
        sc->sc_node = ca->ca_node;
        sc->sc_i2c = ca->ca_tag;
+       printf("\n");
 
        iba.iba_tag = sc->sc_i2c;
+
        config_found_ia(sc->sc_dev, "i2cbus", &iba, iicbus_print);
 
        for (node = OF_child(sc->sc_node); node != 0; node = OF_peer(node)) {
@@ -95,8 +97,6 @@
                sca.ca_tag = sc->sc_i2c;
                config_found_ia(sc->sc_dev, "smuiic", &sca, smuiic_print);
        }
-
-       printf("\n");
 }
 
 static int



Home | Main Index | Thread Index | Old Index