PM / devfreq: exynos-bus: Add registration of interconnect child device
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 12 Nov 2020 14:09:30 +0000 (15:09 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 13 Nov 2020 09:10:42 +0000 (18:10 +0900)
commit404d59c57b26681a370eee059f9b8ad0f34327be
treedd60d6ff62a702d259ac0705c38fece25e8ebba2
parenta04c75704678cce818c8250385c11d5efa0128c4
PM / devfreq: exynos-bus: Add registration of interconnect child device

This patch adds registration of a child platform device for the exynos
interconnect driver. It is assumed that the interconnect provider will
only be needed when #interconnect-cells property is present in the bus
DT node, hence the child device will be created only when such a property
is present.

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/exynos-bus.c