From: Pantelis Antoniou Date: Tue, 28 Oct 2014 20:36:03 +0000 (+0200) Subject: i2c/of: Add OF_RECONFIG notifier handler X-Git-Tag: omap-for-v3.20/drop-legacy-3517~124^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea7513bbc04170f1cbf42953187a4d8b731c71c4;p=pandora-kernel.git i2c/of: Add OF_RECONFIG notifier handler CONFIG_OF_DYNAMIC enables runtime changes to the device tree which in turn may trigger addition or removal of devices from Linux. Add an OF_RECONFIG notifier handler to receive tree change events and to creating or destroy i2c devices as required. Signed-off-by: Pantelis Antoniou [grant.likely: clean up #ifdefs and drop unneeded error handling] Signed-off-by: Grant Likely Reviewed-by: Wolfram Sang Cc: Rob Herring Cc: linux-i2c@vger.kernel.org --- Reading git-diff-tree failed