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

From: Linus Walleij
Date: Sat Jun 01 2019 - 13:48:32 EST


On Tue, May 28, 2019 at 5:53 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> wt., 21 maj 2019 o 11:03 Bartosz Golaszewski <brgl@xxxxxxxx> napisaÅ(a):
> >
> > From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> >
> > 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.
> >
> > Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> > ---
>
> If there are no objections I'll apply it by the end of this week.

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Just include it in some pull request to me!

Yours,
Linus Walleij