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 <b...@mboxify.com>
Reviewed-by: Ahmad Fatoum <a.fat...@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 |