Skip to content

Commit 3babbf6

Browse files
Sakari Ailusgregkh
authored andcommitted
device property: fwnode_property_get_reference_args allows NULL args now
All three fwnode_property_get_reference_args() implemantations now allow args argument to be NULL. Document this. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20231109101010.1329587-4-sakari.ailus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1eaea4b commit 3babbf6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/base/property.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ EXPORT_SYMBOL_GPL(fwnode_property_match_string);
508508
* @nargs: Number of arguments. Ignored if @nargs_prop is non-NULL.
509509
* @index: Index of the reference, from zero onwards.
510510
* @args: Result structure with reference and integer arguments.
511+
* May be NULL.
511512
*
512513
* Obtain a reference based on a named property in an fwnode, with
513514
* integer arguments.

0 commit comments

Comments
 (0)