Re: [PATCH] device property: Fix the description of struct fwnode_operations

From: Andy Shevchenko
Date: Tue Oct 08 2019 - 10:03:11 EST


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

>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> ---
> 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
>

--
With Best Regards,
Andy Shevchenko