commit | 3ee5e821f3a1affd406ff1031f4cf6d7b4f81ab3 | [log] [tgz] |
---|---|---|
author | Robin Murphy <robin.murphy@arm.com> | Thu Feb 15 18:51:44 2018 +0000 |
committer | Arnd Bergmann <arnd@arndb.de> | Tue Mar 06 17:26:48 2018 +0100 |
tree | 1a8893df91968ea0a8aeb67e127dea72bcd6220f | |
parent | 03057f2626e955ebea88a668a6d7d699f836e5c0 [diff] |
bus/arm-cci: Streamline devicetree handling a bit Rather than iterating over child nodes explicitly testing for availability, we can just use the other helper which already subsumes that check. Also, the availability check is already NULL-safe, so get rid of a redundant check in cci_probe(), too. Acked-by: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>