linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: Remove redundant semicolons
@ 2025-08-12  3:38 Liao Yuanhong
  2025-08-12  3:38 ` [PATCH 1/2] spi: bcm2835: " Liao Yuanhong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Liao Yuanhong @ 2025-08-12  3:38 UTC (permalink / raw)
  To: Mark Brown, Florian Fainelli, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Matthias Brugger,
	AngeloGioacchino Del Regno, Martin Sperl, Chuanhong Guo,
	open list:SPI SUBSYSTEM,
	moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE,
	moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE,
	open list, moderated list:ARM/Mediatek SoC support
  Cc: Liao Yuanhong

Clean up the code by removing redundant semicolons.

Liao Yuanhong (2):
  spi: bcm2835: Remove redundant semicolons
  spi: mtk-snfi: Remove redundant semicolons

 drivers/spi/spi-bcm2835.c  | 2 +-
 drivers/spi/spi-mtk-snfi.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] spi: bcm2835: Remove redundant semicolons
  2025-08-12  3:38 [PATCH 0/2] spi: Remove redundant semicolons Liao Yuanhong
@ 2025-08-12  3:38 ` Liao Yuanhong
  2025-08-12  3:38 ` [PATCH 2/2] spi: mtk-snfi: " Liao Yuanhong
  2025-08-12 13:31 ` [PATCH 0/2] spi: " Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Liao Yuanhong @ 2025-08-12  3:38 UTC (permalink / raw)
  To: Mark Brown, Florian Fainelli, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Martin Sperl,
	open list:SPI SUBSYSTEM,
	moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE,
	moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE,
	open list
  Cc: Liao Yuanhong

Remove unnecessary semicolons after comments.

Fixes: 3ecd37edaa2a6 ("spi: bcm2835: enable dma modes for transfers meeting certain conditions")
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
---
 drivers/spi/spi-bcm2835.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c
index 77de5a07639a..192cc5ef65fb 100644
--- a/drivers/spi/spi-bcm2835.c
+++ b/drivers/spi/spi-bcm2835.c
@@ -622,7 +622,7 @@ static void bcm2835_spi_dma_rx_done(void *data)
 	/* reset fifo and HW */
 	bcm2835_spi_reset_hw(bs);
 
-	/* and mark as completed */;
+	/* and mark as completed */
 	spi_finalize_current_transfer(ctlr);
 }
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] spi: mtk-snfi: Remove redundant semicolons
  2025-08-12  3:38 [PATCH 0/2] spi: Remove redundant semicolons Liao Yuanhong
  2025-08-12  3:38 ` [PATCH 1/2] spi: bcm2835: " Liao Yuanhong
@ 2025-08-12  3:38 ` Liao Yuanhong
  2025-08-12 13:31 ` [PATCH 0/2] spi: " Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Liao Yuanhong @ 2025-08-12  3:38 UTC (permalink / raw)
  To: Mark Brown, Matthias Brugger, AngeloGioacchino Del Regno,
	Chuanhong Guo, open list:SPI SUBSYSTEM,
	open list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support
  Cc: Liao Yuanhong

Remove unnecessary semicolons.

Fixes: 764f1b7481645 ("spi: add driver for MTK SPI NAND Flash Interface")
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
---
 drivers/spi/spi-mtk-snfi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/spi/spi-mtk-snfi.c b/drivers/spi/spi-mtk-snfi.c
index e82ee6dcf498..ae38c244e258 100644
--- a/drivers/spi/spi-mtk-snfi.c
+++ b/drivers/spi/spi-mtk-snfi.c
@@ -1139,7 +1139,6 @@ static int mtk_snand_write_page_cache(struct mtk_snand *snf,
 	// Prepare for custom write interrupt
 	nfi_write32(snf, NFI_INTR_EN, NFI_IRQ_INTR_EN | NFI_IRQ_CUS_PG);
 	reinit_completion(&snf->op_done);
-	;
 
 	// Trigger NFI into custom mode
 	nfi_write16(snf, NFI_CMD, NFI_CMD_DUMMY_WRITE);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] spi: Remove redundant semicolons
  2025-08-12  3:38 [PATCH 0/2] spi: Remove redundant semicolons Liao Yuanhong
  2025-08-12  3:38 ` [PATCH 1/2] spi: bcm2835: " Liao Yuanhong
  2025-08-12  3:38 ` [PATCH 2/2] spi: mtk-snfi: " Liao Yuanhong
@ 2025-08-12 13:31 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2025-08-12 13:31 UTC (permalink / raw)
  To: Florian Fainelli, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Matthias Brugger,
	AngeloGioacchino Del Regno, Martin Sperl, Chuanhong Guo,
	linux-spi, linux-rpi-kernel, linux-arm-kernel, linux-kernel,
	linux-mediatek, Liao Yuanhong

On Tue, 12 Aug 2025 11:38:15 +0800, Liao Yuanhong wrote:
> Clean up the code by removing redundant semicolons.
> 
> Liao Yuanhong (2):
>   spi: bcm2835: Remove redundant semicolons
>   spi: mtk-snfi: Remove redundant semicolons
> 
> drivers/spi/spi-bcm2835.c  | 2 +-
>  drivers/spi/spi-mtk-snfi.c | 1 -
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/2] spi: bcm2835: Remove redundant semicolons
      commit: 0ecc0e17f05bbb953b6ea3812e78bab224f08595
[2/2] spi: mtk-snfi: Remove redundant semicolons
      commit: 528a813a5d98702cc6fd51983484cf7eec9ebcac

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-12 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-12  3:38 [PATCH 0/2] spi: Remove redundant semicolons Liao Yuanhong
2025-08-12  3:38 ` [PATCH 1/2] spi: bcm2835: " Liao Yuanhong
2025-08-12  3:38 ` [PATCH 2/2] spi: mtk-snfi: " Liao Yuanhong
2025-08-12 13:31 ` [PATCH 0/2] spi: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).