mmc: sdhci-of-arasan: Trivial print fix
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 2 May 2017 10:19:56 +0000 (15:49 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:07 +0000 (10:30 +0200)
ret is signed however is printed as unsigned fix the same.
If printed as a negative number the result is easier to read.
No functional change.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c

index ea6b36c88ae7403b260eb375d1f7d33a33dd5050..b13c0a7d50e4b11caf8691e65355747a2e51ea4f 100644 (file)
@@ -638,7 +638,7 @@ static int sdhci_arasan_probe(struct platform_device *pdev)
 
        ret = mmc_of_parse(host->mmc);
        if (ret) {
-               dev_err(&pdev->dev, "parsing dt failed (%u)\n", ret);
+               dev_err(&pdev->dev, "parsing dt failed (%d)\n", ret);
                goto unreg_clk;
        }