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

i2c: at91-core: 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>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
[wsa: rebased]
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent ba63f993
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