spi: zynq_spi: Simplify debug macro
authorMichal Simek <michal.simek@xilinx.com>
Tue, 21 Jul 2015 05:54:11 +0000 (07:54 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Jul 2015 09:56:28 +0000 (11:56 +0200)
Trivial fix.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/zynq_spi.c

index 0208afc4a636725922c1cbe9b5efdf8f9c7170ab..7ae1f0ec9aeade68a873356dcecdebf28e0cf604 100644 (file)
@@ -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;