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-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a53a07f12da4377df8016ffc7fd465411cc1a7b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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) {