From 37874f8f672af5c44513d2c18c25d3da191185df Mon Sep 17 00:00:00 2001 From: Jay Vasanth Date: Tue, 26 Jul 2022 10:56:02 -0400 Subject: [PATCH] drivers: spi: fix formatting in mec172x ldma driver fix leading white space and use tabs instead of space in mec172x spi ldma driver. Signed-off-by: Jay Vasanth --- drivers/spi/spi_xec_qmspi_ldma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi_xec_qmspi_ldma.c b/drivers/spi/spi_xec_qmspi_ldma.c index 629549d24eb577..a58b81235f30dd 100644 --- a/drivers/spi/spi_xec_qmspi_ldma.c +++ b/drivers/spi/spi_xec_qmspi_ldma.c @@ -1097,7 +1097,7 @@ static int qmspi_xec_init(const struct device *dev) const struct spi_qmspi_config *cfg = dev->config; struct spi_qmspi_data *qdata = dev->data; struct qmspi_regs *regs = cfg->regs; - const struct device *pcr_dev = DEVICE_DT_GET(MCHP_XEC_CLOCK_CONTROL_NODE); + const struct device *pcr_dev = DEVICE_DT_GET(MCHP_XEC_CLOCK_CONTROL_NODE); int ret; clock_control_subsys_t clkss = (clock_control_subsys_t)(MCHP_XEC_PCR_CLK_PERIPH_FAST); @@ -1126,7 +1126,7 @@ static int qmspi_xec_init(const struct device *dev) } ret = clock_control_get_rate(pcr_dev, (clock_control_subsys_t)clkss, - &qdata->base_freq_hz); + &qdata->base_freq_hz); if (ret) { LOG_ERR("QSPI clock control failed"); return ret;