diff options
author | 2021-11-16 14:36:07 +0100 | |
---|---|---|
committer | 2021-11-26 14:04:16 +0100 | |
commit | 366df82fc68a9db22ab9de890a372d79662e397c (patch) | |
tree | e8126539cab9849ae8d459b11bf00456ff115536 /lib/test_overflow.c | |
parent | dt-bindings: clock: renesas,cpg-mssr: Document r8a779f0 (diff) | |
download | linux-dev-366df82fc68a9db22ab9de890a372d79662e397c.tar.xz linux-dev-366df82fc68a9db22ab9de890a372d79662e397c.zip |
mmc: renesas_sdhi: Use devm_clk_get_optional() to obtain CD clock
Use the existing devm_clk_get_optional() helper to obtain the optional
Card Detect clock, instead of open-coding the same operation.
a side effect, real errors will now be handled correctly instead of
being ignored.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/540d803d31bf9aa1d0f78f431cae0ccd05387edc.1637069733.git.geert+renesas@glider.be
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions