diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-11-19 16:50:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 19:57:03 +0100 |
commit | 68d621197162eb503d32676452e7281e3fb6c8cc (patch) | |
tree | 8752459dac16a361db101734470f0a903a246c4b /crypto/kpp.c | |
parent | 81113b0421a5199a1f425beaef7dad0d7c16a891 (diff) | |
download | linux-next-68d621197162eb503d32676452e7281e3fb6c8cc.tar.gz |
uio: pruss: use devm_clk_get() for clk init
This change uses devm_clk_get() to obtain a reference to the clock. It has
the benefit that clk_put() is no longer required, and cleans up the exit &
error path.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201119145059.48326-1-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/kpp.c')
0 files changed, 0 insertions, 0 deletions