Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 12:06:13PM +0530, Silesh C V wrote: > Hello Greg, > On Mon, Sep 24, 2018 at 10:48 AM Greg Kroah-Hartman > wrote: > > > > On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > > > Some drivers need to find the device on a bus having a specific firmware > > > node. Cu

Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-23 Thread Silesh C V
Hello Greg, On Mon, Sep 24, 2018 at 10:48 AM Greg Kroah-Hartman wrote: > > On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > > Some drivers need to find the device on a bus having a specific firmware > > node. Currently, such drivers have their own implementations to do this. > > Provi

Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-23 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > Some drivers need to find the device on a bus having a specific firmware > node. Currently, such drivers have their own implementations to do this. > Provide a helper similar to bus_find_device_by_name so that each driver > does not have

[PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-23 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V --- drivers/base/bus