drivers/bus: arm-cci: avoid parsing DT for cpu device nodes
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Mon, 17 Jun 2013 13:51:48 +0000 (14:51 +0100)
committerSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 21 Aug 2013 09:29:53 +0000 (10:29 +0100)
commit78b4d6e0fd2695da3019c86133444578d1ceeed3
tree668a67466bff03be655d80db3dd35504c96f9542
parentf6cec7cd0777fa18723fce9d398fa7e53b6ef00c
drivers/bus: arm-cci: avoid parsing DT for cpu device nodes

Since the CPU device nodes can be retrieved using arch_of_get_cpu_node,
we can use it to avoid parsing the cpus node searching the cpu nodes and
mapping to logical index.

This patch removes parsing DT for cpu nodes by using of_get_cpu_node.

Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
drivers/bus/arm-cci.c