[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160919192245.aokjbadp73bzgydw@earth>
Date: Mon, 19 Sep 2016 21:22:47 +0200
From: Sebastian Reichel <sre@...nel.org>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: linux-pm@...r.kernel.org,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: ab8500: cleanup with list_first_entry_or_null()
Hi,
On Tue, Sep 13, 2016 at 03:23:21AM +0900, Masahiro Yamada wrote:
> The combo of list_empty() check and return list_first_entry()
> can be replaced with list_first_entry_or_null().
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
Thanks, queued.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists