Message ID | 20231103083625.1229008-4-sakari.ailus@linux.intel.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | Make fwnode_property_get_reference_args accept NULL args | expand |
On Fri, Nov 03, 2023 at 10:36:25AM +0200, Sakari Ailus wrote: > 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: Heikki Krogerus <heikki.krogerus@linux.intel.com> > --- > drivers/base/property.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/base/property.c b/drivers/base/property.c > index 8c40abed7852..8667b13639d2 100644 > --- a/drivers/base/property.c > +++ b/drivers/base/property.c > @@ -508,6 +508,7 @@ EXPORT_SYMBOL_GPL(fwnode_property_match_string); > * @nargs: Number of arguments. Ignored if @nargs_prop is non-NULL. > * @index: Index of the reference, from zero onwards. > * @args: Result structure with reference and integer arguments. > + * May be NULL. > * > * Obtain a reference based on a named property in an fwnode, with > * integer arguments. > -- > 2.39.2
diff --git a/drivers/base/property.c b/drivers/base/property.c index 8c40abed7852..8667b13639d2 100644 --- a/drivers/base/property.c +++ b/drivers/base/property.c @@ -508,6 +508,7 @@ EXPORT_SYMBOL_GPL(fwnode_property_match_string); * @nargs: Number of arguments. Ignored if @nargs_prop is non-NULL. * @index: Index of the reference, from zero onwards. * @args: Result structure with reference and integer arguments. + * May be NULL. * * Obtain a reference based on a named property in an fwnode, with * integer arguments.
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> --- drivers/base/property.c | 1 + 1 file changed, 1 insertion(+)