Skip to content

Commit 10e413f

Browse files
zhengbin13broonie
authored andcommitted
spi/topcliff-pch: Remove unneeded semicolon
Fixes coccicheck warning: drivers/spi/spi-topcliff-pch.c:866:47-48: Unneeded semicolon drivers/spi/spi-topcliff-pch.c:881:53-54: Unneeded semicolon Reported-by: Hulk Robot <[email protected]> Signed-off-by: zhengbin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent e42617b commit 10e413f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-topcliff-pch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ static void pch_spi_request_dma(struct pch_spi_data *data, int bpw)
863863
/* Set Tx DMA */
864864
param = &dma->param_tx;
865865
param->dma_dev = &dma_dev->dev;
866-
param->chan_id = data->ch * 2; /* Tx = 0, 2 */;
866+
param->chan_id = data->ch * 2; /* Tx = 0, 2 */
867867
param->tx_reg = data->io_base_addr + PCH_SPDWR;
868868
param->width = width;
869869
chan = dma_request_channel(mask, pch_spi_filter, param);
@@ -878,7 +878,7 @@ static void pch_spi_request_dma(struct pch_spi_data *data, int bpw)
878878
/* Set Rx DMA */
879879
param = &dma->param_rx;
880880
param->dma_dev = &dma_dev->dev;
881-
param->chan_id = data->ch * 2 + 1; /* Rx = Tx + 1 */;
881+
param->chan_id = data->ch * 2 + 1; /* Rx = Tx + 1 */
882882
param->rx_reg = data->io_base_addr + PCH_SPDRR;
883883
param->width = width;
884884
chan = dma_request_channel(mask, pch_spi_filter, param);

0 commit comments

Comments
 (0)