[PATCH] of: describe third arg of of_property_write_bool in kerneldoc

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Feb 16 02:57:22 PST 2023


of_property_write_bool takes a third argument describing whether to
unset (delete) the property or to set it. Describe it in the kerneldoc.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/of/base.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 937847f44ab7..1d8b207b1528 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1130,6 +1130,7 @@ EXPORT_SYMBOL_GPL(of_prop_next_string);
  *
  * @np:		device node from which the property is to be set.
  * @propname:	name of the property to be set.
+ * @value	true to set, false to delete
  *
  * Search for a property in a device node and create or delete the property.
  * If the property already exists and write value is false, the property is
-- 
2.30.2




More information about the barebox mailing list