From 80fd9792f5c227d0b8ed3b0d662328c81eb6bda9 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 21 Jul 2015 07:54:11 +0200 Subject: [PATCH] spi: zynq_spi: Simplify debug macro Trivial fix. Signed-off-by: Michal Simek --- 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 0208afc4a6..7ae1f0ec9a 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.30.2