diff options
author | Sudeep KarkadaNagesha | 2013-10-30 13:47:16 +0000 |
---|---|---|
committer | Catalin Marinas | 2013-10-30 17:54:49 +0000 |
commit | 248f0e7f5f0012fb9c1954e582196aa7f32a0c81 (patch) | |
tree | f33927d4fc1540baa0a8e0c17a25ff676e6cff52 /drivers/media | |
parent | 6e15d0e04bfeaa5662a289ee915273307326e45a (diff) |
ARM64: simplify cpu_read_bootcpu_ops using OF/DT helper
Once the cpu_logical_map for any logical cpu is populated with the
corresponding physical identifier(i.e. mpidr), it's device node can
be retrieved using the DT helper 'of_get_cpu_node'. Currently the
device tree parsing code to get boot cpu node is duplicated in
'cpu_read_bootcpu_ops'.
This patch replaces the code parsing the device tree for the boot
cpu with of_get_cpu_node.
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions