]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: lock is always valid for clk_gate2
authorShawn Guo <shawn.guo@freescale.com>
Fri, 18 Apr 2014 08:07:44 +0000 (16:07 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Mon, 12 May 2014 14:58:48 +0000 (22:58 +0800)
commit4b46591cb442e71e51e65b3d3eb2a1f58320a99a
treed23e09238651af8d4500f961e549eedd832f39ce
parent30dde5042425b27789e4b75dfda9614c9424e6dd
ARM: imx: lock is always valid for clk_gate2

The imx specific clk_gate2 always has a valid lock with the clock.  So
the validation on gate->lock is not really needed.  Remove it.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/clk-gate2.c