From: Pantelis Antoniou Date: Sat, 24 Jan 2015 07:16:29 +0000 (+0200) Subject: i2c: Mark instantiated device nodes with OF_POPULATE X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~15^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f001fd30145a6a8f72f9544c982cfd3dcb7c6df;p=pandora-kernel.git 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. This patch is also more careful with the release of the adapter device which caused a deadlock with muxes, and does not break the build on !OF since the node flag accessors are not defined then. Signed-off-by: Pantelis Antoniou Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed