]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP: MMC: Add several missing line breaks.
authorFelipe Balbi <felipe.balbi@nokia.com>
Wed, 26 Mar 2008 15:33:45 +0000 (11:33 -0400)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Mar 2008 10:36:10 +0000 (12:36 +0200)
Misc clean up in omap_hsmmc.c to beautify debugging output.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap_hsmmc.c

index 047c64dc4e895c724e31f4417bf9442ce2efd89e..248257f54c0d19191afd9bd36c5f68ebabefba74 100644 (file)
@@ -146,7 +146,7 @@ static void omap_mmc_stop_clock(struct mmc_omap_host *host)
        OMAP_HSMMC_WRITE(host->base, SYSCTL,
                OMAP_HSMMC_READ(host->base, SYSCTL) & ~CEN);
        if ((OMAP_HSMMC_READ(host->base, SYSCTL) & CEN) != 0x0)
-               dev_dbg(mmc_dev(host->mmc), "MMC Clock is not stoped");
+               dev_dbg(mmc_dev(host->mmc), "MMC Clock is not stoped\n");
 }
 
 /*
@@ -401,7 +401,7 @@ static int omap_mmc_switch_opcond(struct mmc_omap_host *host, int vdd)
 
        return 0;
 err:
-       dev_dbg(mmc_dev(host->mmc), "Unable to switch operating voltage \n");
+       dev_dbg(mmc_dev(host->mmc), "Unable to switch operating voltage\n");
        return ret;
 }
 
@@ -763,11 +763,11 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
         * MMC can still work without debounce clock.
         */
        if (IS_ERR(host->dbclk))
-               dev_dbg(mmc_dev(host->mmc), "Failed to get debounce clock \n");
+               dev_dbg(mmc_dev(host->mmc), "Failed to get debounce clock\n");
        else
                if (clk_enable(host->dbclk) != 0)
                        dev_dbg(mmc_dev(host->mmc), "Enabling debounce"
-                                                       "clk failed\n");
+                                                       " clk failed\n");
                else
                        host->dbclk_enabled = 1;
 
@@ -796,7 +796,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
        ret = request_irq(host->irq, mmc_omap_irq, IRQF_DISABLED, pdev->name,
                         host);
        if (ret) {
-               dev_dbg(mmc_dev(host->mmc), "Unable to grab HSMMC IRQ");
+               dev_dbg(mmc_dev(host->mmc), "Unable to grab HSMMC IRQ\n");
                goto irq_err;
        }
 
@@ -837,7 +837,7 @@ err:
        return ret;
 
 irq_err:
-       dev_dbg(mmc_dev(host->mmc), "Unable to configure MMC IRQs");
+       dev_dbg(mmc_dev(host->mmc), "Unable to configure MMC IRQs\n");
        clk_disable(host->fclk);
        clk_disable(host->iclk);
        clk_put(host->fclk);
@@ -900,7 +900,7 @@ static int omap_mmc_suspend(struct platform_device *pdev, pm_message_t state)
                        if (ret)
                                dev_dbg(mmc_dev(host->mmc),
                                        "Unable to handle MMC board"
-                                       "level suspend\n");
+                                       " level suspend\n");
 
                        if (!(OMAP_HSMMC_READ(host->base, HCTL) & SDVSDET)) {
                                OMAP_HSMMC_WRITE(host->base, HCTL,