summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lpc32xx
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-02-08 21:41:04 +0100
committerOlof Johansson <olof@lixom.net>2012-02-09 16:00:33 -0800
commit9862048abfe5fbd134553a8de30cf8767291fb1f (patch)
tree8b13837db5d7ed9aeaac9e6eb510bd4cc5b0d639 /arch/arm/mach-lpc32xx
parent770e2da2aef92e31cd52ed9a8c20cae0e84e9034 (diff)
downloadop-kernel-dev-9862048abfe5fbd134553a8de30cf8767291fb1f.zip
op-kernel-dev-9862048abfe5fbd134553a8de30cf8767291fb1f.tar.gz
ARM: LPC32xx: clock.c: warning fix
This patch removes the debug warning on local_clk_disable() as done in Kevin Wells' driver update Signed-off-by: Roland Stigge <stigge@antcom.de> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Tested-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Kevin Wells <kevin.wells@nxp.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-lpc32xx')
-rw-r--r--arch/arm/mach-lpc32xx/clock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-lpc32xx/clock.c b/arch/arm/mach-lpc32xx/clock.c
index 1e02751..39dcbd0 100644
--- a/arch/arm/mach-lpc32xx/clock.c
+++ b/arch/arm/mach-lpc32xx/clock.c
@@ -903,8 +903,6 @@ static inline void clk_unlock(void)
static void local_clk_disable(struct clk *clk)
{
- WARN_ON(clk->usecount == 0);
-
/* Don't attempt to disable clock if it has no users */
if (clk->usecount > 0) {
clk->usecount--;
OpenPOWER on IntegriCloud