On Mon, Nov 24, 2014 at 10:33:40PM +0000, Grant Likely wrote: > From: Pantelis Antoniou > > 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 > Cc: Wolfram Sang > Cc: Rob Herring > Cc: linux-i2c@vger.kernel.org Reviewed-by: Wolfram Sang