]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memory: ti-aemif: don't needlessly iterate over child nodes
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 9 Aug 2024 14:15:56 +0000 (16:15 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 12 Aug 2024 10:32:11 +0000 (12:32 +0200)
commit23a641d5c2bce4c723fff9118a5d865ee6b9d05a
tree58db215f9c4a0447dd6f72de8896176afe977b1d
parentf6ae541cc3355fe872d4c942dc47d67877951d17
memory: ti-aemif: don't needlessly iterate over child nodes

When populating devices from a specific node, we don't need to call
of_platform_populate() for every child node manually - the routine
will already do it. We can call it directly from the platform device's
OF node. While at it: use the managed variant of of_platform_populate().

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20240809-ti-aemif-v1-3-27b1e5001390@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/ti-aemif.c