[PATCH] tty: Use of_node_name_{eq,prefix} for node name comparisons

David Miller davem at davemloft.net
Thu Dec 6 06:55:12 AEDT 2018


From: Rob Herring <robh at kernel.org>
Date: Wed,  5 Dec 2018 13:50:43 -0600

> 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 <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Jiri Slaby <jslaby at suse.com>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: linuxppc-dev at lists.ozlabs.org
> Cc: linux-serial at vger.kernel.org
> Cc: sparclinux at vger.kernel.org
> Signed-off-by: Rob Herring <robh at kernel.org>

Acked-by: David S. Miller <davem at davemloft.net>


More information about the Linuxppc-dev mailing list