From: Mike Turquette Date: Wed, 27 Aug 2014 22:36:37 +0000 (-0700) Subject: clk: mvebu: share locks between gate clocks X-Git-Tag: fixes-against-v3.18-rc2~68^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87e392164ab6c0f3f055f8483dc7dc3f1afa19ad;p=pandora-kernel.git clk: mvebu: share locks between gate clocks Refactor mvebu_clk_gating_setup() to use a common spinlock instead of a unique lock for every instance of a struct clk_gating_ctrl object. This will be used later for a separate mux clock type that shares a register with gate clock types and needs to use the same lock to protect access to the register. Cc: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Mike Turquette --- Reading git-diff-tree failed