devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Rowand <frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Mirza Krak <mirza.krak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Documentation inconsistency
Date: Mon, 1 Aug 2016 14:04:43 -0700	[thread overview]
Message-ID: <579FB96B.2070807@gmail.com> (raw)
In-Reply-To: <CALw8SCUjiKsAoNVxORkwyrDztEAGYd-zdCGpj6UJHjskppuROQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 08/01/16 12:55, Mirza Krak wrote:
> Hi all.
> 
> Came across a small documentation regression.
> 
> In 75f353b61342 ("of/platform: Fix of_platform_device_destroy
> iteration of devices") return value was removed from
> of_platform_depopulate but documentation brief was not updated.
> 
> /**
>  * of_platform_depopulate() - Remove devices populated from device tree
>  * @parent: device which children will be removed
>  *
>  * Complementary to of_platform_populate(), this function removes children
>  * of the given device (and, recurrently, their children) that have been
>  * created from their respective device tree nodes (and only those,
>  * leaving others - eg. manually created - unharmed).
>  *
>  * Returns 0 when all children devices have been removed or
>  * -EBUSY when some children remained.
>  */
> void of_platform_depopulate(struct device *parent)
> 
> I could send a patch removing the "return" part, but I am not sure if
> the rest of the brief needs some updating.
> 
> Best Regards
> Mirza
> 

Hi Mirza,

Thanks for pointing that out.  But no need for a patch.  I've been going
through all of the docbook headers (which have much breakage) and will
be updating them.

-Frank
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2016-08-01 21:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 19:55 Documentation inconsistency Mirza Krak
     [not found] ` <CALw8SCUjiKsAoNVxORkwyrDztEAGYd-zdCGpj6UJHjskppuROQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-01 21:04   ` Frank Rowand [this message]

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=579FB96B.2070807@gmail.com \
    --to=frowand.list-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=mirza.krak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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;
as well as URLs for NNTP newsgroup(s).