diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:56 -0500 |
commit | 633d1594974b33a673a9eaf141d557e176202d8f (patch) | |
tree | 2769a66f51ecf59aa6b9892e74cf74591d1e9b0c /drivers/net/phy/mdio-gpio.c | |
parent | 45ac936c3ec93f347cfb7652bd7b332dc0c9b2e8 (diff) |
net/phy: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/phy/mdio-gpio.c')
-rw-r--r-- | drivers/net/phy/mdio-gpio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index 2ed1140df3e9..36fe08ac74bd 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c | |||
@@ -103,7 +103,7 @@ static struct mdiobb_ops mdio_gpio_ops = { | |||
103 | .get_mdio_data = mdio_get, | 103 | .get_mdio_data = mdio_get, |
104 | }; | 104 | }; |
105 | 105 | ||
106 | static struct mii_bus * __devinit mdio_gpio_bus_init(struct device *dev, | 106 | static struct mii_bus *mdio_gpio_bus_init(struct device *dev, |
107 | struct mdio_gpio_platform_data *pdata, | 107 | struct mdio_gpio_platform_data *pdata, |
108 | int bus_id) | 108 | int bus_id) |
109 | { | 109 | { |
@@ -173,7 +173,7 @@ static void mdio_gpio_bus_deinit(struct device *dev) | |||
173 | kfree(bitbang); | 173 | kfree(bitbang); |
174 | } | 174 | } |
175 | 175 | ||
176 | static void __devexit mdio_gpio_bus_destroy(struct device *dev) | 176 | static void mdio_gpio_bus_destroy(struct device *dev) |
177 | { | 177 | { |
178 | struct mii_bus *bus = dev_get_drvdata(dev); | 178 | struct mii_bus *bus = dev_get_drvdata(dev); |
179 | 179 | ||
@@ -181,7 +181,7 @@ static void __devexit mdio_gpio_bus_destroy(struct device *dev) | |||
181 | mdio_gpio_bus_deinit(dev); | 181 | mdio_gpio_bus_deinit(dev); |
182 | } | 182 | } |
183 | 183 | ||
184 | static int __devinit mdio_gpio_probe(struct platform_device *pdev) | 184 | static int mdio_gpio_probe(struct platform_device *pdev) |
185 | { | 185 | { |
186 | struct mdio_gpio_platform_data *pdata; | 186 | struct mdio_gpio_platform_data *pdata; |
187 | struct mii_bus *new_bus; | 187 | struct mii_bus *new_bus; |
@@ -213,7 +213,7 @@ static int __devinit mdio_gpio_probe(struct platform_device *pdev) | |||
213 | return ret; | 213 | return ret; |
214 | } | 214 | } |
215 | 215 | ||
216 | static int __devexit mdio_gpio_remove(struct platform_device *pdev) | 216 | static int mdio_gpio_remove(struct platform_device *pdev) |
217 | { | 217 | { |
218 | mdio_gpio_bus_destroy(&pdev->dev); | 218 | mdio_gpio_bus_destroy(&pdev->dev); |
219 | 219 | ||
@@ -227,7 +227,7 @@ static struct of_device_id mdio_gpio_of_match[] = { | |||
227 | 227 | ||
228 | static struct platform_driver mdio_gpio_driver = { | 228 | static struct platform_driver mdio_gpio_driver = { |
229 | .probe = mdio_gpio_probe, | 229 | .probe = mdio_gpio_probe, |
230 | .remove = __devexit_p(mdio_gpio_remove), | 230 | .remove = mdio_gpio_remove, |
231 | .driver = { | 231 | .driver = { |
232 | .name = "mdio-gpio", | 232 | .name = "mdio-gpio", |
233 | .owner = THIS_MODULE, | 233 | .owner = THIS_MODULE, |