diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:51 -0500 |
commit | 979857bbcfd493ce23f4865c7eb11c8853f065a4 (patch) | |
tree | 9beb0399f02ae2e0fd7a8e7a9f809a518c1531a0 | |
parent | 58af79f06236164ce10e9b08aac12945496b4f5e (diff) |
stmmac: 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: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c index 1f069b0f6af5..5cf9eb6dd65f 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | |||
@@ -61,7 +61,7 @@ static void stmmac_default_data(void) | |||
61 | * matches the device. The probe functions returns zero when the driver choose | 61 | * matches the device. The probe functions returns zero when the driver choose |
62 | * to take "ownership" of the device or an error code(-ve no) otherwise. | 62 | * to take "ownership" of the device or an error code(-ve no) otherwise. |
63 | */ | 63 | */ |
64 | static int __devinit stmmac_pci_probe(struct pci_dev *pdev, | 64 | static int stmmac_pci_probe(struct pci_dev *pdev, |
65 | const struct pci_device_id *id) | 65 | const struct pci_device_id *id) |
66 | { | 66 | { |
67 | int ret = 0; | 67 | int ret = 0; |
@@ -130,7 +130,7 @@ err_out_req_reg_failed: | |||
130 | * Description: this function calls the main to free the net resources | 130 | * Description: this function calls the main to free the net resources |
131 | * and releases the PCI resources. | 131 | * and releases the PCI resources. |
132 | */ | 132 | */ |
133 | static void __devexit stmmac_pci_remove(struct pci_dev *pdev) | 133 | static void stmmac_pci_remove(struct pci_dev *pdev) |
134 | { | 134 | { |
135 | struct net_device *ndev = pci_get_drvdata(pdev); | 135 | struct net_device *ndev = pci_get_drvdata(pdev); |
136 | struct stmmac_priv *priv = netdev_priv(ndev); | 136 | struct stmmac_priv *priv = netdev_priv(ndev); |
@@ -182,7 +182,7 @@ struct pci_driver stmmac_pci_driver = { | |||
182 | .name = STMMAC_RESOURCE_NAME, | 182 | .name = STMMAC_RESOURCE_NAME, |
183 | .id_table = stmmac_id_table, | 183 | .id_table = stmmac_id_table, |
184 | .probe = stmmac_pci_probe, | 184 | .probe = stmmac_pci_probe, |
185 | .remove = __devexit_p(stmmac_pci_remove), | 185 | .remove = stmmac_pci_remove, |
186 | #ifdef CONFIG_PM | 186 | #ifdef CONFIG_PM |
187 | .suspend = stmmac_pci_suspend, | 187 | .suspend = stmmac_pci_suspend, |
188 | .resume = stmmac_pci_resume, | 188 | .resume = stmmac_pci_resume, |
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index ed112b55ae7f..b77b913df116 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "stmmac.h" | 29 | #include "stmmac.h" |
30 | 30 | ||
31 | #ifdef CONFIG_OF | 31 | #ifdef CONFIG_OF |
32 | static int __devinit stmmac_probe_config_dt(struct platform_device *pdev, | 32 | static int stmmac_probe_config_dt(struct platform_device *pdev, |
33 | struct plat_stmmacenet_data *plat, | 33 | struct plat_stmmacenet_data *plat, |
34 | const char **mac) | 34 | const char **mac) |
35 | { | 35 | { |
@@ -59,7 +59,7 @@ static int __devinit stmmac_probe_config_dt(struct platform_device *pdev, | |||
59 | return 0; | 59 | return 0; |
60 | } | 60 | } |
61 | #else | 61 | #else |
62 | static int __devinit stmmac_probe_config_dt(struct platform_device *pdev, | 62 | static int stmmac_probe_config_dt(struct platform_device *pdev, |
63 | struct plat_stmmacenet_data *plat, | 63 | struct plat_stmmacenet_data *plat, |
64 | const char **mac) | 64 | const char **mac) |
65 | { | 65 | { |
@@ -74,7 +74,7 @@ static int __devinit stmmac_probe_config_dt(struct platform_device *pdev, | |||
74 | * the necessary resources and invokes the main to init | 74 | * the necessary resources and invokes the main to init |
75 | * the net device, register the mdio bus etc. | 75 | * the net device, register the mdio bus etc. |
76 | */ | 76 | */ |
77 | static int __devinit stmmac_pltfr_probe(struct platform_device *pdev) | 77 | static int stmmac_pltfr_probe(struct platform_device *pdev) |
78 | { | 78 | { |
79 | int ret = 0; | 79 | int ret = 0; |
80 | struct resource *res; | 80 | struct resource *res; |