]> git.baikalelectronics.ru Git - kernel.git/commit
SH: use for_each_of_cpu_node iterator
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 14:43:40 +0000 (09:43 -0500)
committerRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 19:25:58 +0000 (14:25 -0500)
commitdb46afee319dc389f26f08a863f98a4a07cb2bd9
tree7c8a7ee515ae110eef8e9704b453483707df9561
parentd134c88aae5f547e182f84398c26f4157cfa1462
SH: 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: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
arch/sh/boards/of-generic.c