[PATCH] Prevent appletouch message log spam on 17" PB

Joseph Jezak josejx at woodpecker.gentoo.org
Mon Oct 29 10:53:19 EST 2007


Perhaps this was a debugging message?  In any case, this printk
causes lots of message log spam on my PB G4 1.67" (PowerBook5,9).

This removes the printk.

Signed-off by: Joseph Jezak <josejx at gentoo.org>
---

diff --git a/drivers/input/mouse/appletouch.c b/drivers/input/mouse/appletouch.c
index f132702..6c47641 100644
--- a/drivers/input/mouse/appletouch.c
+++ b/drivers/input/mouse/appletouch.c
@@ -433,7 +433,6 @@ static void atp_complete(struct urb* urb)
 		for (i = (atp_is_geyser_2(dev)?15:16); i < ATP_XSENSORS; i++) {
 			if (!dev->xy_cur[i]) continue;
 
-			printk("appletouch: 17\" model detected.\n");
 			if(atp_is_geyser_2(dev))
 				input_set_abs_params(dev->input, ABS_X, 0,
 						     (20 - 1) *



More information about the Linuxppc-dev mailing list