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 <jay.vasanth@microchip.com>
This commit is contained in:
parent
d0fe965b9f
commit
37874f8f67
1 changed files with 2 additions and 2 deletions
|
@ -1097,7 +1097,7 @@ static int qmspi_xec_init(const struct device *dev)
|
||||||
const struct spi_qmspi_config *cfg = dev->config;
|
const struct spi_qmspi_config *cfg = dev->config;
|
||||||
struct spi_qmspi_data *qdata = dev->data;
|
struct spi_qmspi_data *qdata = dev->data;
|
||||||
struct qmspi_regs *regs = cfg->regs;
|
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;
|
int ret;
|
||||||
clock_control_subsys_t clkss =
|
clock_control_subsys_t clkss =
|
||||||
(clock_control_subsys_t)(MCHP_XEC_PCR_CLK_PERIPH_FAST);
|
(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,
|
ret = clock_control_get_rate(pcr_dev, (clock_control_subsys_t)clkss,
|
||||||
&qdata->base_freq_hz);
|
&qdata->base_freq_hz);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
LOG_ERR("QSPI clock control failed");
|
LOG_ERR("QSPI clock control failed");
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue