Re: [PATCH] power: ab8500: cleanup with list_first_entry_or_null()
From: Sebastian Reichel
Date: Mon Sep 19 2016 - 15:22:59 EST
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@xxxxxxxxxxxxx>
Thanks, queued.
-- Sebastian
Attachment:
signature.asc
Description: PGP signature