Skip to content

Commit 09c4931

Browse files
muzzammilashrafrobherring
authored andcommitted
drivers: of: Fixed kernel doc warning
property.c:1220 : Fixed excess struct member definition warning property.c:444 : Fixed missing a blank line after declarations Signed-off-by: Muzammil Ashraf <m.muzzammilashraf@gmail.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20231219062317.17650-1-muzammil@dreambigsemi.com Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 3f4cc70 commit 09c4931

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/of/property.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ int of_property_read_string(const struct device_node *np, const char *propname,
441441
const char **out_string)
442442
{
443443
const struct property *prop = of_find_property(np, propname, NULL);
444+
444445
if (!prop)
445446
return -EINVAL;
446447
if (!prop->length)
@@ -1217,9 +1218,9 @@ static struct device_node *parse_##fname(struct device_node *np, \
12171218
*
12181219
* @parse_prop: function name
12191220
* parse_prop() finds the node corresponding to a supplier phandle
1220-
* @parse_prop.np: Pointer to device node holding supplier phandle property
1221-
* @parse_prop.prop_name: Name of property holding a phandle value
1222-
* @parse_prop.index: For properties holding a list of phandles, this is the
1221+
* parse_prop.np: Pointer to device node holding supplier phandle property
1222+
* parse_prop.prop_name: Name of property holding a phandle value
1223+
* parse_prop.index: For properties holding a list of phandles, this is the
12231224
* index into the list
12241225
* @optional: Describes whether a supplier is mandatory or not
12251226
* @node_not_dev: The consumer node containing the property is never converted

0 commit comments

Comments
 (0)