[U-Boot] [PATCH] spi: zynq_spi: Simplify debug macro

Michal Simek michal.simek at xilinx.com
Wed Jul 22 08:35:16 CEST 2015


Trivial fix.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 drivers/spi/zynq_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c
index c5c3e1044fda..45ed7d94a93f 100644
--- a/drivers/spi/zynq_spi.c
+++ b/drivers/spi/zynq_spi.c
@@ -79,7 +79,7 @@ static int zynq_spi_ofdata_to_platdata(struct udevice *bus)
 					250000000);
 	plat->speed_hz = plat->frequency / 2;
 
-	debug("zynq_spi_ofdata_to_platdata: regs=%p max-frequency=%d\n",
+	debug("%s: regs=%p max-frequency=%d\n", __func__,
 	      plat->regs, plat->frequency);
 
 	return 0;
-- 
2.3.5



More information about the U-Boot mailing list