diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-05-07 02:04:11 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-06-12 05:23:17 -0400 |
commit | 792efb84670c5b4c58669645cb6fd7e943376ee0 (patch) | |
tree | f898428ac5ade09bca91d1eacce8fb3439deddbd /drivers/of/base.c | |
parent | 8a46f4f7f95f2bece108998a2e1b87b58f99d590 (diff) |
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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r-- | 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 f53b992f060a..c1cfc4553a5d 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c | |||
@@ -809,7 +809,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u32_index); | |||
809 | * | 809 | * |
810 | * @np: device node from which the property value is to be read. | 810 | * @np: device node from which the property value is to be read. |
811 | * @propname: name of the property to be searched. | 811 | * @propname: name of the property to be searched. |
812 | * @out_value: pointer to return value, modified only if return value is 0. | 812 | * @out_values: pointer to return value, modified only if return value is 0. |
813 | * @sz: number of array elements to read | 813 | * @sz: number of array elements to read |
814 | * | 814 | * |
815 | * Search for a property in a device node and read 8-bit value(s) from | 815 | * 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); | |||
820 | * dts entry of array should be like: | 820 | * dts entry of array should be like: |
821 | * property = /bits/ 8 <0x50 0x60 0x70>; | 821 | * property = /bits/ 8 <0x50 0x60 0x70>; |
822 | * | 822 | * |
823 | * The out_value is modified only if a valid u8 value can be decoded. | 823 | * The out_values is modified only if a valid u8 value can be decoded. |
824 | */ | 824 | */ |
825 | int of_property_read_u8_array(const struct device_node *np, | 825 | int of_property_read_u8_array(const struct device_node *np, |
826 | const char *propname, u8 *out_values, size_t sz) | 826 | const char *propname, u8 *out_values, size_t sz) |
@@ -842,7 +842,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u8_array); | |||
842 | * | 842 | * |
843 | * @np: device node from which the property value is to be read. | 843 | * @np: device node from which the property value is to be read. |
844 | * @propname: name of the property to be searched. | 844 | * @propname: name of the property to be searched. |
845 | * @out_value: pointer to return value, modified only if return value is 0. | 845 | * @out_values: pointer to return value, modified only if return value is 0. |
846 | * @sz: number of array elements to read | 846 | * @sz: number of array elements to read |
847 | * | 847 | * |
848 | * Search for a property in a device node and read 16-bit value(s) from | 848 | * 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); | |||
853 | * dts entry of array should be like: | 853 | * dts entry of array should be like: |
854 | * property = /bits/ 16 <0x5000 0x6000 0x7000>; | 854 | * property = /bits/ 16 <0x5000 0x6000 0x7000>; |
855 | * | 855 | * |
856 | * The out_value is modified only if a valid u16 value can be decoded. | 856 | * The out_values is modified only if a valid u16 value can be decoded. |
857 | */ | 857 | */ |
858 | int of_property_read_u16_array(const struct device_node *np, | 858 | int of_property_read_u16_array(const struct device_node *np, |
859 | const char *propname, u16 *out_values, size_t sz) | 859 | const char *propname, u16 *out_values, size_t sz) |
@@ -876,7 +876,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u16_array); | |||
876 | * | 876 | * |
877 | * @np: device node from which the property value is to be read. | 877 | * @np: device node from which the property value is to be read. |
878 | * @propname: name of the property to be searched. | 878 | * @propname: name of the property to be searched. |
879 | * @out_value: pointer to return value, modified only if return value is 0. | 879 | * @out_values: pointer to return value, modified only if return value is 0. |
880 | * @sz: number of array elements to read | 880 | * @sz: number of array elements to read |
881 | * | 881 | * |
882 | * Search for a property in a device node and read 32-bit value(s) from | 882 | * 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); | |||
884 | * -ENODATA if property does not have a value, and -EOVERFLOW if the | 884 | * -ENODATA if property does not have a value, and -EOVERFLOW if the |
885 | * property data isn't large enough. | 885 | * property data isn't large enough. |
886 | * | 886 | * |
887 | * The out_value is modified only if a valid u32 value can be decoded. | 887 | * The out_values is modified only if a valid u32 value can be decoded. |
888 | */ | 888 | */ |
889 | int of_property_read_u32_array(const struct device_node *np, | 889 | int of_property_read_u32_array(const struct device_node *np, |
890 | const char *propname, u32 *out_values, | 890 | const char *propname, u32 *out_values, |