Re: [PATCH] driver core: platform: Add ability to find resource by name or index

2017-05-09 Thread Jon Mason
On Tue, May 9, 2017 at 1:42 AM, Greg Kroah-Hartman wrote: > On Mon, May 08, 2017 at 05:59:48PM -0400, Jon Mason wrote: >> It is not always possible to find a resource via the name. This may be >> due to using previous versions of device tree without the names or using

Re: [PATCH] driver core: platform: Add ability to find resource by name or index

2017-05-09 Thread Jon Mason
On Tue, May 9, 2017 at 1:42 AM, Greg Kroah-Hartman wrote: > On Mon, May 08, 2017 at 05:59:48PM -0400, Jon Mason wrote: >> It is not always possible to find a resource via the name. This may be >> due to using previous versions of device tree without the names or using >> ACPI. To allow for

Re: [PATCH] driver core: platform: Add ability to find resource by name or index

2017-05-08 Thread Greg Kroah-Hartman
On Mon, May 08, 2017 at 05:59:48PM -0400, Jon Mason wrote: > It is not always possible to find a resource via the name. This may be > due to using previous versions of device tree without the names or using > ACPI. To allow for resources to be discovered by either the name or the > index, a

Re: [PATCH] driver core: platform: Add ability to find resource by name or index

2017-05-08 Thread Greg Kroah-Hartman
On Mon, May 08, 2017 at 05:59:48PM -0400, Jon Mason wrote: > It is not always possible to find a resource via the name. This may be > due to using previous versions of device tree without the names or using > ACPI. To allow for resources to be discovered by either the name or the > index, a

[PATCH] driver core: platform: Add ability to find resource by name or index

2017-05-08 Thread Jon Mason
It is not always possible to find a resource via the name. This may be due to using previous versions of device tree without the names or using ACPI. To allow for resources to be discovered by either the name or the index, a wrapper was created. It attempts to find the resource via name, and if

[PATCH] driver core: platform: Add ability to find resource by name or index

2017-05-08 Thread Jon Mason
It is not always possible to find a resource via the name. This may be due to using previous versions of device tree without the names or using ACPI. To allow for resources to be discovered by either the name or the index, a wrapper was created. It attempts to find the resource via name, and if