Rob Herring <r...@kernel.org> 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 <b...@kernel.crashing.org> > Cc: Paul Mackerras <pau...@samba.org> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: Jiri Slaby <jsl...@suse.com> > Cc: "David S. Miller" <da...@davemloft.net> > Cc: linuxppc-dev@lists.ozlabs.org > Cc: linux-ser...@vger.kernel.org > Cc: sparcli...@vger.kernel.org > Signed-off-by: Rob Herring <r...@kernel.org> > --- > 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 <m...@ellerman.id.au> (powerpc) cheers