From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Jon Mason <jon.mason@broadcom.com>
Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com
Subject: Re: [PATCH] driver core: platform: Add ability to find resource by name or index
Date: Tue, 9 May 2017 07:42:07 +0200 [thread overview]
Message-ID: <20170509054207.GA23070@kroah.com> (raw)
In-Reply-To: <1494280788-9588-1-git-send-email-jon.mason@broadcom.com>
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@gmail.com>
> Signed-off-by: Jon Mason <jon.mason@broadcom.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
next prev parent reply other threads:[~2017-05-09 5:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 21:59 [PATCH] driver core: platform: Add ability to find resource by name or index Jon Mason
2017-05-09 5:42 ` Greg Kroah-Hartman [this message]
2017-05-09 22:24 ` Jon Mason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170509054207.GA23070@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=jon.mason@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox