mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-24 19:44:55 +00:00
arm: mach-imx: Convert pr_warning to pr_warn
Use the more common pr_warn. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
This commit is contained in:
parent
bad3db104f
commit
75fd32b8ef
@ -537,7 +537,7 @@ static void __init armadillo5x0_init(void)
|
|||||||
gpio_free(ARMADILLO5X0_RTC_GPIO);
|
gpio_free(ARMADILLO5X0_RTC_GPIO);
|
||||||
}
|
}
|
||||||
if (armadillo5x0_i2c_rtc.irq == 0)
|
if (armadillo5x0_i2c_rtc.irq == 0)
|
||||||
pr_warning("armadillo5x0_init: failed to get RTC IRQ\n");
|
pr_warn("armadillo5x0_init: failed to get RTC IRQ\n");
|
||||||
i2c_register_board_info(1, &armadillo5x0_i2c_rtc, 1);
|
i2c_register_board_info(1, &armadillo5x0_i2c_rtc, 1);
|
||||||
|
|
||||||
/* USB */
|
/* USB */
|
||||||
|
@ -307,7 +307,7 @@ static int mx31_3ds_sdhc1_init(struct device *dev,
|
|||||||
ret = gpio_request_array(mx31_3ds_sdhc1_gpios,
|
ret = gpio_request_array(mx31_3ds_sdhc1_gpios,
|
||||||
ARRAY_SIZE(mx31_3ds_sdhc1_gpios));
|
ARRAY_SIZE(mx31_3ds_sdhc1_gpios));
|
||||||
if (ret) {
|
if (ret) {
|
||||||
pr_warning("Unable to request the SD/MMC GPIOs.\n");
|
pr_warn("Unable to request the SD/MMC GPIOs.\n");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -316,7 +316,7 @@ static int mx31_3ds_sdhc1_init(struct device *dev,
|
|||||||
IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
|
IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
|
||||||
"sdhc1-detect", data);
|
"sdhc1-detect", data);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
pr_warning("Unable to request the SD/MMC card-detect IRQ.\n");
|
pr_warn("Unable to request the SD/MMC card-detect IRQ.\n");
|
||||||
goto gpio_free;
|
goto gpio_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ static void __init mx31lite_init(void)
|
|||||||
/* SMSC9117 IRQ pin */
|
/* SMSC9117 IRQ pin */
|
||||||
ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_SFS6), "sms9117-irq");
|
ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_SFS6), "sms9117-irq");
|
||||||
if (ret)
|
if (ret)
|
||||||
pr_warning("could not get LAN irq gpio\n");
|
pr_warn("could not get LAN irq gpio\n");
|
||||||
else {
|
else {
|
||||||
gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_SFS6));
|
gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_SFS6));
|
||||||
smsc911x_resources[1].start =
|
smsc911x_resources[1].start =
|
||||||
|
@ -58,7 +58,7 @@ static int __init pcm037_variant_setup(char *str)
|
|||||||
if (!strcmp("eet", str))
|
if (!strcmp("eet", str))
|
||||||
pcm037_instance = PCM037_EET;
|
pcm037_instance = PCM037_EET;
|
||||||
else if (strcmp("pcm970", str))
|
else if (strcmp("pcm970", str))
|
||||||
pr_warning("Unknown pcm037 baseboard variant %s\n", str);
|
pr_warn("Unknown pcm037 baseboard variant %s\n", str);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -624,7 +624,7 @@ static void __init pcm037_init(void)
|
|||||||
/* LAN9217 IRQ pin */
|
/* LAN9217 IRQ pin */
|
||||||
ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1), "lan9217-irq");
|
ret = gpio_request(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1), "lan9217-irq");
|
||||||
if (ret)
|
if (ret)
|
||||||
pr_warning("could not get LAN irq gpio\n");
|
pr_warn("could not get LAN irq gpio\n");
|
||||||
else {
|
else {
|
||||||
gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1));
|
gpio_direction_input(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1));
|
||||||
smsc911x_resources[1].start =
|
smsc911x_resources[1].start =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user