i2c: Mark instantiated device nodes with OF_POPULATE
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Thu, 15 Jan 2015 16:33:55 +0000 (18:33 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 21 Feb 2015 03:14:08 +0000 (12:14 +0900)
commit5722d513b0d502b9d6bb08d16a1bd1da3c1f2fd7
treec429ac3a768cdef4bed1df6d5a38b416d8e2c70b
parent9f2de29f83de83f8ea7c7ce5f9afbecadd72b507
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 d5285c36e6d27c1a411a3131c034641a5fa452cb)
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/i2c/i2c-core.c