diff options
author | Olof Johansson <olof@lixom.net> | 2014-09-24 13:37:27 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-09-24 13:37:53 -0400 |
commit | c82eb464879dd0ecbe0c4cb1b80ac4e82b634872 (patch) | |
tree | 53bc8043bd897081a2d6f499cdfe915b9be9684a | |
parent | 17fa6e4ecf1ccab5e90db7025cfc9d459774cd3f (diff) | |
parent | 9d06d34bcc62f4cc3679704ac42cff5b44a97c6e (diff) |
Merge tag 'mvebu-soc-3.18' of git://git.infradead.org/linux-mvebu into next/cleanup
Merge "ARM: mvebu: SoC changes for v3.18" from Jason Cooper:
mvebu SoC changes for v3.18
- orion5x
- remove pr_warning(), use pr_warn()
* tag 'mvebu-soc-3.18' of git://git.infradead.org/linux-mvebu:
ARM: orion5x: Convert pr_warning to pr_warn
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-orion5x/dns323-setup.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/terastation_pro2-setup.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/ts209-setup.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/ts409-setup.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/ts78xx-setup.c | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c index 56edeab17b68..09d2a26985da 100644 --- a/arch/arm/mach-orion5x/dns323-setup.c +++ b/arch/arm/mach-orion5x/dns323-setup.c | |||
@@ -550,7 +550,7 @@ static int __init dns323_identify_rev(void) | |||
550 | break; | 550 | break; |
551 | } | 551 | } |
552 | if (i >= 1000) { | 552 | if (i >= 1000) { |
553 | pr_warning("DNS-323: Timeout accessing PHY, assuming rev B1\n"); | 553 | pr_warn("DNS-323: Timeout accessing PHY, assuming rev B1\n"); |
554 | return DNS323_REV_B1; | 554 | return DNS323_REV_B1; |
555 | } | 555 | } |
556 | writel((3 << 21) /* phy ID reg */ | | 556 | writel((3 << 21) /* phy ID reg */ | |
@@ -562,7 +562,7 @@ static int __init dns323_identify_rev(void) | |||
562 | break; | 562 | break; |
563 | } | 563 | } |
564 | if (i >= 1000) { | 564 | if (i >= 1000) { |
565 | pr_warning("DNS-323: Timeout reading PHY, assuming rev B1\n"); | 565 | pr_warn("DNS-323: Timeout reading PHY, assuming rev B1\n"); |
566 | return DNS323_REV_B1; | 566 | return DNS323_REV_B1; |
567 | } | 567 | } |
568 | pr_debug("DNS-323: Ethernet PHY ID 0x%x\n", reg & 0xffff); | 568 | pr_debug("DNS-323: Ethernet PHY ID 0x%x\n", reg & 0xffff); |
@@ -577,8 +577,8 @@ static int __init dns323_identify_rev(void) | |||
577 | case 0x0e10: /* MV88E1118 */ | 577 | case 0x0e10: /* MV88E1118 */ |
578 | return DNS323_REV_C1; | 578 | return DNS323_REV_C1; |
579 | default: | 579 | default: |
580 | pr_warning("DNS-323: Unknown PHY ID 0x%04x, assuming rev B1\n", | 580 | pr_warn("DNS-323: Unknown PHY ID 0x%04x, assuming rev B1\n", |
581 | reg & 0xffff); | 581 | reg & 0xffff); |
582 | } | 582 | } |
583 | return DNS323_REV_B1; | 583 | return DNS323_REV_B1; |
584 | } | 584 | } |
diff --git a/arch/arm/mach-orion5x/terastation_pro2-setup.c b/arch/arm/mach-orion5x/terastation_pro2-setup.c index 6208d125c1b9..12086745c9fd 100644 --- a/arch/arm/mach-orion5x/terastation_pro2-setup.c +++ b/arch/arm/mach-orion5x/terastation_pro2-setup.c | |||
@@ -349,7 +349,7 @@ static void __init tsp2_init(void) | |||
349 | gpio_free(TSP2_RTC_GPIO); | 349 | gpio_free(TSP2_RTC_GPIO); |
350 | } | 350 | } |
351 | if (tsp2_i2c_rtc.irq == 0) | 351 | if (tsp2_i2c_rtc.irq == 0) |
352 | pr_warning("tsp2_init: failed to get RTC IRQ\n"); | 352 | pr_warn("tsp2_init: failed to get RTC IRQ\n"); |
353 | i2c_register_board_info(0, &tsp2_i2c_rtc, 1); | 353 | i2c_register_board_info(0, &tsp2_i2c_rtc, 1); |
354 | 354 | ||
355 | /* register Terastation Pro II specific power-off method */ | 355 | /* register Terastation Pro II specific power-off method */ |
diff --git a/arch/arm/mach-orion5x/ts209-setup.c b/arch/arm/mach-orion5x/ts209-setup.c index 9136797addb2..c725b7cb9875 100644 --- a/arch/arm/mach-orion5x/ts209-setup.c +++ b/arch/arm/mach-orion5x/ts209-setup.c | |||
@@ -314,7 +314,7 @@ static void __init qnap_ts209_init(void) | |||
314 | gpio_free(TS209_RTC_GPIO); | 314 | gpio_free(TS209_RTC_GPIO); |
315 | } | 315 | } |
316 | if (qnap_ts209_i2c_rtc.irq == 0) | 316 | if (qnap_ts209_i2c_rtc.irq == 0) |
317 | pr_warning("qnap_ts209_init: failed to get RTC IRQ\n"); | 317 | pr_warn("qnap_ts209_init: failed to get RTC IRQ\n"); |
318 | i2c_register_board_info(0, &qnap_ts209_i2c_rtc, 1); | 318 | i2c_register_board_info(0, &qnap_ts209_i2c_rtc, 1); |
319 | 319 | ||
320 | /* register tsx09 specific power-off method */ | 320 | /* register tsx09 specific power-off method */ |
diff --git a/arch/arm/mach-orion5x/ts409-setup.c b/arch/arm/mach-orion5x/ts409-setup.c index 5c079d312015..cf2ab531cabc 100644 --- a/arch/arm/mach-orion5x/ts409-setup.c +++ b/arch/arm/mach-orion5x/ts409-setup.c | |||
@@ -302,7 +302,7 @@ static void __init qnap_ts409_init(void) | |||
302 | gpio_free(TS409_RTC_GPIO); | 302 | gpio_free(TS409_RTC_GPIO); |
303 | } | 303 | } |
304 | if (qnap_ts409_i2c_rtc.irq == 0) | 304 | if (qnap_ts409_i2c_rtc.irq == 0) |
305 | pr_warning("qnap_ts409_init: failed to get RTC IRQ\n"); | 305 | pr_warn("qnap_ts409_init: failed to get RTC IRQ\n"); |
306 | i2c_register_board_info(0, &qnap_ts409_i2c_rtc, 1); | 306 | i2c_register_board_info(0, &qnap_ts409_i2c_rtc, 1); |
307 | platform_device_register(&ts409_leds); | 307 | platform_device_register(&ts409_leds); |
308 | 308 | ||
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c index db16dae441e2..1b704d35cf5b 100644 --- a/arch/arm/mach-orion5x/ts78xx-setup.c +++ b/arch/arm/mach-orion5x/ts78xx-setup.c | |||
@@ -403,8 +403,8 @@ static void ts78xx_fpga_supports(void) | |||
403 | /* enable devices if magic matches */ | 403 | /* enable devices if magic matches */ |
404 | switch ((ts78xx_fpga.id >> 8) & 0xffffff) { | 404 | switch ((ts78xx_fpga.id >> 8) & 0xffffff) { |
405 | case TS7800_FPGA_MAGIC: | 405 | case TS7800_FPGA_MAGIC: |
406 | pr_warning("unrecognised FPGA revision 0x%.2x\n", | 406 | pr_warn("unrecognised FPGA revision 0x%.2x\n", |
407 | ts78xx_fpga.id & 0xff); | 407 | ts78xx_fpga.id & 0xff); |
408 | ts78xx_fpga.supports.ts_rtc.present = 1; | 408 | ts78xx_fpga.supports.ts_rtc.present = 1; |
409 | ts78xx_fpga.supports.ts_nand.present = 1; | 409 | ts78xx_fpga.supports.ts_nand.present = 1; |
410 | ts78xx_fpga.supports.ts_rng.present = 1; | 410 | ts78xx_fpga.supports.ts_rng.present = 1; |