diff options
author | 2016-05-01 19:36:57 +0900 | |
---|---|---|
committer | 2016-05-30 09:37:47 +0200 | |
commit | 8d5b5d5ce58ee1b90110f4e358eefe3c3a6b08a2 (patch) | |
tree | d91f638964d516a2a0dd7eee28e1e02f24e069b6 /Documentation/driver-model | |
parent | Linux 4.7-rc1 (diff) | |
download | linux-8d5b5d5ce58ee1b90110f4e358eefe3c3a6b08a2.tar.gz linux-8d5b5d5ce58ee1b90110f4e358eefe3c3a6b08a2.tar.bz2 linux-8d5b5d5ce58ee1b90110f4e358eefe3c3a6b08a2.zip |
reset: add devm_reset_controller_register API
Add a device managed API for reset_controller_register().
This helps in reducing code in .remove callbacks and sometimes
dropping .remove callbacks entirely.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r-- | Documentation/driver-model/devres.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index c63eea0c1c8c..f5e522342ee5 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt @@ -352,6 +352,10 @@ REGULATOR devm_regulator_put() devm_regulator_register() +RESET + devm_reset_control_get() + devm_reset_controller_register() + SLAVE DMA ENGINE devm_acpi_dma_controller_register() |