Re: [PATCH v3 08/10] gpio: exar: Refactor address and bit calculations

From: Linus Walleij
Date: Mon May 29 2017 - 08:35:01 EST


On Fri, May 26, 2017 at 6:02 PM, Jan Kiszka <jan.kiszka@xxxxxxxxxxx> wrote:

> Make the address and bit calculation more friendly for introducing a
> "first pin" offset later on. The new form is also more compact and
> regular.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>

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

Whether you go with a separate patch or as Andy suggests.

Yours,
Linus Walleij