Skip to content
Commit 1fa645b1 authored by Florian Fainelli's avatar Florian Fainelli Committed by Felipe Balbi
Browse files

usb: bdc: Use devm_clk_get_optional()



The BDC clock is optional and we may get an -EPROBE_DEFER error code
which would not be propagated correctly, fix this by using
devm_clk_get_optional().

Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarAl Cooper <alcooperx@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 5fc453d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment