Re: [PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-10-08 Thread Silesh C V
Hello Rafael, On Mon, Oct 8, 2018 at 1:43 PM Rafael J. Wysocki wrote: > > On Tue, Sep 25, 2018 at 7:29 AM 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

Re: [PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-10-08 Thread Rafael J. Wysocki
On Tue, Sep 25, 2018 at 7:29 AM 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 to rei

[PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-09-24 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