[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170509054207.GA23070@kroah.com>
Date: Tue, 9 May 2017 07:42:07 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Jon Mason <jon.mason@...adcom.com>
Cc: linux-kernel@...r.kernel.org, bcm-kernel-feedback-list@...adcom.com
Subject: Re: [PATCH] driver core: platform: Add ability to find resource by
name or index
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 wrapper was created. It attempts to find the resource via
> name, and if unable to find the resource, will then attempt to find the
> resource via index.
>
> Suggested-by: Florian Fainelli <f.fainelli@...il.com>
> Signed-off-by: Jon Mason <jon.mason@...adcom.com>
> ---
> include/linux/platform_device.h | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
Do you have any users for this new function? We don't like adding apis
without them...
thanks,
greg k-h
Powered by blists - more mailing lists