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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 08, 2013 at 05:43:28PM +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu@xxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
> 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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux