Re: [PATCH v2 00/28] drivers: Consolidate device lookup helpers

2019-06-23 Thread Greg KH
On Fri, Jun 14, 2019 at 06:53:55PM +0100, Suzuki K Poulose wrote: > We have device iterators to find a particular device matching a criteria > for a given bus/class/driver. i.e, {bus,class,driver}_find_device() APIs. > The matching criteria is a function pointer for the APIs. Often the lookup > is

[PATCH v2 00/28] drivers: Consolidate device lookup helpers

2019-06-16 Thread Suzuki K Poulose
We have device iterators to find a particular device matching a criteria for a given bus/class/driver. i.e, {bus,class,driver}_find_device() APIs. The matching criteria is a function pointer for the APIs. Often the lookup is based on a generic property of a device (e.g, name, fwnode, of node pointe