Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 792efb84 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Grant Likely
Browse files

of/base: fix typos



the function of_property_read_u8/16/32_array() has a parameter
out_values, but the description mentioned it as out_value. This
patch fixes this typo.

Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent 8a46f4f7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -809,7 +809,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u32_index);
 *
 * @np:		device node from which the property value is to be read.
 * @propname:	name of the property to be searched.
 * @out_value:	pointer to return value, modified only if return value is 0.
 * @out_values:	pointer to return value, modified only if return value is 0.
 * @sz:		number of array elements to read
 *
 * Search for a property in a device node and read 8-bit value(s) from
@@ -820,7 +820,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u32_index);
 * dts entry of array should be like:
 *	property = /bits/ 8 <0x50 0x60 0x70>;
 *
 * The out_value is modified only if a valid u8 value can be decoded.
 * The out_values is modified only if a valid u8 value can be decoded.
 */
int of_property_read_u8_array(const struct device_node *np,
			const char *propname, u8 *out_values, size_t sz)
@@ -842,7 +842,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u8_array);
 *
 * @np:		device node from which the property value is to be read.
 * @propname:	name of the property to be searched.
 * @out_value:	pointer to return value, modified only if return value is 0.
 * @out_values:	pointer to return value, modified only if return value is 0.
 * @sz:		number of array elements to read
 *
 * Search for a property in a device node and read 16-bit value(s) from
@@ -853,7 +853,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u8_array);
 * dts entry of array should be like:
 *	property = /bits/ 16 <0x5000 0x6000 0x7000>;
 *
 * The out_value is modified only if a valid u16 value can be decoded.
 * The out_values is modified only if a valid u16 value can be decoded.
 */
int of_property_read_u16_array(const struct device_node *np,
			const char *propname, u16 *out_values, size_t sz)
@@ -876,7 +876,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u16_array);
 *
 * @np:		device node from which the property value is to be read.
 * @propname:	name of the property to be searched.
 * @out_value:	pointer to return value, modified only if return value is 0.
 * @out_values:	pointer to return value, modified only if return value is 0.
 * @sz:		number of array elements to read
 *
 * Search for a property in a device node and read 32-bit value(s) from
@@ -884,7 +884,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u16_array);
 * -ENODATA if property does not have a value, and -EOVERFLOW if the
 * property data isn't large enough.
 *
 * The out_value is modified only if a valid u32 value can be decoded.
 * The out_values is modified only if a valid u32 value can be decoded.
 */
int of_property_read_u32_array(const struct device_node *np,
			       const char *propname, u32 *out_values,