diff options
author | Bo Shen <voice.shen@atmel.com> | 2012-10-15 03:51:17 -0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-11-14 03:56:43 -0500 |
commit | 58a7371a4dd9d03f77265ee2784781fc39096136 (patch) | |
tree | 093d34cfcc66741ea9f5475e88c8c9214e8cdc4c /drivers/Kconfig | |
parent | 970d494c323826d8bb21e8ed1796da15082808ec (diff) |
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>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions