From: Geert Uytterhoeven Date: Tue, 11 Mar 2014 10:23:38 +0000 (+0100) Subject: of: Improve grammar for of_alias_get_id() documentation X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~14004^2~10^2~15 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5a53a07f12da4377df8016ffc7fd465411cc1a7b;p=mirror_ubuntu-focal-kernel.git of: Improve grammar for of_alias_get_id() documentation Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring Cc: Grant Likely Cc: devicetree@vger.kernel.org Signed-off-by: Jiri Kosina --- diff --git a/drivers/of/base.c b/drivers/of/base.c index 4557a142c752..ce1d3d8a0cd8 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -2040,8 +2040,8 @@ void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)) * @np: Pointer to the given device_node * @stem: Alias stem of the given device_node * - * The function travels the lookup table to get alias id for the given - * device_node and alias stem. It returns the alias id if find it. + * The function travels the lookup table to get the alias id for the given + * device_node and alias stem. It returns the alias id if found. */ int of_alias_get_id(struct device_node *np, const char *stem) {