Re: [PATCH 02/11] gpiolib: introduce devm_fwnode_gpiod_get_index()

2019-09-13 Thread Dmitry Torokhov
On Thu, Sep 12, 2019 at 10:48:13AM +0100, Linus Walleij wrote: > On Wed, Sep 11, 2019 at 8:52 AM Dmitry Torokhov > wrote: > > > devm_fwnode_get_index_gpiod_from_child() is too long, besides the fwnode > > in question does not have to be a child of device node. Let's rename it > > to devm_fwnode_g

Re: [PATCH 02/11] gpiolib: introduce devm_fwnode_gpiod_get_index()

2019-09-12 Thread Linus Walleij
On Wed, Sep 11, 2019 at 8:52 AM Dmitry Torokhov wrote: > devm_fwnode_get_index_gpiod_from_child() is too long, besides the fwnode > in question does not have to be a child of device node. Let's rename it > to devm_fwnode_gpiod_get_index() and keep the old name for compatibility > for now. > > Als

Re: [PATCH 02/11] gpiolib: introduce devm_fwnode_gpiod_get_index()

2019-09-12 Thread Linus Walleij
On Wed, Sep 11, 2019 at 6:01 PM Andy Shevchenko wrote: > On Wed, Sep 11, 2019 at 12:52:06AM -0700, Dmitry Torokhov wrote: > > devm_fwnode_get_index_gpiod_from_child() is too long, besides the fwnode > > in question does not have to be a child of device node. Let's rename it > > to devm_fwnode_gpio

Re: [PATCH 02/11] gpiolib: introduce devm_fwnode_gpiod_get_index()

2019-09-11 Thread Andy Shevchenko
On Wed, Sep 11, 2019 at 12:52:06AM -0700, Dmitry Torokhov wrote: > devm_fwnode_get_index_gpiod_from_child() is too long, besides the fwnode > in question does not have to be a child of device node. Let's rename it > to devm_fwnode_gpiod_get_index() and keep the old name for compatibility > for now.