Commit 187d9505 authored by notro's avatar notro Committed by popcornmix
Browse files

spi-bcm2708: Prepare for Common Clock Framework migration



As part of migrating to use the Common Clock Framework, replace clk_enable()
with clk_prepare_enable() and clk_disable() with clk_disable_unprepare().
This does not affect behaviour under the current clock implementation.

Also add a missing clk_disable_unprepare() in the probe error path.

Signed-off-by: default avatarNoralf Tronnes <notro@tronnes.org>
parent 01edef69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment