device property: Fix the description of struct fwnode_operations
diff mbox series

Message ID 20191008132606.56434-1-heikki.krogerus@linux.intel.com
State Awaiting Upstream
Delegated to: Rafael Wysocki
Headers show
Series
  • device property: Fix the description of struct fwnode_operations
Related show

Commit Message

Heikki Krogerus Oct. 8, 2019, 1:26 p.m. UTC
Adding description for the device_is_available member which
was missing, and fixing the description of the member
property_read_int_array.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 include/linux/fwnode.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Andy Shevchenko Oct. 8, 2019, 2:03 p.m. UTC | #1
On Tue, Oct 08, 2019 at 04:26:06PM +0300, Heikki Krogerus wrote:
> Adding description for the device_is_available member which
> was missing, and fixing the description of the member
> property_read_int_array.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> 
> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
>  include/linux/fwnode.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h
> index 6ae05b9ce359..fc002aacae8d 100644
> --- a/include/linux/fwnode.h
> +++ b/include/linux/fwnode.h
> @@ -50,11 +50,11 @@ struct fwnode_reference_args {
>   * struct fwnode_operations - Operations for fwnode interface
>   * @get: Get a reference to an fwnode.
>   * @put: Put a reference to an fwnode.
> + * @device_is_available: Return true if the device is available.
>   * @device_get_match_data: Return the device driver match data.
>   * @property_present: Return true if a property is present.
> - * @property_read_integer_array: Read an array of integer properties. Return
> - *				 zero on success, a negative error code
> - *				 otherwise.
> + * @property_read_int_array: Read an array of integer properties. Return zero on
> + *			     success, a negative error code otherwise.
>   * @property_read_string_array: Read an array of string properties. Return zero
>   *				on success, a negative error code otherwise.
>   * @get_parent: Return the parent of an fwnode.
> -- 
> 2.23.0
>
Rafael J. Wysocki Oct. 11, 2019, 9:34 a.m. UTC | #2
On Tuesday, October 8, 2019 4:03:06 PM CEST Andy Shevchenko wrote:
> On Tue, Oct 08, 2019 at 04:26:06PM +0300, Heikki Krogerus wrote:
> > Adding description for the device_is_available member which
> > was missing, and fixing the description of the member
> > property_read_int_array.
> 
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> 
> > 
> > Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> > ---
> >  include/linux/fwnode.h | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h
> > index 6ae05b9ce359..fc002aacae8d 100644
> > --- a/include/linux/fwnode.h
> > +++ b/include/linux/fwnode.h
> > @@ -50,11 +50,11 @@ struct fwnode_reference_args {
> >   * struct fwnode_operations - Operations for fwnode interface
> >   * @get: Get a reference to an fwnode.
> >   * @put: Put a reference to an fwnode.
> > + * @device_is_available: Return true if the device is available.
> >   * @device_get_match_data: Return the device driver match data.
> >   * @property_present: Return true if a property is present.
> > - * @property_read_integer_array: Read an array of integer properties. Return
> > - *				 zero on success, a negative error code
> > - *				 otherwise.
> > + * @property_read_int_array: Read an array of integer properties. Return zero on
> > + *			     success, a negative error code otherwise.
> >   * @property_read_string_array: Read an array of string properties. Return zero
> >   *				on success, a negative error code otherwise.
> >   * @get_parent: Return the parent of an fwnode.
> 
> 

Applying as 5.5 material, thanks!

Patch
diff mbox series

diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h
index 6ae05b9ce359..fc002aacae8d 100644
--- a/include/linux/fwnode.h
+++ b/include/linux/fwnode.h
@@ -50,11 +50,11 @@  struct fwnode_reference_args {
  * struct fwnode_operations - Operations for fwnode interface
  * @get: Get a reference to an fwnode.
  * @put: Put a reference to an fwnode.
+ * @device_is_available: Return true if the device is available.
  * @device_get_match_data: Return the device driver match data.
  * @property_present: Return true if a property is present.
- * @property_read_integer_array: Read an array of integer properties. Return
- *				 zero on success, a negative error code
- *				 otherwise.
+ * @property_read_int_array: Read an array of integer properties. Return zero on
+ *			     success, a negative error code otherwise.
  * @property_read_string_array: Read an array of string properties. Return zero
  *				on success, a negative error code otherwise.
  * @get_parent: Return the parent of an fwnode.