[PATCH] of: fix typos

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 26 01:28:15 EDT 2013


On Thu, Apr 25, 2013 at 08:09:30PM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>

Applied, thanks

Sascha

> ---
>  drivers/of/base.c |    4 ++--
>  drivers/of/gpio.c |    1 -
>  2 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/of/base.c b/drivers/of/base.c
> index fde91b3..5661e8d 100644
> --- a/drivers/of/base.c
> +++ b/drivers/of/base.c
> @@ -902,13 +902,13 @@ int of_add_memory(struct device_node *node, bool dump)
>  
>  		sprintf(str, "ram%d", r);
>  
> -                barebox_add_memory_bank(str, base, size);
> +		barebox_add_memory_bank(str, base, size);
>  
>  		if (dump)
>  			pr_info("%s: %s: 0x%llx at 0x%llx\n", node->name, str, size, base);
>  
>  		r++;
> -        }
> +	}
>  
>  	return 0;
>  }
> diff --git a/drivers/of/gpio.c b/drivers/of/gpio.c
> index d4314f3..83b72c0 100644
> --- a/drivers/of/gpio.c
> +++ b/drivers/of/gpio.c
> @@ -25,4 +25,3 @@ int of_get_named_gpio(struct device_node *np,
>  
>  	return ret;
>  }
> -
> -- 
> 1.7.10.4
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list