mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] spi: switch from printf back to debug
@ 2012-09-26  8:43 Jan Luebbe
  0 siblings, 0 replies; only message in thread
From: Jan Luebbe @ 2012-09-26  8:43 UTC (permalink / raw)
  To: barebox

Commit 5888a3b5c96cf8381431486416ef2667993c85fc accidentally changed
this to printf.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 drivers/spi/spi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 17aae93..44040e5 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -164,7 +164,7 @@ static void scan_boardinfo(struct spi_master *master)
 		unsigned		n;
 
 		for (n = bi->n_board_info; n > 0; n--, chip++) {
-			printf("%s %d %d\n", __FUNCTION__, chip->bus_num, master->bus_num);
+			debug("%s %d %d\n", __FUNCTION__, chip->bus_num, master->bus_num);
 			if (chip->bus_num != master->bus_num)
 				continue;
 			/* NOTE: this relies on spi_new_device to
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-26  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-26  8:43 [PATCH] spi: switch from printf back to debug Jan Luebbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox