Skip to contentSkip to conversation

dma: fix spacing for method declaration, coding style issue in iop-adma.c

PATCH In review Ciaran McCormick 2 participants 2 messages Oct 31, 2011 – Nov 10, 2011 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma: fix spacing for method declaration, coding style issue in iop-adma.c

From: Ciaran McCormick <[email protected]>

---
 drivers/dma/iop-adma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/dma/iop-adma.c +2 -2
index e03f811..686dc76 100644
@@ -1746,12 +1746,12 @@ static struct platform_driver iop_adma_driver = {
 	},
 };
 
-static int __init iop_adma_init (void)
+static int __init iop_adma_init(void)
 {
 	return platform_driver_register(&iop_adma_driver);
 }
 
-static void __exit iop_adma_exit (void)
+static void __exit iop_adma_exit(void)
 {
 	platform_driver_unregister(&iop_adma_driver);
 	return;
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 15 lines · Ciaran McCormick

From: Ciaran McCormick <[email protected]>

---
 drivers/dma/iop-adma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/dma/iop-adma.c +0 -1
index e03f811..686dc76 100644
@@ -1746,12 +1746,12 @@ static struct platform_driver iop_adma_driver = {
 	},
 };
 
-static int __init iop_adma_init (void)

drivers/dma/iop-adma.c static struct platform_driver iop_adma_driver = { · line 1757

Quoted 10 lines
drivers/dma/iop-adma.c +2 -1
+static int __init iop_adma_init(void)
 {
 	return platform_driver_register(&iop_adma_driver);
 }
 
-static void __exit iop_adma_exit (void)
+static void __exit iop_adma_exit(void)
 {
 	platform_driver_unregister(&iop_adma_driver);
 	return;

Applied thanks

Signature · 1 line
~Vinod