diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:43 -0500 |
commit | 3bc6b06ce06039b981333e600f79963ae5a86dba (patch) | |
tree | aaba8e4753fa438fe1895affca48f5ff76414ba8 /drivers/net/ethernet | |
parent | 4f2c53ea27a8d12aaf07f61b5d13d20cadfdefd0 (diff) |
be2net: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Sathya Perla <sathya.perla@emulex.com>
Cc: Subbu Seetharaman <subbu.seetharaman@emulex.com>
Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 0661e9379583..b003abc24227 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c | |||
@@ -3761,7 +3761,7 @@ static int be_stats_init(struct be_adapter *adapter) | |||
3761 | return 0; | 3761 | return 0; |
3762 | } | 3762 | } |
3763 | 3763 | ||
3764 | static void __devexit be_remove(struct pci_dev *pdev) | 3764 | static void be_remove(struct pci_dev *pdev) |
3765 | { | 3765 | { |
3766 | struct be_adapter *adapter = pci_get_drvdata(pdev); | 3766 | struct be_adapter *adapter = pci_get_drvdata(pdev); |
3767 | 3767 | ||
@@ -3994,7 +3994,7 @@ static inline char *func_name(struct be_adapter *adapter) | |||
3994 | return be_physfn(adapter) ? "PF" : "VF"; | 3994 | return be_physfn(adapter) ? "PF" : "VF"; |
3995 | } | 3995 | } |
3996 | 3996 | ||
3997 | static int __devinit be_probe(struct pci_dev *pdev, | 3997 | static int be_probe(struct pci_dev *pdev, |
3998 | const struct pci_device_id *pdev_id) | 3998 | const struct pci_device_id *pdev_id) |
3999 | { | 3999 | { |
4000 | int status = 0; | 4000 | int status = 0; |