]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
mmc: dw_mmc: clean up a debug message
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 17 Dec 2021 15:03:48 +0000 (18:03 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Dec 2021 12:19:18 +0000 (13:19 +0100)
The "0x" prefix is redundant when # flag is used.  It prints "0x0x".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: MÃ¥rten Lindahl <marten.lindahl@axis.com>
Link: https://lore.kernel.org/r/20211217150348.GD16611@kili
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c

index f2a14a434bef103ae0c6d6329e44775cf65fc4c7..bec4796283fea7017c1ac4e157a4993f9c447401 100644 (file)
@@ -1307,7 +1307,7 @@ static void dw_mci_set_data_timeout(struct dw_mci *host,
                tmout |= (tmp & 0xFFFFFF) << 8;
 
        mci_writel(host, TMOUT, tmout);
-       dev_dbg(host->dev, "timeout_ns: %u => TMOUT[31:8]: 0x%#08x",
+       dev_dbg(host->dev, "timeout_ns: %u => TMOUT[31:8]: %#08x",
                timeout_ns, tmout >> 8);
 }