[PATCH 06/15] mmc: bcm2835: Print clk_max as decimal

Stefan Wahren stefan.wahren at i2se.com
Tue Feb 7 12:45:45 PST 2017


It's very unusual to print frequencies in hexadecimal. Btw we remove
this unnecessary cast.

Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 drivers/mmc/host/bcm2835.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index 752a726..b244cc5 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -1455,8 +1455,8 @@ static int bcm2835_probe(struct platform_device *pdev)
 		goto err;
 	}
 
-	dev_dbg(dev, " - max_clk %lx, irq %d\n",
-		(unsigned long)host->max_clk,
+	dev_dbg(dev, " - max_clk %u, irq %d\n",
+		host->max_clk,
 		(int)host->irq);
 
 	ret = mmc_of_parse(mmc);
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list