spi/of: Add OF notifier handler
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 28 Oct 2014 20:36:05 +0000 (22:36 +0200)
committerGrant Likely <grant.likely@linaro.org>
Tue, 25 Nov 2014 15:36:24 +0000 (15:36 +0000)
commitce79d54ae447d65117303ca9f61ffe9dcbc2465d
treef06c2c60487f7d7d1d55c36750509b0f7b8dedf8
parentaff5e3f89a0b07e7edf9243f913378cc27e4110d
spi/of: Add OF notifier handler

Add OF notifier handler needed for creating/destroying spi devices
according to dynamic runtime changes in the DT live tree. This code is
enabled when CONFIG_OF_DYNAMIC is selected.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Cc: <linux-spi@vger.kernel.org>
drivers/spi/spi.c