aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-n8x0.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-n8x0.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-n8x0.c')
-rw-r--r--arch/arm/mach-omap2/board-n8x0.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index 677357ff61ac..807299a1f79d 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -553,8 +553,8 @@ static int n8x0_auto_sleep_regulators(void)
553 553
554 ret = menelaus_set_regulator_sleep(1, val); 554 ret = menelaus_set_regulator_sleep(1, val);
555 if (ret < 0) { 555 if (ret < 0) {
556 printk(KERN_ERR "Could not set regulators to sleep on " 556 pr_err("Could not set regulators to sleep on menelaus: %u\n",
557 "menelaus: %u\n", ret); 557 ret);
558 return ret; 558 return ret;
559 } 559 }
560 return 0; 560 return 0;
@@ -566,8 +566,7 @@ static int n8x0_auto_voltage_scale(void)
566 566
567 ret = menelaus_set_vcore_hw(1400, 1050); 567 ret = menelaus_set_vcore_hw(1400, 1050);
568 if (ret < 0) { 568 if (ret < 0) {
569 printk(KERN_ERR "Could not set VCORE voltage on " 569 pr_err("Could not set VCORE voltage on menelaus: %u\n", ret);
570 "menelaus: %u\n", ret);
571 return ret; 570 return ret;
572 } 571 }
573 return 0; 572 return 0;