aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-overo.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2012-07-26 02:54:26 -0400
committerPaul Walmsley <paul@pwsan.com>2012-09-12 04:57:10 -0400
commit7852ec0536ca39cefffc6301dc77f8ae55592926 (patch)
treefaa867a05d6571d5027b3fbfdf452678b3d35d38 /arch/arm/mach-omap2/board-overo.c
parenta032d33b65c89a781c871fd1def595fa6a69b52a (diff)
ARM: OMAP: unwrap strings
Find and unwrap wrapped strings in the style: pr_debug("clockdomain: hardware cannot set/clear wake up of " "%s when %s wakes up\n", clkdm1->name, clkdm2->name); Keeping these strings contiguous seems to be the current Linux kernel policy. The offending lines were found with the following command: pcregrep -rnM '"\s*$\s*"' arch/arm/*omap* While here, some messages have been clarified, some pr_warning( ... calls have been converted to pr_warn( ..., and some printk(KERN_* ... have been converted to pr_*. Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r--arch/arm/mach-omap2/board-overo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 779734d8ba37..175135a967b5 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -522,8 +522,7 @@ static void __init overo_init(void)
522 udelay(10); 522 udelay(10);
523 gpio_set_value(OVERO_GPIO_W2W_NRESET, 1); 523 gpio_set_value(OVERO_GPIO_W2W_NRESET, 1);
524 } else { 524 } else {
525 printk(KERN_ERR "could not obtain gpio for " 525 pr_err("could not obtain gpio for OVERO_GPIO_W2W_NRESET\n");
526 "OVERO_GPIO_W2W_NRESET\n");
527 } 526 }
528 527
529 ret = gpio_request_array(overo_bt_gpios, ARRAY_SIZE(overo_bt_gpios)); 528 ret = gpio_request_array(overo_bt_gpios, ARRAY_SIZE(overo_bt_gpios));
@@ -542,8 +541,7 @@ static void __init overo_init(void)
542 if (ret == 0) 541 if (ret == 0)
543 gpio_export(OVERO_GPIO_USBH_CPEN, 0); 542 gpio_export(OVERO_GPIO_USBH_CPEN, 0);
544 else 543 else
545 printk(KERN_ERR "could not obtain gpio for " 544 pr_err("could not obtain gpio for OVERO_GPIO_USBH_CPEN\n");
546 "OVERO_GPIO_USBH_CPEN\n");
547} 545}
548 546
549MACHINE_START(OVERO, "Gumstix Overo") 547MACHINE_START(OVERO, "Gumstix Overo")