Commit 9862048abfe5fbd134553a8de30cf8767291fb1f

Authored by Roland Stigge
Committed by Olof Johansson
1 parent 770e2da2ae

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

arch/arm/mach-lpc32xx/clock.c
... ... @@ -903,8 +903,6 @@
903 903  
904 904 static void local_clk_disable(struct clk *clk)
905 905 {
906   - WARN_ON(clk->usecount == 0);
907   -
908 906 /* Don't attempt to disable clock if it has no users */
909 907 if (clk->usecount > 0) {
910 908 clk->usecount--;