Module Name:    src
Committed By:   jmcneill
Date:           Sat May 30 17:12:16 UTC 2015

Modified Files:
        src/sys/dev/gpio: gpiobutton.c

Log Message:
remove debug printf


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/gpio/gpiobutton.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/dev/gpio/gpiobutton.c
diff -u src/sys/dev/gpio/gpiobutton.c:1.1 src/sys/dev/gpio/gpiobutton.c:1.2
--- src/sys/dev/gpio/gpiobutton.c:1.1	Sat May 30 15:35:51 2015
+++ src/sys/dev/gpio/gpiobutton.c	Sat May 30 17:12:16 2015
@@ -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 <[email protected]>
@@ -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 @@ gpiobutton_match(device_t parent, cfdata
 		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:

Reply via email to