Centralize definitions associated with CONFIG_DEBUG_SPI

This commit is contained in:
Gregory Nutt
2016-06-15 10:41:13 -06:00
parent 0e180c3ad8
commit ba03134bed
104 changed files with 335 additions and 1835 deletions
-16
View File
@@ -55,22 +55,6 @@
#if 0 /* At present, EA3131 specific logic is hard-coded in the file lpc31_spi.c
* in arch/arm/src/lpc31xx */
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
/* Enables debug output from this file */
#ifdef CONFIG_DEBUG_SPI
# define spierr llerr
# define spiwarn llwarn
# define spiinfo llinfo
#else
# define spierr(x...)
# define spiwarn(x...)
# define spiinfo(x...)
#endif
/************************************************************************************
* Public Functions
************************************************************************************/