WIP FPC-III support
[linux/fpc-iii.git] / drivers / usb / mtu3 / mtu3_trace.c
blobd17ddb87cdcf2ac71f35ab5e5b3e174ca3485d0f
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * mtu3_trace.c - trace support
5 * Copyright (C) 2019 MediaTek Inc.
7 * Author: Chunfeng Yun <chunfeng.yun@mediatek.com>
8 */
10 #define CREATE_TRACE_POINTS
11 #include "mtu3_debug.h"
12 #include "mtu3_trace.h"
14 void mtu3_dbg_trace(struct device *dev, const char *fmt, ...)
16 struct va_format vaf;
17 va_list args;
19 va_start(args, fmt);
20 vaf.fmt = fmt;
21 vaf.va = &args;
22 trace_mtu3_log(dev, &vaf);
23 va_end(args);