device property: Fix the description of struct fwnode_operations
Subsystems (3)
Heikki Krogerus
reviewerPATCH 1/1 device property: Fix the description of struct fwnode_operations
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 <[email protected]>
--- include/linux/fwnode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/fwnode.h +3 -3
@@ -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.
Signature · 1 line
2.23.0
Quoted 3 lines · Heikki Krogerus
Adding description for the
device_is_availablemember which was missing, and fixing the description of the memberproperty_read_int_array.
Reviewed-by Andy Shevchenko <[email protected]>
Quoted 28 lines
Signed-off-by Heikki Krogerus <[email protected]>--- include/linux/fwnode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)include/linux/fwnode.h +3
-3@@ -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. Signature · 1 line
2.23.0
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 24 lines · CEST Andy Shevchenko
Quoted 3 lines · Heikki Krogerus
Adding description for the
device_is_availablemember which was missing, and fixing the description of the memberproperty_read_int_array.Reviewed-by Andy Shevchenko <[email protected]>Quoted 17 lines
Signed-off-by Heikki Krogerus <[email protected]>--- include/linux/fwnode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)include/linux/fwnode.h +1
-0@@ -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.
Quoted 10 lines
include/linux/fwnode.h struct fwnode_reference_args { · line 60
Quoted 8 lines
include/linux/fwnode.h +2
-3-* @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!