Skip to content

Commit 75fd32b

Browse files
JoePerchesShawn Guo
authored andcommitted
arm: mach-imx: Convert pr_warning to pr_warn
Use the more common pr_warn. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent bad3db1 commit 75fd32b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

arch/arm/mach-imx/mach-armadillo5x0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ static void __init armadillo5x0_init(void)
537537
gpio_free(ARMADILLO5X0_RTC_GPIO);
538538
}
539539
if (armadillo5x0_i2c_rtc.irq == 0)
540-
pr_warning("armadillo5x0_init: failed to get RTC IRQ\n");
540+
pr_warn("armadillo5x0_init: failed to get RTC IRQ\n");
541541
i2c_register_board_info(1, &armadillo5x0_i2c_rtc, 1);
542542

543543
/* USB */

arch/arm/mach-imx/mach-mx31_3ds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ static int mx31_3ds_sdhc1_init(struct device *dev,
307307
ret = gpio_request_array(mx31_3ds_sdhc1_gpios,
308308
ARRAY_SIZE(mx31_3ds_sdhc1_gpios));
309309
if (ret) {
310-
pr_warning("Unable to request the SD/MMC GPIOs.\n");
310+
pr_warn("Unable to request the SD/MMC GPIOs.\n");
311311
return ret;
312312
}
313313

@@ -316,7 +316,7 @@ static int mx31_3ds_sdhc1_init(struct device *dev,
316316
IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
317317
"sdhc1-detect", data);
318318
if (ret) {
319-
pr_warning("Unable to request the SD/MMC card-detect IRQ.\n");
319+
pr_warn("Unable to request the SD/MMC card-detect IRQ.\n");
320320
goto gpio_free;
321321
}
322322

arch/arm/mach-imx/mach-mx31lite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ static void __init mx31lite_init(void)
270270
/* SMSC9117 IRQ pin */
271271
ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_SFS6), "sms9117-irq");
272272
if (ret)
273-
pr_warning("could not get LAN irq gpio\n");
273+
pr_warn("could not get LAN irq gpio\n");
274274
else {
275275
gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_SFS6));
276276
smsc911x_resources[1].start =

arch/arm/mach-imx/mach-pcm037.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static int __init pcm037_variant_setup(char *str)
5858
if (!strcmp("eet", str))
5959
pcm037_instance = PCM037_EET;
6060
else if (strcmp("pcm970", str))
61-
pr_warning("Unknown pcm037 baseboard variant %s\n", str);
61+
pr_warn("Unknown pcm037 baseboard variant %s\n", str);
6262

6363
return 1;
6464
}
@@ -624,7 +624,7 @@ static void __init pcm037_init(void)
624624
/* LAN9217 IRQ pin */
625625
ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1), "lan9217-irq");
626626
if (ret)
627-
pr_warning("could not get LAN irq gpio\n");
627+
pr_warn("could not get LAN irq gpio\n");
628628
else {
629629
gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1));
630630
smsc911x_resources[1].start =

0 commit comments

Comments
 (0)