From: Michal Simek Date: Tue, 21 Jul 2015 05:54:11 +0000 (+0200) Subject: spi: zynq_spi: Simplify debug macro X-Git-Tag: v2015.10-rc1~28^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=80fd9792f5c227d0b8ed3b0d662328c81eb6bda9;p=oweals%2Fu-boot.git spi: zynq_spi: Simplify debug macro Trivial fix. Signed-off-by: Michal Simek --- 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;