Skip to content

Commit 9449f7a

Browse files
geertupH5
authored andcommitted
reset: Improve reset controller kernel docs
Grammar and indentation fixes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> [p.zabel@pengutronix.de: dropped "shared among" -> "shared between"] Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent 79ae491 commit 9449f7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/linux/reset.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ __must_check reset_control_get_exclusive(struct device *dev, const char *id)
138138
*
139139
* Returns a struct reset_control or IS_ERR() condition containing errno.
140140
* This function is intended for use with reset-controls which are shared
141-
* between hardware-blocks.
141+
* between hardware blocks.
142142
*
143143
* When a reset-control is shared, the behavior of reset_control_assert /
144144
* deassert is changed, the reset-core will keep track of a deassert_count
@@ -187,7 +187,7 @@ static inline struct reset_control *of_reset_control_get_exclusive(
187187
}
188188

189189
/**
190-
* of_reset_control_get_shared - Lookup and obtain an shared reference
190+
* of_reset_control_get_shared - Lookup and obtain a shared reference
191191
* to a reset controller.
192192
* @node: device to be reset by the controller
193193
* @id: reset line name
@@ -229,7 +229,7 @@ static inline struct reset_control *of_reset_control_get_exclusive_by_index(
229229
}
230230

231231
/**
232-
* of_reset_control_get_shared_by_index - Lookup and obtain an shared
232+
* of_reset_control_get_shared_by_index - Lookup and obtain a shared
233233
* reference to a reset controller
234234
* by index.
235235
* @node: device to be reset by the controller
@@ -322,7 +322,7 @@ devm_reset_control_get_exclusive_by_index(struct device *dev, int index)
322322

323323
/**
324324
* devm_reset_control_get_shared_by_index - resource managed
325-
* reset_control_get_shared
325+
* reset_control_get_shared
326326
* @dev: device to be reset by the controller
327327
* @index: index of the reset controller
328328
*

0 commit comments

Comments
 (0)