OSDN Git Service

of/base: fix typos
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Tue, 7 May 2013 06:04:11 +0000 (11:34 +0530)
committerGrant Likely <grant.likely@linaro.org>
Wed, 12 Jun 2013 09:23:17 +0000 (10:23 +0100)
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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/base.c

index f53b992..c1cfc45 100644 (file)
@@ -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,