aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2021-11-16 14:36:07 +0100
committerGeert Uytterhoeven <[email protected]>2021-11-26 14:04:16 +0100
commit366df82fc68a9db22ab9de890a372d79662e397c (patch)
treee8126539cab9849ae8d459b11bf00456ff115536 /drivers/usb/cdns3/cdns3-imx.c
parent827fbac821a656b80b761e8e39a172669569cdcf (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 <[email protected]> Acked-by: Ulf Hansson <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Link: https://lore.kernel.org/r/540d803d31bf9aa1d0f78f431cae0ccd05387edc.1637069733.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions