diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:17 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:17:06 -0500 |
commit | 6ad888c679ff7b4143e8a89706a5c097004b168a (patch) | |
tree | 5dc488484a1ac2a56784301252a6c0f8d58c7d21 /drivers/net/wan | |
parent | 3a4751a3bb2704ca382e22a07648a5c255d6916d (diff) |
dscc4: 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: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/dscc4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c index ef36cafd44b7..d50223050cf4 100644 --- a/drivers/net/wan/dscc4.c +++ b/drivers/net/wan/dscc4.c | |||
@@ -707,7 +707,7 @@ static void dscc4_free1(struct pci_dev *pdev) | |||
707 | kfree(ppriv); | 707 | kfree(ppriv); |
708 | } | 708 | } |
709 | 709 | ||
710 | static int __devinit dscc4_init_one(struct pci_dev *pdev, | 710 | static int dscc4_init_one(struct pci_dev *pdev, |
711 | const struct pci_device_id *ent) | 711 | const struct pci_device_id *ent) |
712 | { | 712 | { |
713 | struct dscc4_pci_priv *priv; | 713 | struct dscc4_pci_priv *priv; |
@@ -1968,7 +1968,7 @@ err_out: | |||
1968 | return -ENOMEM; | 1968 | return -ENOMEM; |
1969 | } | 1969 | } |
1970 | 1970 | ||
1971 | static void __devexit dscc4_remove_one(struct pci_dev *pdev) | 1971 | static void dscc4_remove_one(struct pci_dev *pdev) |
1972 | { | 1972 | { |
1973 | struct dscc4_pci_priv *ppriv; | 1973 | struct dscc4_pci_priv *ppriv; |
1974 | struct dscc4_dev_priv *root; | 1974 | struct dscc4_dev_priv *root; |
@@ -2053,7 +2053,7 @@ static struct pci_driver dscc4_driver = { | |||
2053 | .name = DRV_NAME, | 2053 | .name = DRV_NAME, |
2054 | .id_table = dscc4_pci_tbl, | 2054 | .id_table = dscc4_pci_tbl, |
2055 | .probe = dscc4_init_one, | 2055 | .probe = dscc4_init_one, |
2056 | .remove = __devexit_p(dscc4_remove_one), | 2056 | .remove = dscc4_remove_one, |
2057 | }; | 2057 | }; |
2058 | 2058 | ||
2059 | module_pci_driver(dscc4_driver); | 2059 | module_pci_driver(dscc4_driver); |