Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95f287e5 authored by Johan Hovold's avatar Johan Hovold Committed by Nicolas Ferre
Browse files

ARM: at91/setup: fix trivial typos



Fix a few trivial typos in panic, warning and debug messages.

Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 42e73f1f
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -353,7 +353,7 @@ static void at91_dt_ramc(void)


	np = of_find_matching_node(NULL, ramc_ids);
	np = of_find_matching_node(NULL, ramc_ids);
	if (!np)
	if (!np)
		panic("unable to find compatible ram conroller node in dtb\n");
		panic("unable to find compatible ram controller node in dtb\n");


	at91_ramc_base[0] = of_iomap(np, 0);
	at91_ramc_base[0] = of_iomap(np, 0);
	if (!at91_ramc_base[0])
	if (!at91_ramc_base[0])
@@ -403,7 +403,7 @@ static void at91_dt_shdwc(void)


	np = of_find_matching_node(NULL, shdwc_ids);
	np = of_find_matching_node(NULL, shdwc_ids);
	if (!np) {
	if (!np) {
		pr_debug("AT91: unable to find compatible shutdown (shdwc) conroller node in dtb\n");
		pr_debug("AT91: unable to find compatible shutdown (shdwc) controller node in dtb\n");
		return;
		return;
	}
	}


@@ -419,7 +419,7 @@ static void at91_dt_shdwc(void)


	if (!of_property_read_u32(np, "atmel,wakeup-counter", &reg)) {
	if (!of_property_read_u32(np, "atmel,wakeup-counter", &reg)) {
		if (reg > AT91_SHDW_CPTWK0_MAX) {
		if (reg > AT91_SHDW_CPTWK0_MAX) {
			pr_warn("AT91: shdwc wakeup conter 0x%x > 0x%x reduce it to 0x%x\n",
			pr_warn("AT91: shdwc wakeup counter 0x%x > 0x%x reduce it to 0x%x\n",
				reg, AT91_SHDW_CPTWK0_MAX, AT91_SHDW_CPTWK0_MAX);
				reg, AT91_SHDW_CPTWK0_MAX, AT91_SHDW_CPTWK0_MAX);
			reg = AT91_SHDW_CPTWK0_MAX;
			reg = AT91_SHDW_CPTWK0_MAX;
		}
		}