drivers: intel: deduplicate ssp trace macros

Trace macros are already defined in ssp.h.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2020-01-09 10:38:25 +01:00 committed by Liam Girdwood
parent c52e59d18a
commit c6baa9796c
3 changed files with 0 additions and 24 deletions

View File

@ -22,14 +22,6 @@
#include <stdbool.h>
#include <stdint.h>
/* tracing */
#define trace_ssp(__e, ...) \
trace_event(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
#define trace_ssp_error(__e, ...) \
trace_error(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
#define tracev_ssp(__e, ...) \
tracev_event(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
/* empty SSP receive FIFO */
static void ssp_empty_rx_fifo(struct dai *dai)
{

View File

@ -28,14 +28,6 @@
#include <stdbool.h>
#include <stdint.h>
/* tracing */
#define trace_ssp(__e, ...) \
trace_event(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
#define trace_ssp_error(__e, ...) \
trace_error(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
#define tracev_ssp(__e, ...) \
tracev_event(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
/**
* \brief Finds valid M/(N * SCR) values for given frequencies.
* \param[in] freq SSP clock frequency.

View File

@ -22,14 +22,6 @@
#include <stdbool.h>
#include <stdint.h>
/* tracing */
#define trace_ssp(__e, ...) \
trace_event(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
#define trace_ssp_error(__e, ...) \
trace_error(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
#define tracev_ssp(__e, ...) \
tracev_event(TRACE_CLASS_SSP, __e, ##__VA_ARGS__)
/* save SSP context prior to entering D3 */
static int ssp_context_store(struct dai *dai)
{