of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 28 Oct 2014 20:36:01 +0000 (22:36 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 16 Feb 2015 16:13:09 +0000 (01:13 +0900)
commitb529a532ec6f76517a5e6631c37e8951a079a24b
treeeee0a55ec85dd55f40a575bf3294ffd8ff9ce712
parentf2d2cdb9c3bfe92ac575a540b4b3b04313485caa
of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type

Add OF notifier handler needed for creating/destroying platform devices
according to dynamic runtime changes in the DT live tree.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
(cherry picked from commit 801d728c10db4b28e01590b46bf1f0df930760cc)
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/platform.c
drivers/of/platform.c
include/linux/of_platform.h