Module Name: src Committed By: jmcneill Date: Tue Jul 3 16:30:13 UTC 2018
Modified Files: src/sys/arch/arm/samsung: exynos5422_clock.c Log Message: Dump clock tree with aprint_debug instead of printf To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/exynos5422_clock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/samsung/exynos5422_clock.c diff -u src/sys/arch/arm/samsung/exynos5422_clock.c:1.9 src/sys/arch/arm/samsung/exynos5422_clock.c:1.10 --- src/sys/arch/arm/samsung/exynos5422_clock.c:1.9 Tue Jul 3 16:06:41 2018 +++ src/sys/arch/arm/samsung/exynos5422_clock.c Tue Jul 3 16:30:13 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: exynos5422_clock.c,v 1.9 2018/07/03 16:06:41 jmcneill Exp $ */ +/* $NetBSD: exynos5422_clock.c,v 1.10 2018/07/03 16:30:13 jmcneill Exp $ */ /*- * Copyright (c) 2015 Jared D. McNeill <jmcne...@invisible.ca> @@ -29,7 +29,7 @@ #include "locators.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: exynos5422_clock.c,v 1.9 2018/07/03 16:06:41 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exynos5422_clock.c,v 1.10 2018/07/03 16:30:13 jmcneill Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -648,9 +648,9 @@ exynos5422_clock_find_by_id(u_int clock_ static void exynos5422_clock_print_header(void) { - printf(" %-10s %2s %-10s %-5s %10s\n", + aprint_debug(" %-10s %2s %-10s %-5s %10s\n", "clock", "", "parent", "type", "rate"); - printf(" %-10s %2s %-10s %-5s %10s\n", + aprint_debug(" %-10s %2s %-10s %-5s %10s\n", "=====", "", "======", "====", "===="); } @@ -683,7 +683,7 @@ exynos5422_clock_print(struct exynos5422 clk_parent = exynos5422_clock_get_parent(sc, &eclk->base); eclk_parent = (struct exynos_clk *)clk_parent; - printf(" %-10s %2s %-10s %-5s %10d Hz\n", + aprint_debug(" %-10s %2s %-10s %-5s %10d Hz\n", eclk->base.name, eclk_parent ? "<-" : "", eclk_parent ? eclk_parent->base.name : "",