diff options
| author | 2022-05-20 09:57:35 +0200 | |
|---|---|---|
| committer | 2022-06-15 19:22:29 -0700 | |
| commit | abae8e57e49aa75f6db76aa866c775721523908f (patch) | |
| tree | 5444821b6910e228d6a7d15afd4d84eb7751efc9 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | clk: Improve documentation for devm_clk_get() and its optional variant (diff) | |
| download | linux-dev-abae8e57e49aa75f6db76aa866c775721523908f.tar.xz linux-dev-abae8e57e49aa75f6db76aa866c775721523908f.zip | |
clk: generalize devm_clk_get() a bit
Allow to add an exit hook to devm managed clocks. Also use
clk_get_optional() in devm_clk_get_optional instead of open coding it.
The generalisation will be used in the next commit to add some more
devm_clk helpers.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <aardelean@deviqon.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220520075737.758761-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
