techpack: audio: Remove DEBUG definations

find techpack/audio -type f -exec sed -i -e '/define DEBUG/d' $(git grep -l DEBUG | tr '\n' ' ') {} \;

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Change-Id: I2dfe2ebbc223cb38ede08facc1bb6316c1421272
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
UtsavBalar1231 2021-07-16 17:56:14 +02:00 committed by spakkkk
parent d8672064ab
commit 2338b91a59
9 changed files with 0 additions and 25 deletions

View File

@ -10,7 +10,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#define DEBUG
#include <linux/ctype.h>
#include <linux/module.h>
#include <linux/moduleparam.h>

View File

@ -20,7 +20,6 @@
/* Debugging macro's. */
# ifndef DEBUG
# define DEBUG
# endif
# ifndef ASSERT
@ -52,10 +51,6 @@
# define _ERRORMSG(fmt,va...) printk(KERN_ERR PREFIX "ERROR %s:%d: "fmt,__func__,__LINE__, ##va)
# define DEBUG0(x...) MSG(x)
# define DEBUG1(x...) _DEBUG(1,x)
# define DEBUG2(x...) _DEBUG(2,x)
# define DEBUG3(x...) _DEBUG(3,x)
# define ERRORMSG(x...) _ERRORMSG(x)
# define PRINT(x...) printk(x)
# define PRINT_ERROR(x...) printk(KERN_INFO PREFIX " **ERROR** " x)
@ -82,10 +77,6 @@
# define _ERRORMSG(fmt,...) printf(PREFIX "%s:%s:%d: "fmt,__FILE__,__FUNCTION__,__LINE__,__VA_ARGS__)
# define DEBUG0(...) MSG(__VA_ARGS__)
# define DEBUG1(...) _DEBUGMSG(1,__VA_ARGS__)
# define DEBUG2(...) _DEBUGMSG(2,__VA_ARGS__)
# define DEBUG3(...) _DEBUGMSG(3,__VA_ARGS__)
# define ERRORMSG(fmt,...) _ERRORMSG(fmt,__VA_ARGS__)
# define PRINT(...) printf(__VA_ARGS__)
/*
@ -121,10 +112,6 @@
# define ERRORMSG(...) TB_TRACE_INF(TbTracePfx2("tfa",TB_FUNC,__VA_ARGS__))
//fprintf(stderr, PREFIX "ERROR %s:%s:%d: "fmt,__FILE__,__func__,__LINE__, ##va)
# define DEBUG0(x...) MSG(x)
# define DEBUG1(x...) _DEBUG(1,x)
# define DEBUG2(x...) _DEBUG(2,x)
# define DEBUG3(x...) _DEBUG(3,x)
//# define ERRORMSG(x...) _ERRORMSG(x)
# define PRINT(x...) TB_TRACE_INF(TbTracePfx2("tfa",TB_FUNC,x))
//printf(x)
@ -147,10 +134,6 @@
# define MSG(fmt,va...) printf(PREFIX "%s:%s:%d: "fmt,__FILE__,__func__,__LINE__,##va)
# define _ERRORMSG(fmt,va...) fprintf(stderr, PREFIX "ERROR %s:%s:%d: "fmt,__FILE__,__func__,__LINE__, ##va)
# define DEBUG0(x...) MSG(x)
# define DEBUG1(x...) _DEBUG(1,x)
# define DEBUG2(x...) _DEBUG(2,x)
# define DEBUG3(x...) _DEBUG(3,x)
# define ERRORMSG(x...) _ERRORMSG(x)
# define PRINT(x...) printf(x)
# define PRINT_ERROR(...) fprintf(stderr,__VA_ARGS__)

View File

@ -2,7 +2,6 @@
/* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
* Copyright (C) 2021 XiaoMi, Inc.
*/
#define DEBUG
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2021 XiaoMi, Inc.
*/
#define DEBUG
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>

View File

@ -3,7 +3,6 @@
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
* Copyright (C) 2021 XiaoMi, Inc.
*/
#define DEBUG
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>

View File

@ -2,7 +2,6 @@
/* Copyright (c) 2011-2019, The Linux Foundation. All rights reserved.
* Copyright (C) 2021 XiaoMi, Inc.
*/
#define DEBUG
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/module.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2021 XiaoMi, Inc.
*
*/
/* #define DEBUG */
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/version.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2021 XiaoMi, Inc.
*
*/
/* #define DEBUG */
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/version.h>

View File

@ -12,7 +12,6 @@
*/
#ifndef MSM_CIRRUS_PLAYBACK_H
#define MSM_CIRRUS_PLAYBACK_H
#define DEBUG
#include <linux/slab.h>
#include <sound/soc.h>
#include <dsp/apr_audio-v2.h>