Commit 12c62b9d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Philipp Zabel

reset: Improve reset controller kernel docs

Grammar and indentation fixes.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
[p.zabel@pengutronix.de: dropped "shared among" -> "shared between"]
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 42f03ab3
...@@ -138,7 +138,7 @@ __must_check reset_control_get_exclusive(struct device *dev, const char *id) ...@@ -138,7 +138,7 @@ __must_check reset_control_get_exclusive(struct device *dev, const char *id)
* *
* Returns a struct reset_control or IS_ERR() condition containing errno. * Returns a struct reset_control or IS_ERR() condition containing errno.
* This function is intended for use with reset-controls which are shared * This function is intended for use with reset-controls which are shared
* between hardware-blocks. * between hardware blocks.
* *
* When a reset-control is shared, the behavior of reset_control_assert / * When a reset-control is shared, the behavior of reset_control_assert /
* deassert is changed, the reset-core will keep track of a deassert_count * 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( ...@@ -187,7 +187,7 @@ static inline struct reset_control *of_reset_control_get_exclusive(
} }
/** /**
* of_reset_control_get_shared - Lookup and obtain an shared reference * of_reset_control_get_shared - Lookup and obtain a shared reference
* to a reset controller. * to a reset controller.
* @node: device to be reset by the controller * @node: device to be reset by the controller
* @id: reset line name * @id: reset line name
...@@ -229,7 +229,7 @@ static inline struct reset_control *of_reset_control_get_exclusive_by_index( ...@@ -229,7 +229,7 @@ static inline struct reset_control *of_reset_control_get_exclusive_by_index(
} }
/** /**
* of_reset_control_get_shared_by_index - Lookup and obtain an shared * of_reset_control_get_shared_by_index - Lookup and obtain a shared
* reference to a reset controller * reference to a reset controller
* by index. * by index.
* @node: device to be reset by the controller * @node: device to be reset by the controller
...@@ -322,7 +322,7 @@ devm_reset_control_get_exclusive_by_index(struct device *dev, int index) ...@@ -322,7 +322,7 @@ devm_reset_control_get_exclusive_by_index(struct device *dev, int index)
/** /**
* devm_reset_control_get_shared_by_index - resource managed * devm_reset_control_get_shared_by_index - resource managed
* reset_control_get_shared * reset_control_get_shared
* @dev: device to be reset by the controller * @dev: device to be reset by the controller
* @index: index of the reset controller * @index: index of the reset controller
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment