Skip to content

Commit

Permalink
tlan: 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: Samuel Chessman <chessman@tux.org>
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 f57ae66 commit 3691587
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/ethernet/ti/tlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ these functions are more or less common to all linux network drivers.
**************************************************************/


static void __devexit tlan_remove_one(struct pci_dev *pdev)
static void tlan_remove_one(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
struct tlan_priv *priv = netdev_priv(dev);
Expand Down Expand Up @@ -392,7 +392,7 @@ static struct pci_driver tlan_driver = {
.name = "tlan",
.id_table = tlan_pci_tbl,
.probe = tlan_init_one,
.remove = __devexit_p(tlan_remove_one),
.remove = tlan_remove_one,
.suspend = tlan_suspend,
.resume = tlan_resume,
};
Expand Down Expand Up @@ -434,7 +434,7 @@ static int __init tlan_probe(void)
}


static int __devinit tlan_init_one(struct pci_dev *pdev,
static int tlan_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
return tlan_probe1(pdev, -1, -1, 0, ent);
Expand All @@ -460,7 +460,7 @@ static int __devinit tlan_init_one(struct pci_dev *pdev,
*
**************************************************************/

static int __devinit tlan_probe1(struct pci_dev *pdev,
static int tlan_probe1(struct pci_dev *pdev,
long ioaddr, int irq, int rev,
const struct pci_device_id *ent)
{
Expand Down

0 comments on commit 3691587

Please sign in to comment.