[PATCH] commands: i2c: change 0X to 0x

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 9 03:01:43 EDT 2013


On Mon, Apr 08, 2013 at 05:43:28PM +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> ---
>  commands/i2c.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/i2c.c b/commands/i2c.c
> index 8370b43..626255d 100644
> --- a/commands/i2c.c
> +++ b/commands/i2c.c
> @@ -45,7 +45,7 @@ static int do_i2c_probe(int argc, char *argv[])
>  	if (stopaddr > 0x7F)
>  		stopaddr = 0x7F;
>  
> -	printf("probing i2c range 0X%02x - 0x%02x :\n", startaddr, stopaddr);
> +	printf("probing i2c range 0x%02x - 0x%02x :\n", startaddr, stopaddr);
>  	for (addr = startaddr; addr <= stopaddr; addr++) {
>  		client.addr = addr;
>  		ret = i2c_write_reg(&client, 0x00, &reg, 0);
> -- 
> 1.8.2.rc2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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