Messages in this thread | | | Date | Mon, 19 Sep 2016 21:22:47 +0200 | From | Sebastian Reichel <> | 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@socionext.com>
Thanks, queued.
-- Sebastian [unhandled content-type:application/pgp-signature] | |