From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Bo Sun <bo@mboxify.com>, barebox@lists.infradead.org
Subject: Re: [PATCH 3/3] of: base: fix of_match_node function documentation
Date: Fri, 11 Jul 2025 14:55:14 +0200 [thread overview]
Message-ID: <03829b63-0d2c-495a-abfb-89192170eb24@pengutronix.de> (raw)
In-Reply-To: <20250711122729.108015-3-bo@mboxify.com>
On 7/11/25 14:27, Bo Sun wrote:
> Fix grammar error, correct structure name, and add missing return
> value description.
>
> Signed-off-by: Bo Sun <bo@mboxify.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Thanks,
Ahmad
> ---
> drivers/of/base.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/of/base.c b/drivers/of/base.c
> index 1439e55a0a..903adb3670 100644
> --- a/drivers/of/base.c
> +++ b/drivers/of/base.c
> @@ -778,11 +778,13 @@ struct device_node *of_find_node_with_property(struct device_node *from,
> EXPORT_SYMBOL(of_find_node_with_property);
>
> /**
> - * of_match_node - Tell if an device_node has a matching of_match structure
> + * of_match_node - Tell if a device_node has a matching of_device_id structure
> * @matches: array of of device match structures to search in
> * @node: the of device structure to match against
> *
> * Low level utility function used by device matching.
> + *
> + * Return: pointer to the best matching of_device_id structure, or NULL
> */
> const struct of_device_id *of_match_node(const struct of_device_id *matches,
> const struct device_node *node)
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2025-07-11 12:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-11 12:27 [PATCH 1/3] driver: clean up comment formatting and spacing Bo Sun
2025-07-11 12:27 ` [PATCH 2/3] miitool: clarify help text for default behavior and -s option Bo Sun
2025-07-11 12:53 ` Ahmad Fatoum
2025-07-11 12:27 ` [PATCH 3/3] of: base: fix of_match_node function documentation Bo Sun
2025-07-11 12:55 ` Ahmad Fatoum [this message]
2025-07-11 12:39 ` [PATCH 1/3] driver: clean up comment formatting and spacing Ahmad Fatoum
2025-07-11 13:43 ` Bo Sun
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=03829b63-0d2c-495a-abfb-89192170eb24@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=bo@mboxify.com \
/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