Re: [PATCH] intel_idle: remove definition of DEBUG

Rafael J. Wysocki
2021-01-22T15:52:49Z

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!