summaryrefslogtreecommitdiff
path: root/include/linux/reset-controller.h
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-10-22 17:51:37 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-10-24 11:50:25 +0300
commita48108c0c20f02485b8cc3ca83652a55a0f5e47f (patch)
tree8220ddddf0839c400a69e30e6fd5dd4dbdecdaef /include/linux/reset-controller.h
parent3ab831e50c1c6a56e0400e3bc65a82645b880300 (diff)
downloadlinux-a48108c0c20f02485b8cc3ca83652a55a0f5e47f.tar.xz
reset: improve of_xlate documentation
Mention of_reset_simple_xlate as the default if of_xlate is not set. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/linux/reset-controller.h')
-rw-r--r--include/linux/reset-controller.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h
index 9326d671b6e6..8d35753d419e 100644
--- a/include/linux/reset-controller.h
+++ b/include/linux/reset-controller.h
@@ -62,7 +62,8 @@ struct reset_control_lookup {
* @of_node: corresponding device tree node as phandle target
* @of_reset_n_cells: number of cells in reset line specifiers
* @of_xlate: translation function to translate from specifier as found in the
- * device tree to id as given to the reset control ops
+ * device tree to id as given to the reset control ops, defaults
+ * to :c:func:`of_reset_simple_xlate`.
* @nr_resets: number of reset controls in this reset controller device
*/
struct reset_controller_dev {