• Rob Herring's avatar
    macintosh: Use of_node_name_{eq, prefix} for node name comparisons · f1e0addc
    Rob Herring authored
    Convert string compares of DT node names to use of_node_name_{eq,prefix}
    helpers instead. This removes direct access to the node name pointer.
    
    This changes a single case insensitive node name comparison to case
    sensitive for "ata4". This is the only instance of a case insensitive
    comparison for all the open coded node name comparisons on powerpc.
    Searching the commit history, there doesn't appear to be any reason for
    it to be case insensitive.
    
    A couple of open coded iterating thru the child node names are converted
    to use for_each_child_of_node() instead.
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    f1e0addc
windfarm_lm87_sensor.c 3.97 KB