[PATCH] spi: switch from printf back to debug

Jan Luebbe jlu at pengutronix.de
Wed Sep 26 04:43:05 EDT 2012


Commit 5888a3b5c96cf8381431486416ef2667993c85fc accidentally changed
this to printf.

Signed-off-by: Jan Luebbe <jlu at 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




More information about the barebox mailing list