of: Improve grammar for of_alias_get_id() documentation
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Tue, 11 Mar 2014 10:23:38 +0000 (11:23 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 5 May 2014 13:37:45 +0000 (15:37 +0200)
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Rob Herring <robh@kernel.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/of/base.c

index 4557a14..ce1d3d8 100644 (file)
@@ -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)
 {