watchdog: it8712f_wdt: remove definition of DEBUG

Message ID 20210115153237.131357-1-trix@redhat.com
State New
Headers show
Series
  • watchdog: it8712f_wdt: remove definition of DEBUG
Related show

Commit Message

Tom Rix Jan. 15, 2021, 3:32 p.m.
From: Tom Rix <trix@redhat.com>

Defining DEBUG should only be done in development.
So remove DEBUG.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/watchdog/it8712f_wdt.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Guenter Roeck Jan. 23, 2021, 5:15 p.m. | #1
On Fri, Jan 15, 2021 at 07:32:37AM -0800, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>

> 

> Defining DEBUG should only be done in development.

> So remove DEBUG.

> 

> Signed-off-by: Tom Rix <trix@redhat.com>


Reviewed-by: Guenter Roeck <linux@roeck-us.net>


> ---

>  drivers/watchdog/it8712f_wdt.c | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/drivers/watchdog/it8712f_wdt.c b/drivers/watchdog/it8712f_wdt.c

> index 9b89d2f09568..3ce6a58bd81e 100644

> --- a/drivers/watchdog/it8712f_wdt.c

> +++ b/drivers/watchdog/it8712f_wdt.c

> @@ -31,7 +31,6 @@

>  #include <linux/io.h>

>  #include <linux/ioport.h>

>  

> -#define DEBUG

>  #define NAME "it8712f_wdt"

>  

>  MODULE_AUTHOR("Jorge Boncompte - DTI2 <jorge@dti2.net>");

Patch

diff --git a/drivers/watchdog/it8712f_wdt.c b/drivers/watchdog/it8712f_wdt.c
index 9b89d2f09568..3ce6a58bd81e 100644
--- a/drivers/watchdog/it8712f_wdt.c
+++ b/drivers/watchdog/it8712f_wdt.c
@@ -31,7 +31,6 @@ 
 #include <linux/io.h>
 #include <linux/ioport.h>
 
-#define DEBUG
 #define NAME "it8712f_wdt"
 
 MODULE_AUTHOR("Jorge Boncompte - DTI2 <jorge@dti2.net>");