Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

spi: rockchip-sfc: Perform trivial code cleanups

Perform a couple of trivial code cleanups, to avoid unnecessary line wrapping
by using the 100-column width a bit better, and to drop a stray empty line.

No intended functional changes are introduced by these code cleanups.

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://patch.msgid.link/4dcd5d9cc4a20c9c6ad504d945475b767399b32f.1727601608.git.dsimic@manjaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Dragan Simic and committed by
Mark Brown
cb91287b f7bc1521

+2 -5
+2 -5
drivers/spi/spi-rockchip-sfc.c
··· 591 591 return PTR_ERR(sfc->hclk); 592 592 } 593 593 594 - sfc->use_dma = !of_property_read_bool(sfc->dev->of_node, 595 - "rockchip,sfc-no-dma"); 594 + sfc->use_dma = !of_property_read_bool(sfc->dev->of_node, "rockchip,sfc-no-dma"); 596 595 597 596 if (sfc->use_dma) { 598 597 ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32)); ··· 601 602 } 602 603 603 604 sfc->buffer = dmam_alloc_coherent(dev, SFC_MAX_IOSIZE_VER3, 604 - &sfc->dma_buffer, 605 - GFP_KERNEL); 605 + &sfc->dma_buffer, GFP_KERNEL); 606 606 if (!sfc->buffer) 607 607 return -ENOMEM; 608 608 } ··· 627 629 0, pdev->name, sfc); 628 630 if (ret) { 629 631 dev_err(dev, "Failed to request irq\n"); 630 - 631 632 goto err_irq; 632 633 } 633 634