]> git.baikalelectronics.ru Git - kernel.git/commit
c6x: use for_each_of_cpu_node iterator
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 12:53:30 +0000 (07:53 -0500)
committerRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 19:25:58 +0000 (14:25 -0500)
commit2840d8d2e1ec77fbcf98300830bb07bd8857b47b
treec3bf51854ef3d171f3fb6f98f8d35a2ffa92578a
parentfa6e460314acc2bb34866bd5fa5ed80ac0661b7c
c6x: use for_each_of_cpu_node iterator

Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names
in preference to the deprecated (for FDT) device_type == "cpu".

Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: linux-c6x-dev@linux-c6x.org
Signed-off-by: Rob Herring <robh@kernel.org>
arch/c6x/kernel/setup.c