diff options
author | Girish K S <girish.shivananjappa@linaro.org> | 2011-10-11 02:14:09 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 16:32:22 -0400 |
commit | a3c76eb9d4a1e68a69dd880cf0bcb8a52418b993 (patch) | |
tree | 968fb0009edad3defcda8bb40df21837868705dd /drivers/mmc/core/bus.c | |
parent | b23cf0bd55b0c6b703982446f679e00d6d929524 (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/core/bus.c')
-rw-r--r-- | drivers/mmc/core/bus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c index 393d817ed040..46b6e84d953e 100644 --- a/drivers/mmc/core/bus.c +++ b/drivers/mmc/core/bus.c | |||
@@ -295,7 +295,7 @@ int mmc_add_card(struct mmc_card *card) | |||
295 | } | 295 | } |
296 | 296 | ||
297 | if (mmc_host_is_spi(card->host)) { | 297 | if (mmc_host_is_spi(card->host)) { |
298 | printk(KERN_INFO "%s: new %s%s%s card on SPI\n", | 298 | pr_info("%s: new %s%s%s card on SPI\n", |
299 | mmc_hostname(card->host), | 299 | mmc_hostname(card->host), |
300 | mmc_card_highspeed(card) ? "high speed " : "", | 300 | mmc_card_highspeed(card) ? "high speed " : "", |
301 | mmc_card_ddr_mode(card) ? "DDR " : "", | 301 | mmc_card_ddr_mode(card) ? "DDR " : "", |
@@ -334,10 +334,10 @@ void mmc_remove_card(struct mmc_card *card) | |||
334 | 334 | ||
335 | if (mmc_card_present(card)) { | 335 | if (mmc_card_present(card)) { |
336 | if (mmc_host_is_spi(card->host)) { | 336 | if (mmc_host_is_spi(card->host)) { |
337 | printk(KERN_INFO "%s: SPI card removed\n", | 337 | pr_info("%s: SPI card removed\n", |
338 | mmc_hostname(card->host)); | 338 | mmc_hostname(card->host)); |
339 | } else { | 339 | } else { |
340 | printk(KERN_INFO "%s: card %04x removed\n", | 340 | pr_info("%s: card %04x removed\n", |
341 | mmc_hostname(card->host), card->rca); | 341 | mmc_hostname(card->host), card->rca); |
342 | } | 342 | } |
343 | device_del(&card->dev); | 343 | device_del(&card->dev); |