[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYBFBRFEzCUb19n0iHpJknn419aXdbgOAqG8h1P0J2YJw@mail.gmail.com>
Date: Fri, 27 Mar 2020 22:39:20 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Bartosz Golaszewski <bgolaszewski@...libre.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpiolib: Pass gpio_desc to gpio_set_config()
On Wed, Mar 25, 2020 at 11:04 AM Geert Uytterhoeven
<geert+renesas@...der.be> 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@...der.be>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists