Re: [PATCH 04/11] net: phylink: switch to using fwnode_gpiod_get_index()
From: Linus Walleij <hidden>
Date: 2019-09-12 09:41:57
Also in:
linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2019-09-12 09:41:57
Also in:
linux-gpio, lkml
On Wed, Sep 11, 2019 at 10:51 AM Dmitry Torokhov [off-list ref] wrote:
If we are willing to sacrifice the custom label for the GPIO that fwnode_gpiod_get_index() allows us to set, then there are several drivers that could actually use gpiod_get() API.
We have: gpiod_set_consumer_name(gpiod, "name"); to deal with that so no sacrifice is needed. Yours, Linus Walleij