diff options
author | Joe Perches <joe@perches.com> | 2014-09-12 17:56:56 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-24 04:13:09 -0400 |
commit | 6606110d89aefcb21b9e70adfe064987cbd8393a (patch) | |
tree | 599b064df3762b1da4d28f4e6ec9df0afcfacdd5 /drivers/mmc/core/sdio_irq.c | |
parent | 48d11e067fc90ec9fc9c8f7ab982e5a83bf1887b (diff) |
mmc: Convert pr_warning to pr_warn
Use the much more common pr_warn instead of pr_warning.
Other miscellanea:
o Coalesce formats
o Realign arguments
o Remove extra spaces when coalescing formats
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sdio_irq.c')
-rw-r--r-- | drivers/mmc/core/sdio_irq.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index 696eca493844..09cc67d028f0 100644 --- a/drivers/mmc/core/sdio_irq.c +++ b/drivers/mmc/core/sdio_irq.c | |||
@@ -69,16 +69,15 @@ static int process_sdio_pending_irqs(struct mmc_host *host) | |||
69 | if (pending & (1 << i)) { | 69 | if (pending & (1 << i)) { |
70 | func = card->sdio_func[i - 1]; | 70 | func = card->sdio_func[i - 1]; |
71 | if (!func) { | 71 | if (!func) { |
72 | pr_warning("%s: pending IRQ for " | 72 | pr_warn("%s: pending IRQ for non-existent function\n", |
73 | "non-existent function\n", | ||
74 | mmc_card_id(card)); | 73 | mmc_card_id(card)); |
75 | ret = -EINVAL; | 74 | ret = -EINVAL; |
76 | } else if (func->irq_handler) { | 75 | } else if (func->irq_handler) { |
77 | func->irq_handler(func); | 76 | func->irq_handler(func); |
78 | count++; | 77 | count++; |
79 | } else { | 78 | } else { |
80 | pr_warning("%s: pending IRQ with no handler\n", | 79 | pr_warn("%s: pending IRQ with no handler\n", |
81 | sdio_func_id(func)); | 80 | sdio_func_id(func)); |
82 | ret = -EINVAL; | 81 | ret = -EINVAL; |
83 | } | 82 | } |
84 | } | 83 | } |