Re: [PATCH v3 0/7] drivers: Add generic device lookup helpers

2019-07-30 Thread Greg KH
47698c27d15363640a4e: platform: Add platform_find_device_by_driver() helper (2019-07-30 13:07:42 +0200) Generic Device Lookup Helpers Persistent tag for others to pull this branch from Based on patch series from Suzuki K Poulose

Re: [PATCH v3 0/7] drivers: Add generic device lookup helpers

2019-07-25 Thread Greg KH
On Tue, Jul 23, 2019 at 11:18:31PM +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 v3 0/7] drivers: Add generic device lookup helpers

2019-07-23 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