Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1637873

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

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] driver core: platform: Add ability to find resource by name or index
Date 2017-05-09 07:50 +0200
Message-ID <tF6c1-5O4-3@gated-at.bofh.it> (permalink)
References <tEZ0S-1js-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] driver core: platform: Add ability to find resource by name or index Jon Mason <jon.mason@broadcom.com> - 2017-05-09 00:10 +0200
  Re: [PATCH] driver core: platform: Add ability to find resource by  name or index Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-09 07:50 +0200
    Re: [PATCH] driver core: platform: Add ability to find resource by  name or index Jon Mason <jon.mason@broadcom.com> - 2017-05-10 00:30 +0200

csiph-web