WIP FPC-III support
[linux/fpc-iii.git] / drivers / usb / chipidea / trace.c
blobf6402630a58e08f39339aba4eedb7a09892d53c0
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Chipidea Device Mode Trace Support
5 * Copyright (C) 2020 NXP
7 * Author: Peter Chen <peter.chen@nxp.com>
8 */
10 #define CREATE_TRACE_POINTS
11 #include "trace.h"
13 void ci_log(struct ci_hdrc *ci, const char *fmt, ...)
15 struct va_format vaf;
16 va_list args;
18 va_start(args, fmt);
19 vaf.fmt = fmt;
20 vaf.va = &args;
21 trace_ci_log(ci, &vaf);
22 va_end(args);