focaltech_0flash: Remove debug log

TP:
use pr_debug to print debug log.

Change-Id: Ibbffa7a00a417d2a2e19eaa422422eb487570f47
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1401997
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
haojl2 2019-08-13 21:21:06 +08:00 • committed by Jialei Hao
commit c8a9793da4
2 changed files with 12 additions and 4 deletions

View file

@ -159,9 +159,17 @@ struct ts_ic_info {
printk("[FTS_TS]%s: Exit(%d)\n", __func__, __LINE__); \
} while (0)
#else /* #if FTS_DEBUG_EN*/
#define FTS_DEBUG(fmt, args...)
#define FTS_FUNC_ENTER()
#define FTS_FUNC_EXIT()
#define FTS_DEBUG(fmt, args...) do { \
pr_debug("[FTS_TS]%s:"fmt"\n", __func__, ##args); \
} while (0)
#define FTS_FUNC_ENTER() do { \
pr_debug("[FTS_TS]%s: Enter\n", __func__); \
} while (0)
#define FTS_FUNC_EXIT() do { \
pr_debug("[FTS_TS]%s: Exit(%d)\n", __func__, __LINE__); \
} while (0)
#endif
#define FTS_INFO(fmt, args...) do { \

View file

@ -146,7 +146,7 @@
* show debug log info
* enable it for debug, disable it for release
*/
#define FTS_DEBUG_EN 1
#define FTS_DEBUG_EN 0
/*
* Linux MultiTouch Protocol