Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/gpio remove debug printf



details:   https://anonhg.NetBSD.org/src/rev/b49f265bb17a
branches:  trunk
changeset: 338571:b49f265bb17a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat May 30 17:12:16 2015 +0000

description:
remove debug printf

diffstat:

 sys/dev/gpio/gpiobutton.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 657c5a0f090b -r b49f265bb17a sys/dev/gpio/gpiobutton.c
--- a/sys/dev/gpio/gpiobutton.c Sat May 30 16:44:28 2015 +0000
+++ b/sys/dev/gpio/gpiobutton.c Sat May 30 17:12:16 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpiobutton.c,v 1.1 2015/05/30 15:35:51 jmcneill Exp $ */
+/* $NetBSD: gpiobutton.c,v 1.2 2015/05/30 17:12:16 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "locators.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpiobutton.c,v 1.1 2015/05/30 15:35:51 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpiobutton.c,v 1.2 2015/05/30 17:12:16 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -90,7 +90,7 @@
                return 0;
 
        const u_int type = __SHIFTOUT(ga->ga_flags, GPIOBUTTON_TYPE_MASK);
-       printf("%s: type is %u, flags %#x\n", __func__, type, ga->ga_flags);
+
        switch (type) {
        case GPIOBUTTON_TYPE_POWER:
        case GPIOBUTTON_TYPE_SLEEP:



Home | Main Index | Thread Index | Old Index