Re: [PATCH v2 2/2] driver core: add helper for deferred probe reason setting

From: Andy Shevchenko
Date: Fri Mar 19 2021 - 07:16:17 EST


On Fri, Mar 19, 2021 at 1:05 PM Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> wrote:
>
> We now have three places within the same file doing the same operation
> of freeing this pointer and setting it anew. A helper make this
> arguably easier to read, so add one.

> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>

One thing: Suggested-by?

--
With Best Regards,
Andy Shevchenko