diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-11-16 14:36:07 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-11-26 14:04:16 +0100 |
commit | 366df82fc68a9db22ab9de890a372d79662e397c (patch) | |
tree | e8126539cab9849ae8d459b11bf00456ff115536 /scripts/min-tool-version.sh | |
parent | 827fbac821a656b80b761e8e39a172669569cdcf (diff) |
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 'scripts/min-tool-version.sh')
0 files changed, 0 insertions, 0 deletions