diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-10-27 00:34:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-28 11:27:59 +0100 |
commit | f8f797f35a9ababcf763b7a3984aff41fdd3f064 (patch) | |
tree | 45d5ac7ab7bfdb8c9008894d0586ba029a5f8d13 /drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c | |
parent | 92c7076e4adad286c7fff53c57c33e6dadb190fd (diff) | |
download | linux-f8f797f35a9ababcf763b7a3984aff41fdd3f064.tar.gz linux-f8f797f35a9ababcf763b7a3984aff41fdd3f064.tar.bz2 linux-f8f797f35a9ababcf763b7a3984aff41fdd3f064.zip |
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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c')
0 files changed, 0 insertions, 0 deletions