driver: spi: use new logger

move SPI drivers to use new logger.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-09-22 21:13:18 -05:00
commit 88aa2ca49f
15 changed files with 141 additions and 146 deletions

View file

@ -34,25 +34,10 @@ config SPI_INIT_PRIORITY
help
Device driver initialization priority.
config SYS_LOG_SPI_LEVEL
int "SPI Driver Log level"
depends on SYS_LOG
default 0
range 0 4
help
Sets log level for SPI drivers.
module = SPI
module-str = spi
source "subsys/logging/Kconfig.template.log_config"
Levels are:
- 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config SPI_0
bool "SPI port 0"