diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2018-12-07 13:09:39 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-06 10:35:02 -0800 |
commit | 3eee6c7d119cd8563ad25898f94d6c1b514da548 (patch) | |
tree | a78d21a7c0f1ba47021cec1f0730f14036568166 /Documentation | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
download | lwn-3eee6c7d119cd8563ad25898f94d6c1b514da548.tar.gz lwn-3eee6c7d119cd8563ad25898f94d6c1b514da548.zip |
clkdev: add managed clkdev lookup registration
Clkdev registration lacks of managed registration functions and it
seems few drivers do not drop clkdev lookups at exit. Add
devm_clk_hw_register_clkdev and devm_clk_release_clkdev to ease lookup
releasing at exit.
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-model/devres.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index b277cafce71e..805b7bf5d98f 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt @@ -245,6 +245,7 @@ CLOCK devm_clk_put() devm_clk_hw_register() devm_of_clk_add_hw_provider() + devm_clk_hw_register_clkdev() DMA dmaenginem_async_device_register() |