spi_nxp_lpspi: Use one logging module
Use one logging module for LPSPI driver instead of 3 Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
9d0762a1b8
commit
17ec70c9c1
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
#define DT_DRV_COMPAT nxp_lpspi
|
#define DT_DRV_COMPAT nxp_lpspi
|
||||||
|
|
||||||
#include <zephyr/logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
LOG_MODULE_REGISTER(spi_lpspi, CONFIG_SPI_LOG_LEVEL);
|
LOG_MODULE_DECLARE(spi_lpspi, CONFIG_SPI_LOG_LEVEL);
|
||||||
|
|
||||||
#include "spi_nxp_lpspi_priv.h"
|
#include "spi_nxp_lpspi_priv.h"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zephyr/logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
LOG_MODULE_REGISTER(spi_lpspi_common, CONFIG_SPI_LOG_LEVEL);
|
LOG_MODULE_REGISTER(spi_lpspi, CONFIG_SPI_LOG_LEVEL);
|
||||||
|
|
||||||
#include "spi_nxp_lpspi_priv.h"
|
#include "spi_nxp_lpspi_priv.h"
|
||||||
#include <fsl_lpspi.h>
|
#include <fsl_lpspi.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#define DT_DRV_COMPAT nxp_lpspi
|
#define DT_DRV_COMPAT nxp_lpspi
|
||||||
|
|
||||||
#include <zephyr/logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
LOG_MODULE_REGISTER(spi_lpspi_dma, CONFIG_SPI_LOG_LEVEL);
|
LOG_MODULE_DECLARE(spi_lpspi, CONFIG_SPI_LOG_LEVEL);
|
||||||
|
|
||||||
#include <zephyr/drivers/dma.h>
|
#include <zephyr/drivers/dma.h>
|
||||||
#include "spi_nxp_lpspi_priv.h"
|
#include "spi_nxp_lpspi_priv.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue