Re: [PATCH 3/3] drivers: use probe_err function in obvious cases

2018-10-17 Thread Andrzej Hajda
On 16.10.2018 15:51, Andy Shevchenko wrote: > On Tue, Oct 16, 2018 at 10:22 AM Andrzej Hajda wrote: >> The patch replaces obviously matching code with probe_err function. >> There are many more places where probe_err could be used. >> The patch shows how the new function should be used, and how it

Re: [PATCH 3/3] drivers: use probe_err function in obvious cases

2018-10-16 Thread Andy Shevchenko
On Tue, Oct 16, 2018 at 10:22 AM Andrzej Hajda wrote: > > The patch replaces obviously matching code with probe_err function. > There are many more places where probe_err could be used. > The patch shows how the new function should be used, and how it > improves the code. > --- a/drivers/gpio/gpi

Re: [PATCH 3/3] drivers: use probe_err function in obvious cases

2018-10-16 Thread Javier Martinez Canillas
Hello Andrzej, On 10/16/2018 09:22 AM, Andrzej Hajda wrote: > The patch replaces obviously matching code with probe_err function. > There are many more places where probe_err could be used. > The patch shows how the new function should be used, and how it > improves the code. > > It was generated