All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fixed[ERROR:trailing whitespace and braces around scalar initializer]
@ 2022-10-26 13:28 UMWARI JOVIAL
  2022-10-26 13:53 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: UMWARI JOVIAL @ 2022-10-26 13:28 UTC (permalink / raw)
  To: gregkh, linux-staging, linux-kernel, outreachy

Using the checkpatch.pl script, found the below errors and  fixed
ERROR: trailing whitespace
CHECK: Please don't use multiple blank lines
warning: braces around scalar initializer

Signed-off-by: UMWARI JOVIAL <umwarijovial@gmail.com>
---
 drivers/staging/most/dim2/dim2.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c
index 7a5f80e637a0..28259ce05024 100644
--- a/drivers/staging/most/dim2/dim2.c
+++ b/drivers/staging/most/dim2/dim2.c
@@ -987,7 +987,6 @@ static int rcar_gen2_enable(struct platform_device *pdev)
 		writel(0x04, dev->io_base + 0x600);
 	}
 
-
 	/* BBCR = 0b11 */
 	writel(0x03, dev->io_base + 0x500);
 	writel(0x0002FF02, dev->io_base + 0x508);
@@ -1084,7 +1083,6 @@ static const struct of_device_id dim2_of_match[] = {
 	{
 		.compatible = "xlnx,axi4-os62420_6pin-1.00.a",
 	},
-	{},
 };
 
 MODULE_DEVICE_TABLE(of, dim2_of_match);
-- 
2.25.1


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

end of thread, other threads:[~2022-10-28  4:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 13:28 [PATCH] Fixed[ERROR:trailing whitespace and braces around scalar initializer] UMWARI JOVIAL
2022-10-26 13:53 ` Greg KH
2022-10-26 17:14 ` Nam Cao
2022-10-27  7:56   ` Dan Carpenter
2022-10-28  4:56     ` jovial umwari
2022-10-27 19:06 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.