Bo Shen 58a7371a4d i2c: i2c-gpio: fix name issue with multiple i2c gpio nodes
When having multiple i2c-gpio nodes, the name for each is same.
So add the patch to fix it.

The adap->name printing information was added by myself

without this patch the log information is as following
---<8---
adap->name = i2c-gpio-1
i2c-gpio i2c.2: using pins 30 (SDA) and 31 (SCL)
adap->name = i2c-gpio-1
i2c-gpio i2c.3: using pins 64 (SDA) and 65 (SCL)
--->8---

with this patch, the log information is as following
---<8---
adap->name = i2c.2
i2c-gpio i2c.2: using pins 30 (SDA) and 31 (SCL)
adap->name = i2c.3
i2c-gpio i2c.3: using pins 64 (SDA) and 65 (SCL)
--->8---

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

[wsa: minor fixes to the commit mesage]

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2012-11-14 09:56:43 +01:00
..
2012-07-24 14:13:56 +02:00
2012-07-24 14:13:56 +02:00
2011-03-31 11:26:23 -03:00
2012-07-24 14:13:56 +02:00
2012-10-28 21:37:01 +01:00
2008-01-27 18:14:45 +01:00
2011-01-04 00:53:37 +00:00
2011-05-24 20:58:49 +02:00
2012-07-24 14:13:56 +02:00
2012-10-05 22:23:55 +02:00
2012-11-13 11:24:15 +01:00
2012-07-24 14:13:56 +02:00
2012-07-24 14:13:56 +02:00
2011-06-29 11:36:10 +02:00
2012-07-24 14:13:56 +02:00
2012-05-12 14:28:18 +02:00
2012-10-28 21:37:00 +01:00