Re: [PATCH] Driver core: add bus_find_device_by_fwnode
From: Greg Kroah-Hartman
Date: Mon Sep 24 2018 - 01:18:40 EST
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 to reinvent this.
Is there a second patch that uses this function? We don't add api calls
that are not used.