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 <gurus@codeaurora.org>
This commit is contained in:
Guru Das Srinagesh 2020-06-09 20:40:20 -07:00 committed by Subbaraman Narayanamurthy
parent 8c92a9dbb4
commit 2d36378a07

View File

@ -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)) {