Thread (1 message) 1 message, 1 author, 2012-11-19
DORMANTno replies

[PATCH 026/493] atm: remove use of __devexit_p in fore200e.c

From: Bill Pemberton <hidden>
Date: 2012-11-19 18:38:07
Subsystem: atm, the rest · Maintainers: Chas Williams, Linus Torvalds

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed, remove it.

Also fix the indentation for the initialization of the
fore200e_pca_driver struct to make chkpatch happy.

Signed-off-by: Bill Pemberton <redacted>
Cc: Chas Williams <redacted> 
Cc: linux-atm-general@lists.sourceforge.net 
Cc: netdev@vger.kernel.org 
---
 drivers/atm/fore200e.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index 361f5ae..c162162 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -2707,7 +2707,7 @@ static struct platform_driver fore200e_sba_driver = {
 		.of_match_table = fore200e_sba_match,
 	},
 	.probe		= fore200e_sba_probe,
-	.remove		= __devexit_p(fore200e_sba_remove),
+	.remove		= fore200e_sba_remove,
 };
 #endif
 
@@ -2787,10 +2787,10 @@ static struct pci_device_id fore200e_pca_tbl[] = {
 MODULE_DEVICE_TABLE(pci, fore200e_pca_tbl);
 
 static struct pci_driver fore200e_pca_driver = {
-    .name =     "fore_200e",
-    .probe =    fore200e_pca_detect,
-    .remove =   __devexit_p(fore200e_pca_remove_one),
-    .id_table = fore200e_pca_tbl,
+	.name =	    "fore_200e",
+	.probe =    fore200e_pca_detect,
+	.remove =   fore200e_pca_remove_one,
+	.id_table = fore200e_pca_tbl,
 };
 #endif
 
-- 
1.8.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help