Skip to content

Commit

Permalink
be2net: remove __dev* attributes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Dec 3, 2012
1 parent 4f2c53e commit 3bc6b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/emulex/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3761,7 +3761,7 @@ static int be_stats_init(struct be_adapter *adapter)
return 0;
}

static void __devexit be_remove(struct pci_dev *pdev)
static void be_remove(struct pci_dev *pdev)
{
struct be_adapter *adapter = pci_get_drvdata(pdev);

Expand Down Expand Up @@ -3994,7 +3994,7 @@ static inline char *func_name(struct be_adapter *adapter)
return be_physfn(adapter) ? "PF" : "VF";
}

static int __devinit be_probe(struct pci_dev *pdev,
static int be_probe(struct pci_dev *pdev,
const struct pci_device_id *pdev_id)
{
int status = 0;
Expand Down

0 comments on commit 3bc6b06

Please sign in to comment.