diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-07-26 02:54:26 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-12 04:57:10 -0400 |
commit | 7852ec0536ca39cefffc6301dc77f8ae55592926 (patch) | |
tree | faa867a05d6571d5027b3fbfdf452678b3d35d38 /arch/arm/mach-omap2/board-zoom-debugboard.c | |
parent | a032d33b65c89a781c871fd1def595fa6a69b52a (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-zoom-debugboard.c')
-rw-r--r-- | arch/arm/mach-omap2/board-zoom-debugboard.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c index f64f44173061..1873059861f2 100644 --- a/arch/arm/mach-omap2/board-zoom-debugboard.c +++ b/arch/arm/mach-omap2/board-zoom-debugboard.c | |||
@@ -81,8 +81,7 @@ static inline void __init zoom_init_quaduart(void) | |||
81 | quart_cs = ZOOM_QUADUART_CS; | 81 | quart_cs = ZOOM_QUADUART_CS; |
82 | 82 | ||
83 | if (gpmc_cs_request(quart_cs, SZ_1M, &cs_mem_base) < 0) { | 83 | if (gpmc_cs_request(quart_cs, SZ_1M, &cs_mem_base) < 0) { |
84 | printk(KERN_ERR "Failed to request GPMC mem" | 84 | pr_err("Failed to request GPMC mem for Quad UART(TL16CP754C)\n"); |
85 | "for Quad UART(TL16CP754C)\n"); | ||
86 | return; | 85 | return; |
87 | } | 86 | } |
88 | 87 | ||
@@ -104,8 +103,8 @@ static inline int omap_zoom_debugboard_detect(void) | |||
104 | 103 | ||
105 | if (gpio_request_one(debug_board_detect, GPIOF_IN, | 104 | if (gpio_request_one(debug_board_detect, GPIOF_IN, |
106 | "Zoom debug board detect") < 0) { | 105 | "Zoom debug board detect") < 0) { |
107 | printk(KERN_ERR "Failed to request GPIO%d for Zoom debug" | 106 | pr_err("Failed to request GPIO%d for Zoom debug board detect\n", |
108 | "board detect\n", debug_board_detect); | 107 | debug_board_detect); |
109 | return 0; | 108 | return 0; |
110 | } | 109 | } |
111 | 110 | ||