[PATCH] Fixed spacing errors in drivers/staging/fbtft/fbtft-bus.c

From: Arrsh Khusaria
Date: Sun Jun 22 2025 - 18:21:14 EST


Hi,
This patch fixes spacing issues in drivers/staging/foo/foo.c,
such as spacing before parentheses and indentation, to comply with the
kernel coding style guidelines.

There are no functional changes.

This is my first kernel patch. Please let me know if anything needs to be improved.

Thanks,
Arrsh
From d553f5353f65524ed75d16fff757aaf6f0d5eef6 Mon Sep 17 00:00:00 2001
From: Arrsh Khusaria <arrshk01@xxxxxxxxx>
Date: Mon, 23 Jun 2025 02:07:14 +0530
Subject: [PATCH] staging: fbtft: fix spacing issue in fbtft-bus.c

Removed unnecessary whitespace and trailing comma inside a function
parameter list, as reported by checkpatch.pl. No functional changes.

Signed-off-by: Arrsh Khusaria <arrshk01@xxxxxxxxx>
---
drivers/staging/fbtft/fbtft-bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c
index 30e436ff19e4..409770891c54 100644
--- a/drivers/staging/fbtft/fbtft-bus.c
+++ b/drivers/staging/fbtft/fbtft-bus.c
@@ -62,9 +62,9 @@ out: \
} \
EXPORT_SYMBOL(func);

-define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8, )
+define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8)
define_fbtft_write_reg(fbtft_write_reg16_bus8, __be16, u16, cpu_to_be16)
-define_fbtft_write_reg(fbtft_write_reg16_bus16, u16, u16, )
+define_fbtft_write_reg(fbtft_write_reg16_bus16, u16, u16)

void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...)
{
--
2.50.0