mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] of: describe third arg of of_property_write_bool in kerneldoc
@ 2023-02-16 10:57 Ahmad Fatoum
  2023-02-17  9:46 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-02-16 10:57 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-17  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 10:57 [PATCH] of: describe third arg of of_property_write_bool in kerneldoc Ahmad Fatoum
2023-02-17  9:46 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox