Re: [PATCH] Driver core: add bus_find_device_by_of_node

From: Rafael J. Wysocki
Date: Thu Sep 20 2018 - 03:37:01 EST


On Thu, Sep 20, 2018 at 7:43 AM Silesh C V <svellattu@xxxxxxxxxx> wrote:
>
> Similar to bus_find_device_by_name, but finds the device having a
> specific of_node.

First, what do you need it for? Please describe your use case in the changelog.

Second, what about a more generic bus_find_device_by_fwnode() ?

Thanks,
Rafael