mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
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:
parent
8c92a9dbb4
commit
2d36378a07
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user