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

2021-04-05 Thread Greg Kroah-Hartman
On Mon, Apr 05, 2021 at 10:27:56AM +0200, Ahmad Fatoum wrote: > Hello Greg, > > On 23.03.21 16:37, Ahmad Fatoum wrote: > > We now have three places within the same file doing the same operation > > of freeing this pointer and setting it anew. A helper makes this > > arguably easier to read, so add

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

2021-04-05 Thread Ahmad Fatoum
Hello Greg, On 23.03.21 16:37, Ahmad Fatoum wrote: > We now have three places within the same file doing the same operation > of freeing this pointer and setting it anew. A helper makes this > arguably easier to read, so add one. > > Reviewed-by: Andy Shevchenko > Reviewed-by: Andrzej Hajda > S

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

2021-03-23 Thread Ahmad Fatoum
We now have three places within the same file doing the same operation of freeing this pointer and setting it anew. A helper makes this arguably easier to read, so add one. Reviewed-by: Andy Shevchenko Reviewed-by: Andrzej Hajda Signed-off-by: Ahmad Fatoum --- v2 -> v3: - fixed typo in commit