Re: [PATCH 1/2] gpiolib: Pass gpio_desc to gpio_set_config()

From: Linus Walleij
Date: Fri Mar 27 2020 - 17:39:34 EST


On Wed, Mar 25, 2020 at 11:04 AM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:

> All callers of gpio_set_config() have to convert a gpio_desc to a
> gpio_chip and offset. Avoid these duplicated conversion steps by
> letting gpio_set_config() take a gpio_desc pointer directly.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij