diff options
author | Robin Murphy <robin.murphy@arm.com> | 2018-02-15 18:51:44 +0000 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-03-06 17:26:48 +0100 |
commit | 3ee5e821f3a1affd406ff1031f4cf6d7b4f81ab3 (patch) | |
tree | 1a8893df91968ea0a8aeb67e127dea72bcd6220f /drivers/perf/arm-cci.c | |
parent | 03057f2626e955ebea88a668a6d7d699f836e5c0 (diff) | |
download | linux-3ee5e821f3a1affd406ff1031f4cf6d7b4f81ab3.tar.bz2 |
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>
Diffstat (limited to 'drivers/perf/arm-cci.c')
0 files changed, 0 insertions, 0 deletions