clk: renesas: cpg-mssr: Fix inverted debug check
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 4 Oct 2016 13:10:58 +0000 (15:10 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Nov 2016 00:33:05 +0000 (17:33 -0700)
The intention was to enable the checks if debugging is enabled, not
disabled.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/renesas/renesas-cpg-mssr.c

index e1365e7..25c41cd 100644 (file)
@@ -33,9 +33,9 @@
 #include "clk-div6.h"
 
 #ifdef DEBUG
-#define WARN_DEBUG(x)  do { } while (0)
-#else
 #define WARN_DEBUG(x)  WARN_ON(x)
+#else
+#define WARN_DEBUG(x)  do { } while (0)
 #endif