Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/rockchip device_printf -> aprint_debug



details:   https://anonhg.NetBSD.org/src/rev/9ac3713ec4cc
branches:  trunk
changeset: 323703:9ac3713ec4cc
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jun 26 17:44:04 2018 +0000

description:
device_printf -> aprint_debug

diffstat:

 sys/arch/arm/rockchip/rk_cru.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r fcfaa90e2f87 -r 9ac3713ec4cc sys/arch/arm/rockchip/rk_cru.c
--- a/sys/arch/arm/rockchip/rk_cru.c    Tue Jun 26 17:13:41 2018 +0000
+++ b/sys/arch/arm/rockchip/rk_cru.c    Tue Jun 26 17:44:04 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_cru.c,v 1.2 2018/06/17 11:52:38 jmcneill Exp $ */
+/* $NetBSD: rk_cru.c,v 1.3 2018/06/26 17:44:04 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
 #include "opt_fdt_arm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_cru.c,v 1.2 2018/06/17 11:52:38 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_cru.c,v 1.3 2018/06/26 17:44:04 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -367,13 +367,13 @@
                default:                        type = "???"; break;
                }
 
-               device_printf(sc->sc_dev,
+               aprint_debug_dev(sc->sc_dev,
                    "%3d %-14s %2s %-14s %-7s ",
                    clk->id,
                    clk->base.name,
                    clkp_parent ? "<-" : "",
                    clkp_parent ? clkp_parent->name : "",
                    type);
-               printf("%10d Hz\n", clk_get_rate(&clk->base));
+               aprint_debug("%10d Hz\n", clk_get_rate(&clk->base));
        }
 }



Home | Main Index | Thread Index | Old Index