Re: [PATCH 1/2] gpio: max732x: use i2c_new_dummy_device()

2019-06-01 Thread Linus Walleij
On Tue, May 28, 2019 at 5:53 PM Bartosz Golaszewski wrote: > wt., 21 maj 2019 o 11:03 Bartosz Golaszewski napisał(a): > > > > From: Bartosz Golaszewski > > > > We now have a resource managed version of i2c_new_dummy_device() that > > also returns an actual error code instead of a NULL-pointer. U

Re: [PATCH 1/2] gpio: max732x: use i2c_new_dummy_device()

2019-05-28 Thread Bartosz Golaszewski
wt., 21 maj 2019 o 11:03 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > We now have a resource managed version of i2c_new_dummy_device() that > also returns an actual error code instead of a NULL-pointer. Use it > in the max732x GPIO driver and simplify code in the process. > >