Commit 3babbf61 authored by Sakari Ailus's avatar Sakari Ailus Committed by Greg Kroah-Hartman

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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20231109101010.1329587-4-sakari.ailus@linux.intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1eaea4b3
...@@ -508,6 +508,7 @@ EXPORT_SYMBOL_GPL(fwnode_property_match_string); ...@@ -508,6 +508,7 @@ EXPORT_SYMBOL_GPL(fwnode_property_match_string);
* @nargs: Number of arguments. Ignored if @nargs_prop is non-NULL. * @nargs: Number of arguments. Ignored if @nargs_prop is non-NULL.
* @index: Index of the reference, from zero onwards. * @index: Index of the reference, from zero onwards.
* @args: Result structure with reference and integer arguments. * @args: Result structure with reference and integer arguments.
* May be NULL.
* *
* Obtain a reference based on a named property in an fwnode, with * Obtain a reference based on a named property in an fwnode, with
* integer arguments. * integer arguments.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment