Patchwork [029/493] ethernet: remove use of __devexit_p in hydra.c

login
register
mail settings
Submitter Bill Pemberton
Date Nov. 19, 2012, 6:19 p.m.
Message ID <1353349642-3677-29-git-send-email-wfp5p@virginia.edu>
Download mbox | patch
Permalink /patch/200114/
State Rejected
Delegated to: David Miller
Headers show

Comments

Bill Pemberton - Nov. 19, 2012, 6:19 p.m.
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 hydra_driver
struct to make chkpatch happy.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: netdev@vger.kernel.org 
---
 drivers/net/ethernet/8390/hydra.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/drivers/net/ethernet/8390/hydra.c b/drivers/net/ethernet/8390/hydra.c
index 5370c88..dac977f 100644
--- a/drivers/net/ethernet/8390/hydra.c
+++ b/drivers/net/ethernet/8390/hydra.c
@@ -74,10 +74,10 @@  static struct zorro_device_id hydra_zorro_tbl[] __devinitdata = {
 MODULE_DEVICE_TABLE(zorro, hydra_zorro_tbl);
 
 static struct zorro_driver hydra_driver = {
-    .name	= "hydra",
-    .id_table	= hydra_zorro_tbl,
-    .probe	= hydra_init_one,
-    .remove	= __devexit_p(hydra_remove_one),
+	.name	  = "hydra",
+	.id_table = hydra_zorro_tbl,
+	.probe	  = hydra_init_one,
+	.remove   = hydra_remove_one,
 };
 
 static int __devinit hydra_init_one(struct zorro_dev *z,