diff mbox series

intel_idle: remove definition of DEBUG

Message ID 20210115235646.290819-1-trix@redhat.com (mailing list archive)
State Mainlined, archived
Headers show
Series intel_idle: remove definition of DEBUG | expand

Commit Message

Tom Rix Jan. 15, 2021, 11:56 p.m. UTC
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/idle/intel_idle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael J. Wysocki Jan. 22, 2021, 3:47 p.m. UTC | #1
On Sat, Jan 16, 2021 at 12:58 AM <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>
> ---
>  drivers/idle/intel_idle.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
> index 28f93b9aa51b..3273360f30f7 100644
> --- a/drivers/idle/intel_idle.c
> +++ b/drivers/idle/intel_idle.c
> @@ -37,7 +37,7 @@
>   */
>
>  /* un-comment DEBUG to enable pr_debug() statements */
> -#define DEBUG
> +/* #define DEBUG */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> --

Applied as 5.12 material, thanks!
diff mbox series

Patch

diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 28f93b9aa51b..3273360f30f7 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -37,7 +37,7 @@ 
  */
 
 /* un-comment DEBUG to enable pr_debug() statements */
-#define DEBUG
+/* #define DEBUG */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt