i2c: Mark instantiated device nodes with OF_POPULATE
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Thu, 15 Jan 2015 18:33:18 +0000 (20:33 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 21 Feb 2015 03:14:29 +0000 (12:14 +0900)
commit6f491cafa26fe73636523730bcffb4ee99f5f21c
tree4fc8a3156efe073dd654d1723ca2a0bdb659575a
parent5722d513b0d502b9d6bb08d16a1bd1da3c1f2fd7
i2c: Mark instantiated device nodes with OF_POPULATE

Mark (and unmark) device nodes with the POPULATE flag as appropriate.
This is required to avoid multi probing when using I2C and device
overlays containing a mux.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
(cherry picked from commit 6d0a0d9ad09be16e3ca676b245643945b4bff47d)
Signed-off-by: Mark Brown <broonie@kernel.org>
Conflicts:
drivers/i2c/i2c-core.c
drivers/i2c/i2c-core.c