aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:52 -0500
commit1e48fea4805db6766708d9387f8dc1c5d5226263 (patch)
tree2f446793cf1dfc43b084a998d7d1edee9d8fd4a4 /drivers
parent369e12313dbf7a08fa9ed50c07edd4b5ad399251 (diff)
smc91x: 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: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/smsc/smc91x.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c
index f516e5a71c53..b085692f3893 100644
--- a/drivers/net/ethernet/smsc/smc91x.c
+++ b/drivers/net/ethernet/smsc/smc91x.c
@@ -1779,7 +1779,7 @@ static const struct net_device_ops smc_netdev_ops = {
1779 * I just deleted auto_irq.c, since it was never built... 1779 * I just deleted auto_irq.c, since it was never built...
1780 * --jgarzik 1780 * --jgarzik
1781 */ 1781 */
1782static int __devinit smc_findirq(struct smc_local *lp) 1782static int smc_findirq(struct smc_local *lp)
1783{ 1783{
1784 void __iomem *ioaddr = lp->base; 1784 void __iomem *ioaddr = lp->base;
1785 int timeout = 20; 1785 int timeout = 20;
@@ -1853,7 +1853,7 @@ static int __devinit smc_findirq(struct smc_local *lp)
1853 * o actually GRAB the irq. 1853 * o actually GRAB the irq.
1854 * o GRAB the region 1854 * o GRAB the region
1855 */ 1855 */
1856static int __devinit smc_probe(struct net_device *dev, void __iomem *ioaddr, 1856static int smc_probe(struct net_device *dev, void __iomem *ioaddr,
1857 unsigned long irq_flags) 1857 unsigned long irq_flags)
1858{ 1858{
1859 struct smc_local *lp = netdev_priv(dev); 1859 struct smc_local *lp = netdev_priv(dev);
@@ -2201,7 +2201,7 @@ static void smc_release_datacs(struct platform_device *pdev, struct net_device *
2201 * 0 --> there is a device 2201 * 0 --> there is a device
2202 * anything else, error 2202 * anything else, error
2203 */ 2203 */
2204static int __devinit smc_drv_probe(struct platform_device *pdev) 2204static int smc_drv_probe(struct platform_device *pdev)
2205{ 2205{
2206 struct smc91x_platdata *pd = pdev->dev.platform_data; 2206 struct smc91x_platdata *pd = pdev->dev.platform_data;
2207 struct smc_local *lp; 2207 struct smc_local *lp;
@@ -2314,7 +2314,7 @@ static int __devinit smc_drv_probe(struct platform_device *pdev)
2314 return ret; 2314 return ret;
2315} 2315}
2316 2316
2317static int __devexit smc_drv_remove(struct platform_device *pdev) 2317static int smc_drv_remove(struct platform_device *pdev)
2318{ 2318{
2319 struct net_device *ndev = platform_get_drvdata(pdev); 2319 struct net_device *ndev = platform_get_drvdata(pdev);
2320 struct smc_local *lp = netdev_priv(ndev); 2320 struct smc_local *lp = netdev_priv(ndev);
@@ -2397,7 +2397,7 @@ static struct dev_pm_ops smc_drv_pm_ops = {
2397 2397
2398static struct platform_driver smc_driver = { 2398static struct platform_driver smc_driver = {
2399 .probe = smc_drv_probe, 2399 .probe = smc_drv_probe,
2400 .remove = __devexit_p(smc_drv_remove), 2400 .remove = smc_drv_remove,
2401 .driver = { 2401 .driver = {
2402 .name = CARDNAME, 2402 .name = CARDNAME,
2403 .owner = THIS_MODULE, 2403 .owner = THIS_MODULE,