From: Lad, Prabhakar <[email protected]>
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 <[email protected]>
---
drivers/of/base.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 321d3ef..418985f 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -750,7 +750,7 @@ EXPORT_SYMBOL(of_find_node_by_phandle);
*
* @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
@@ -761,7 +761,7 @@ EXPORT_SYMBOL(of_find_node_by_phandle);
* 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)
@@ -788,7 +788,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
@@ -799,7 +799,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)
@@ -827,7 +827,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
@@ -835,7 +835,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,
--
1.7.4.1
Hi Rob/Grant,
On Tue, May 7, 2013 at 11:34 AM, Prabhakar Lad
<[email protected]> wrote:
> From: Lad, Prabhakar <[email protected]>
>
> 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.
>
gentle ping.
Regards,
--Prabhakar Lad
Hi Linus,
On Thu, May 23, 2013 at 5:58 PM, Prabhakar Lad
<[email protected]> wrote:
> Hi Rob/Grant,
>
> On Tue, May 7, 2013 at 11:34 AM, Prabhakar Lad
> <[email protected]> wrote:
>> From: Lad, Prabhakar <[email protected]>
>>
>> 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.
>>
Can you pick this patch ?
Regards,
--Prabhakar Lad
On Fri, May 31, 2013 at 11:30 AM, Prabhakar Lad
<[email protected]> wrote:
> Hi Linus,
(...)
> Can you pick this patch ?
No. I'm not a maintainer of drivers/of.
Only Grant and Rob can take changes to drivers/of.
(Check MAINTAINERS.)
Yours,
Linus Walleij
On Fri, 31 May 2013 11:34:49 +0200, Linus Walleij <[email protected]> wrote:
> On Fri, May 31, 2013 at 11:30 AM, Prabhakar Lad
> <[email protected]> wrote:
>
> > Hi Linus,
> (...)
> > Can you pick this patch ?
>
> No. I'm not a maintainer of drivers/of.
>
> Only Grant and Rob can take changes to drivers/of.
> (Check MAINTAINERS.)
Applied.
g.