ath25: switch default kernel to 5.15
[openwrt/openwrt.git] / target / linux / generic / backport-5.10 / 732-v5.13-0007-of-base-Fix-spelling-issue-with-function-param-prop.patch
1 From 31e46db02ac1351c84e56a18606d17fc1b8390dd Mon Sep 17 00:00:00 2001
2 From: Lee Jones <lee.jones@linaro.org>
3 Date: Mon, 29 Mar 2021 16:24:35 +0100
4 Subject: [PATCH] of: base: Fix spelling issue with function param 'prop'
5
6 Fixes the following W=1 kernel build warning(s):
7
8 drivers/of/base.c:1781: warning: Function parameter or member 'prop' not described in '__of_add_property'
9 drivers/of/base.c:1781: warning: Excess function parameter 'prob' description in '__of_add_property'
10 drivers/of/base.c:1804: warning: Function parameter or member 'prop' not described in 'of_add_property'
11 drivers/of/base.c:1804: warning: Excess function parameter 'prob' description in 'of_add_property'
12 drivers/of/base.c:1855: warning: Function parameter or member 'prop' not described in 'of_remove_property'
13 drivers/of/base.c:1855: warning: Excess function parameter 'prob' description in 'of_remove_property'
14
15 Cc: Rob Herring <robh+dt@kernel.org>
16 Cc: Frank Rowand <frowand.list@gmail.com>
17 Cc: "David S. Miller" <davem@davemloft.net>
18 Cc: devicetree@vger.kernel.org
19 Signed-off-by: Lee Jones <lee.jones@linaro.org>
20 Link: https://lore.kernel.org/r/20210329152435.900225-1-lee.jones@linaro.org
21 Signed-off-by: Rob Herring <robh@kernel.org>
22 ---
23 drivers/of/base.c | 6 +++---
24 1 file changed, 3 insertions(+), 3 deletions(-)
25
26 --- a/drivers/of/base.c
27 +++ b/drivers/of/base.c
28 @@ -1780,7 +1780,7 @@ EXPORT_SYMBOL(of_count_phandle_with_args
29 /**
30 * __of_add_property - Add a property to a node without lock operations
31 * @np: Caller's Device Node
32 - * @prob: Property to add
33 + * @prop: Property to add
34 */
35 int __of_add_property(struct device_node *np, struct property *prop)
36 {
37 @@ -1803,7 +1803,7 @@ int __of_add_property(struct device_node
38 /**
39 * of_add_property - Add a property to a node
40 * @np: Caller's Device Node
41 - * @prob: Property to add
42 + * @prop: Property to add
43 */
44 int of_add_property(struct device_node *np, struct property *prop)
45 {
46 @@ -1849,7 +1849,7 @@ int __of_remove_property(struct device_n
47 /**
48 * of_remove_property - Remove a property from a node.
49 * @np: Caller's Device Node
50 - * @prob: Property to remove
51 + * @prop: Property to remove
52 *
53 * Note that we don't actually remove it, since we have given out
54 * who-knows-how-many pointers to the data using get-property.