• Rob Herring's avatar
    SH: use for_each_of_cpu_node iterator · 8cabf5bc
    Rob Herring authored
    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: default avatarRob Herring <robh@kernel.org>
    8cabf5bc
of-generic.c 3.84 KB