diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-04-07 10:49:58 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-04-08 11:42:20 -0400 |
commit | 95f287e5a180cc78f3fd3debec265d64acb44284 (patch) | |
tree | 10f6c9fa9e6d67da6f15b3803679a18aef207cc2 | |
parent | 42e73f1fc1f7b56abd0e83bc689f82adf9e506d5 (diff) |
ARM: at91/setup: fix trivial typos
Fix a few trivial typos in panic, warning and debug messages.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | arch/arm/mach-at91/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 6b4608d58da2..9e7c1e1528e5 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c | |||
@@ -353,7 +353,7 @@ static void at91_dt_ramc(void) | |||
353 | 353 | ||
354 | np = of_find_matching_node(NULL, ramc_ids); | 354 | np = of_find_matching_node(NULL, ramc_ids); |
355 | if (!np) | 355 | if (!np) |
356 | panic("unable to find compatible ram conroller node in dtb\n"); | 356 | panic("unable to find compatible ram controller node in dtb\n"); |
357 | 357 | ||
358 | at91_ramc_base[0] = of_iomap(np, 0); | 358 | at91_ramc_base[0] = of_iomap(np, 0); |
359 | if (!at91_ramc_base[0]) | 359 | if (!at91_ramc_base[0]) |
@@ -403,7 +403,7 @@ static void at91_dt_shdwc(void) | |||
403 | 403 | ||
404 | np = of_find_matching_node(NULL, shdwc_ids); | 404 | np = of_find_matching_node(NULL, shdwc_ids); |
405 | if (!np) { | 405 | if (!np) { |
406 | pr_debug("AT91: unable to find compatible shutdown (shdwc) conroller node in dtb\n"); | 406 | pr_debug("AT91: unable to find compatible shutdown (shdwc) controller node in dtb\n"); |
407 | return; | 407 | return; |
408 | } | 408 | } |
409 | 409 | ||
@@ -419,7 +419,7 @@ static void at91_dt_shdwc(void) | |||
419 | 419 | ||
420 | if (!of_property_read_u32(np, "atmel,wakeup-counter", ®)) { | 420 | if (!of_property_read_u32(np, "atmel,wakeup-counter", ®)) { |
421 | if (reg > AT91_SHDW_CPTWK0_MAX) { | 421 | if (reg > AT91_SHDW_CPTWK0_MAX) { |
422 | pr_warn("AT91: shdwc wakeup conter 0x%x > 0x%x reduce it to 0x%x\n", | 422 | pr_warn("AT91: shdwc wakeup counter 0x%x > 0x%x reduce it to 0x%x\n", |
423 | reg, AT91_SHDW_CPTWK0_MAX, AT91_SHDW_CPTWK0_MAX); | 423 | reg, AT91_SHDW_CPTWK0_MAX, AT91_SHDW_CPTWK0_MAX); |
424 | reg = AT91_SHDW_CPTWK0_MAX; | 424 | reg = AT91_SHDW_CPTWK0_MAX; |
425 | } | 425 | } |