diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-10-27 10:34:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-28 13:27:59 +0300 |
commit | f8f797f35a9ababcf763b7a3984aff41fdd3f064 (patch) | |
tree | 45d5ac7ab7bfdb8c9008894d0586ba029a5f8d13 /drivers/net/ethernet/broadcom/bcmsysport.c | |
parent | 92c7076e4adad286c7fff53c57c33e6dadb190fd (diff) | |
download | linux-f8f797f35a9ababcf763b7a3984aff41fdd3f064.tar.xz |
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/ethernet/broadcom/bcmsysport.c')
0 files changed, 0 insertions, 0 deletions