From 2d36378a0737fb5d715261fa902d878dac240a3f Mon Sep 17 00:00:00 2001 From: Guru Das Srinagesh Date: Tue, 9 Jun 2020 20:40:20 -0700 Subject: [PATCH] usb: typec: ucsi: Modify IPC log string Remove redundant function name information from the log string, and add a word to help in readability. Change-Id: I464b7c8e60771ea06744ef910c525c6dd664492e Signed-off-by: Guru Das Srinagesh --- drivers/usb/typec/ucsi/ucsi_glink.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c index 785e419e2170..3f49e9d69051 100644 --- a/drivers/usb/typec/ucsi/ucsi_glink.c +++ b/drivers/usb/typec/ucsi/ucsi_glink.c @@ -35,8 +35,7 @@ #define ucsi_dbg(fmt, ...) \ do { \ - ipc_log_string(ucsi_ipc_log, "%s: " fmt, __func__, \ - ##__VA_ARGS__); \ + ipc_log_string(ucsi_ipc_log, fmt, ##__VA_ARGS__); \ pr_debug(fmt, ##__VA_ARGS__); \ } while (0) @@ -204,7 +203,7 @@ static int handle_ucsi_notify(struct ucsi_dev *udev, void *data, size_t len) msg_ptr = data; cci = msg_ptr->notification; - ucsi_log("", UCSI_CCI, (u8 *)&cci, sizeof(cci)); + ucsi_log("notify:", UCSI_CCI, (u8 *)&cci, sizeof(cci)); if (test_bit(CMD_PENDING, &udev->flags) && cci & (UCSI_CCI_ACK_COMPLETE | UCSI_CCI_COMMAND_COMPLETE)) {