summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuper Liu <supercjliu@google.com>2023-09-05 03:36:00 +0000
committerSuper Liu <supercjliu@google.com>2023-10-24 02:44:20 +0000
commit29ba6d92819512db5086558c9b96204e93d38d19 (patch)
treeda82ebebe501cea65e0e43acf3137df03f644d8c
parent51bc2677a52d87b15e4b9a7f9957ecc06672055e (diff)
downloadfts_touch-android-gs-shusky-5.15-android14-qpr2.tar.gz
Bug: 242559052 Test: check logs on device Change-Id: Ie7ce4f93a3552b42d821b3d750fb9ef40ab3b191 Signed-off-by: Super Liu <supercjliu@google.com>
-rw-r--r--fst2/fts.h5
-rw-r--r--fst2/fts_lib/fts_io.h5
-rw-r--r--ftm5/fts.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/fst2/fts.h b/fst2/fts.h
index 7da5f7d..dd465d7 100644
--- a/fst2/fts.h
+++ b/fst2/fts.h
@@ -23,6 +23,11 @@
#include "fts_lib/fts_io.h"
#include <drm/drm_bridge.h>
+#undef pr_fmt
+#define pr_fmt(fmt) "gtd: fst2: " fmt
+#undef dev_fmt
+#define dev_fmt(fmt) "gtd: " fmt
+
#define FTS_TS_DRV_NAME "fst2"
#define FTS_TS_DRV_VERSION "6.0.3"
#define FTS_TS_DRV_VER 0x06000004
diff --git a/fst2/fts_lib/fts_io.h b/fst2/fts_lib/fts_io.h
index 33c35c1..febdfa8 100644
--- a/fst2/fts_lib/fts_io.h
+++ b/fst2/fts_lib/fts_io.h
@@ -19,11 +19,6 @@
#ifndef _LINUX_FTS_IO_H_
#define _LINUX_FTS_IO_H_
-#ifdef pr_fmt
-#undef pr_fmt
-#define pr_fmt(fmt) "[ FTS ] " fmt
-#endif
-
/*#define I2C_INTERFACE*/
#ifdef I2C_INTERFACE
#define I2C_SAD 0x49 /* /< slave address of the IC */
diff --git a/ftm5/fts.h b/ftm5/fts.h
index d3889cd..08ec998 100644
--- a/ftm5/fts.h
+++ b/ftm5/fts.h
@@ -56,10 +56,10 @@
/* #define DEBUG */ /* /< define to print more logs in the kernel log
* and better follow the code flow */
-#ifdef pr_fmt
#undef pr_fmt
-#define pr_fmt(fmt) "[ FTS ] " fmt
-#endif
+#define pr_fmt(fmt) "gtd: fts: " fmt
+#undef dev_fmt
+#define dev_fmt(fmt) "gtd: " fmt
#define PINCTRL_STATE_ACTIVE "pmx_ts_active"
#define PINCTRL_STATE_SUSPEND "pmx_ts_suspend"