summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-07-21 07:54:11 +0200
committerMichal Simek <michal.simek@xilinx.com>2015-07-28 11:56:28 +0200
commit80fd9792f5c227d0b8ed3b0d662328c81eb6bda9 (patch)
tree9a1e35ac2b96d6227d0ac41e00a5c89df92be2d2 /drivers/spi
parent260bdf07a3f37f28b01ad42ec3e22d1428c31364 (diff)
spi: zynq_spi: Simplify debug macro
Trivial fix. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/zynq_spi.c2
1 files changed, 1 insertions, 1 deletions
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;