i2c: core: Add support for 'i2c-bus' subnode
authorJon Hunter <jonathanh@nvidia.com>
Wed, 29 Jun 2016 09:17:53 +0000 (10:17 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 30 Jun 2016 09:02:17 +0000 (11:02 +0200)
commit7e4c224abfe8e2a00f56a2ef0198e6de3ca1852c
tree71c09d9f026728b214dcded5b25db41747b9500a
parent98b00488459e9d27d8e42b6d241f309f26ffde07
i2c: core: Add support for 'i2c-bus' subnode

If the 'i2c-bus' device-tree node is present for an I2C adapter then
parse this subnode for I2C slaves.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/i2c/i2c-core.c