Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3c6e231 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mark Brown
Browse files

spi: dw: fix style of code in few places



Make comments be surrounded by spaces and move part of code to one line where
it suits 80 characters.

There is no functional changes.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c3ce15bf
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -645,8 +645,7 @@ int dw_spi_add_host(struct device *dev, struct dw_spi *dws)
	dws->prev_chip = NULL;
	dws->prev_chip = NULL;
	dws->dma_inited = 0;
	dws->dma_inited = 0;
	dws->dma_addr = (dma_addr_t)(dws->paddr + 0x60);
	dws->dma_addr = (dma_addr_t)(dws->paddr + 0x60);
	snprintf(dws->name, sizeof(dws->name), "dw_spi%d",
	snprintf(dws->name, sizeof(dws->name), "dw_spi%d", dws->bus_num);
			dws->bus_num);


	ret = devm_request_irq(dev, dws->irq, dw_spi_irq, IRQF_SHARED,
	ret = devm_request_irq(dev, dws->irq, dw_spi_irq, IRQF_SHARED,
			dws->name, dws);
			dws->name, dws);