aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/au1xmmc.c
diff options
context:
space:
mode:
authorGirish K S <girish.shivananjappa@linaro.org>2011-10-11 02:14:09 -0400
committerChris Ball <cjb@laptop.org>2011-10-26 16:32:22 -0400
commita3c76eb9d4a1e68a69dd880cf0bcb8a52418b993 (patch)
tree968fb0009edad3defcda8bb40df21837868705dd /drivers/mmc/host/au1xmmc.c
parentb23cf0bd55b0c6b703982446f679e00d6d929524 (diff)
mmc: replace printk with appropriate display macro
All the files using printk function for displaying kernel messages in the mmc driver have been replaced with corresponding macro. Signed-off-by: Girish K S <girish.shivananjappa@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/au1xmmc.c')
-rw-r--r--drivers/mmc/host/au1xmmc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c
index ef72e874ca36..707bc7dddd22 100644
--- a/drivers/mmc/host/au1xmmc.c
+++ b/drivers/mmc/host/au1xmmc.c
@@ -55,7 +55,7 @@
55 55
56#ifdef DEBUG 56#ifdef DEBUG
57#define DBG(fmt, idx, args...) \ 57#define DBG(fmt, idx, args...) \
58 printk(KERN_DEBUG "au1xmmc(%d): DEBUG: " fmt, idx, ##args) 58 pr_debug("au1xmmc(%d): DEBUG: " fmt, idx, ##args)
59#else 59#else
60#define DBG(fmt, idx, args...) do {} while (0) 60#define DBG(fmt, idx, args...) do {} while (0)
61#endif 61#endif
@@ -268,7 +268,7 @@ static int au1xmmc_send_command(struct au1xmmc_host *host, int wait,
268 mmccmd |= SD_CMD_RT_3; 268 mmccmd |= SD_CMD_RT_3;
269 break; 269 break;
270 default: 270 default:
271 printk(KERN_INFO "au1xmmc: unhandled response type %02x\n", 271 pr_info("au1xmmc: unhandled response type %02x\n",
272 mmc_resp_type(cmd)); 272 mmc_resp_type(cmd));
273 return -EINVAL; 273 return -EINVAL;
274 } 274 }
@@ -1031,7 +1031,7 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev)
1031#ifdef CONFIG_SOC_AU1200 1031#ifdef CONFIG_SOC_AU1200
1032 ret = au1xmmc_dbdma_init(host); 1032 ret = au1xmmc_dbdma_init(host);
1033 if (ret) 1033 if (ret)
1034 printk(KERN_INFO DRIVER_NAME ": DBDMA init failed; using PIO\n"); 1034 pr_info(DRIVER_NAME ": DBDMA init failed; using PIO\n");
1035#endif 1035#endif
1036 1036
1037#ifdef CONFIG_LEDS_CLASS 1037#ifdef CONFIG_LEDS_CLASS
@@ -1056,7 +1056,7 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev)
1056 1056
1057 platform_set_drvdata(pdev, host); 1057 platform_set_drvdata(pdev, host);
1058 1058
1059 printk(KERN_INFO DRIVER_NAME ": MMC Controller %d set up at %8.8X" 1059 pr_info(DRIVER_NAME ": MMC Controller %d set up at %8.8X"
1060 " (mode=%s)\n", pdev->id, host->iobase, 1060 " (mode=%s)\n", pdev->id, host->iobase,
1061 host->flags & HOST_F_DMA ? "dma" : "pio"); 1061 host->flags & HOST_F_DMA ? "dma" : "pio");
1062 1062
@@ -1188,7 +1188,7 @@ static int __init au1xmmc_init(void)
1188 */ 1188 */
1189 memid = au1xxx_ddma_add_device(&au1xmmc_mem_dbdev); 1189 memid = au1xxx_ddma_add_device(&au1xmmc_mem_dbdev);
1190 if (!memid) 1190 if (!memid)
1191 printk(KERN_ERR "au1xmmc: cannot add memory dbdma dev\n"); 1191 pr_err("au1xmmc: cannot add memory dbdma dev\n");
1192#endif 1192#endif
1193 return platform_driver_register(&au1xmmc_driver); 1193 return platform_driver_register(&au1xmmc_driver);
1194} 1194}