spi: spi-fsl-espi: Remove use of %p
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 25 Aug 2020 05:08:56 +0000 (17:08 +1200)
committerMark Brown <broonie@kernel.org>
Tue, 25 Aug 2020 21:46:50 +0000 (22:46 +0100)
The register offset is already included in the device name so even prior
%p values being hashed printing the base was redundant. Remove the %p
from the dev_info() output.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20200825050856.29616-1-chris.packham@alliedtelesis.co.nz
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c

index e605812..7e9b6f8 100644 (file)
@@ -730,7 +730,7 @@ static int fsl_espi_probe(struct device *dev, struct resource *mem,
        if (ret < 0)
                goto err_pm;
 
-       dev_info(dev, "at 0x%p (irq = %u)\n", espi->reg_base, irq);
+       dev_info(dev, "irq = %u\n", irq);
 
        pm_runtime_mark_last_busy(dev);
        pm_runtime_put_autosuspend(dev);