Rob Herring <[email protected]> writes: > Convert string compares of DT node names to use of_node_name_eq helper > instead. This removes direct access to the node name pointer. > > For hvc, the code can also be simplified by using of_stdout pointer > instead of searching again for the stdout node. > > Cc: Benjamin Herrenschmidt <[email protected]> > Cc: Paul Mackerras <[email protected]> > Cc: Michael Ellerman <[email protected]> > Cc: Greg Kroah-Hartman <[email protected]> > Cc: Jiri Slaby <[email protected]> > Cc: "David S. Miller" <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Rob Herring <[email protected]> > --- > drivers/tty/hvc/hvc_opal.c | 2 +- > drivers/tty/hvc/hvc_vio.c | 11 +---------- > drivers/tty/serial/pmac_zilog.c | 4 ++--
LGTM. Acked-by: Michael Ellerman <[email protected]> (powerpc) cheers
