Skip to content

Commit 4e66293

Browse files
bhanuseshukumarrobherring
authored andcommitted
of: doc: Fix typo in doc comments.
synthetized => synthesized definied => defined sucess => success Signed-off-by: Bhanu Seshu Kumar Valluri <[email protected]> Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent f9a68cf commit 4e66293

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

drivers/of/irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const __be32 *of_irq_parse_imap_parent(const __be32 *imap, int len, struct of_ph
163163
* @out_irq: structure of_phandle_args updated by this function
164164
*
165165
* This function is a low-level interrupt tree walking function. It
166-
* can be used to do a partial walk with synthetized reg and interrupts
166+
* can be used to do a partial walk with synthesized reg and interrupts
167167
* properties, for example when resolving PCI interrupts when no device
168168
* node exist for the parent. It takes an interrupt specifier structure as
169169
* input, walks the tree looking for any interrupt-map properties, translates

drivers/of/overlay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ static BLOCKING_NOTIFIER_HEAD(overlay_notify_chain);
135135
* @nb: Notifier block to register
136136
*
137137
* Register for notification on overlay operations on device tree nodes. The
138-
* reported actions definied by @of_reconfig_change. The notifier callback
138+
* reported actions defined by @of_reconfig_change. The notifier callback
139139
* furthermore receives a pointer to the affected device tree node.
140140
*
141141
* Note that a notifier callback is not supposed to store pointers to a device

include/linux/of.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ static inline bool of_phandle_args_equal(const struct of_phandle_args *a1,
11341134
* Search for a property in a device node and count the number of u8 elements
11351135
* in it.
11361136
*
1137-
* Return: The number of elements on sucess, -EINVAL if the property does
1137+
* Return: The number of elements on success, -EINVAL if the property does
11381138
* not exist or its length does not match a multiple of u8 and -ENODATA if the
11391139
* property does not have a value.
11401140
*/
@@ -1153,7 +1153,7 @@ static inline int of_property_count_u8_elems(const struct device_node *np,
11531153
* Search for a property in a device node and count the number of u16 elements
11541154
* in it.
11551155
*
1156-
* Return: The number of elements on sucess, -EINVAL if the property does
1156+
* Return: The number of elements on success, -EINVAL if the property does
11571157
* not exist or its length does not match a multiple of u16 and -ENODATA if the
11581158
* property does not have a value.
11591159
*/
@@ -1172,7 +1172,7 @@ static inline int of_property_count_u16_elems(const struct device_node *np,
11721172
* Search for a property in a device node and count the number of u32 elements
11731173
* in it.
11741174
*
1175-
* Return: The number of elements on sucess, -EINVAL if the property does
1175+
* Return: The number of elements on success, -EINVAL if the property does
11761176
* not exist or its length does not match a multiple of u32 and -ENODATA if the
11771177
* property does not have a value.
11781178
*/
@@ -1191,7 +1191,7 @@ static inline int of_property_count_u32_elems(const struct device_node *np,
11911191
* Search for a property in a device node and count the number of u64 elements
11921192
* in it.
11931193
*
1194-
* Return: The number of elements on sucess, -EINVAL if the property does
1194+
* Return: The number of elements on success, -EINVAL if the property does
11951195
* not exist or its length does not match a multiple of u64 and -ENODATA if the
11961196
* property does not have a value.
11971197
*/

0 commit comments

Comments
 (0)