[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ftvbl44f.fsf@concordia.ellerman.id.au>
Date: Thu, 06 Dec 2018 14:34:56 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: Rob Herring <robh@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>,
"David S. Miller" <davem@...emloft.net>,
linuxppc-dev@...ts.ozlabs.org, linux-serial@...r.kernel.org,
sparclinux@...r.kernel.org
Subject: Re: [PATCH] tty: Use of_node_name_{eq,prefix} for node name comparisons
Rob Herring <robh@...nel.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 <benh@...nel.crashing.org>
> Cc: Paul Mackerras <paulus@...ba.org>
> Cc: Michael Ellerman <mpe@...erman.id.au>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: Jiri Slaby <jslaby@...e.com>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: linuxppc-dev@...ts.ozlabs.org
> Cc: linux-serial@...r.kernel.org
> Cc: sparclinux@...r.kernel.org
> Signed-off-by: Rob Herring <robh@...nel.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 <mpe@...erman.id.au> (powerpc)
cheers
Powered by blists - more mailing lists