Skip to content
Commit 9d8b7b61 authored by Andi Shyti's avatar Andi Shyti Committed by Wolfram Sang
Browse files

i2c: lpc2k: Use devm_clk_get_enabled()



Replace the pair of functions, devm_clk_get() and clk_prepare_enable(),
with a single function devm_clk_get_enabled().

Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 2153244b
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