spi: fsl-spi: Remove display of virtual address
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 9 Jan 2025 06:51:45 +0000 (07:51 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jan 2025 12:03:29 +0000 (12:03 +0000)
The following appears in kernel log at boot:

fsl_spi b01004c0.spi: at 0x(ptrval) (irq = 51), QE mode

This is useless, so remove the display of that virtual address and
display the MMIO address instead, just like serial core does.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://patch.msgid.link/8a37a960ff084dfdb9233849c00714e9317ae6a5.1736405336.git.christophe.leroy@csgroup.eu
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-spi.c

index 856a4a9def66f28a689ea7f8943aed73c753d1e4..2f2082652a1a28d93005ffea9a3f101f3144cf1a 100644 (file)
@@ -618,7 +618,7 @@ static struct spi_controller *fsl_spi_probe(struct device *dev,
        if (ret < 0)
                goto err_probe;
 
-       dev_info(dev, "at 0x%p (irq = %d), %s mode\n", reg_base,
+       dev_info(dev, "at MMIO %pa (irq = %d), %s mode\n", &mem->start,
                 mpc8xxx_spi->irq, mpc8xxx_spi_strmode(mpc8xxx_spi->flags));
 
        return host;