mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: i2c: change 0X to 0x
@ 2013-04-08 15:43 Jan Luebbe
  2013-04-09  7:01 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2013-04-08 15:43 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 commands/i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] commands: i2c: change 0X to 0x
  2013-04-08 15:43 [PATCH] commands: i2c: change 0X to 0x Jan Luebbe
@ 2013-04-09  7:01 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-04-09  7:01 UTC (permalink / raw)
  To: Jan Luebbe; +Cc: barebox

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-09  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 15:43 [PATCH] commands: i2c: change 0X to 0x Jan Luebbe
2013-04-09  7:01 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox