Skip to content
Commit f8f797f3 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by David S. Miller
Browse files

nfc: s3fwrn5: use devm_clk_get_optional_enabled() helper



Because we enable the clock immediately after acquiring it in probe,
we can combine the 2 operations and use devm_clk_get_optional_enabled()
helper.

Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 92c7076e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment