]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33058fa6efcddb063e03ea749c892e4d4167a7df
treef06c2c60487f7d7d1d55c36750509b0f7b8dedf8
parent1f99e183c0125f3551602b06118c07b4fe25b685
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