Commit 58b10698 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

i825xx: 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: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 663c2a69
...@@ -150,7 +150,7 @@ static void mpu_port(struct net_device *dev, int c, dma_addr_t x) ...@@ -150,7 +150,7 @@ static void mpu_port(struct net_device *dev, int c, dma_addr_t x)
#define LAN_PROM_ADDR 0xF0810000 #define LAN_PROM_ADDR 0xF0810000
static int __devinit static int
lan_init_chip(struct parisc_device *dev) lan_init_chip(struct parisc_device *dev)
{ {
struct net_device *netdevice; struct net_device *netdevice;
...@@ -195,7 +195,7 @@ lan_init_chip(struct parisc_device *dev) ...@@ -195,7 +195,7 @@ lan_init_chip(struct parisc_device *dev)
return retval; return retval;
} }
static int __devexit lan_remove_chip (struct parisc_device *pdev) static int lan_remove_chip(struct parisc_device *pdev)
{ {
struct net_device *dev = parisc_get_drvdata(pdev); struct net_device *dev = parisc_get_drvdata(pdev);
struct i596_private *lp = netdev_priv(dev); struct i596_private *lp = netdev_priv(dev);
...@@ -219,10 +219,10 @@ static struct parisc_driver lan_driver = { ...@@ -219,10 +219,10 @@ static struct parisc_driver lan_driver = {
.name = "lasi_82596", .name = "lasi_82596",
.id_table = lan_tbl, .id_table = lan_tbl,
.probe = lan_init_chip, .probe = lan_init_chip,
.remove = __devexit_p(lan_remove_chip), .remove = lan_remove_chip,
}; };
static int __devinit lasi_82596_init(void) static int lasi_82596_init(void)
{ {
printk(KERN_INFO LASI_82596_DRIVER_VERSION "\n"); printk(KERN_INFO LASI_82596_DRIVER_VERSION "\n");
return register_parisc_driver(&lan_driver); return register_parisc_driver(&lan_driver);
......
...@@ -1048,7 +1048,7 @@ static const struct net_device_ops i596_netdev_ops = { ...@@ -1048,7 +1048,7 @@ static const struct net_device_ops i596_netdev_ops = {
#endif #endif
}; };
static int __devinit i82596_probe(struct net_device *dev) static int i82596_probe(struct net_device *dev)
{ {
int i; int i;
struct i596_private *lp = netdev_priv(dev); struct i596_private *lp = netdev_priv(dev);
......
...@@ -75,7 +75,7 @@ static void mpu_port(struct net_device *dev, int c, dma_addr_t x) ...@@ -75,7 +75,7 @@ static void mpu_port(struct net_device *dev, int c, dma_addr_t x)
} }
static int __devinit sni_82596_probe(struct platform_device *dev) static int sni_82596_probe(struct platform_device *dev)
{ {
struct net_device *netdevice; struct net_device *netdevice;
struct i596_private *lp; struct i596_private *lp;
...@@ -147,7 +147,7 @@ static int __devinit sni_82596_probe(struct platform_device *dev) ...@@ -147,7 +147,7 @@ static int __devinit sni_82596_probe(struct platform_device *dev)
return retval; return retval;
} }
static int __devexit sni_82596_driver_remove(struct platform_device *pdev) static int sni_82596_driver_remove(struct platform_device *pdev)
{ {
struct net_device *dev = platform_get_drvdata(pdev); struct net_device *dev = platform_get_drvdata(pdev);
struct i596_private *lp = netdev_priv(dev); struct i596_private *lp = netdev_priv(dev);
...@@ -163,14 +163,14 @@ static int __devexit sni_82596_driver_remove(struct platform_device *pdev) ...@@ -163,14 +163,14 @@ static int __devexit sni_82596_driver_remove(struct platform_device *pdev)
static struct platform_driver sni_82596_driver = { static struct platform_driver sni_82596_driver = {
.probe = sni_82596_probe, .probe = sni_82596_probe,
.remove = __devexit_p(sni_82596_driver_remove), .remove = sni_82596_driver_remove,
.driver = { .driver = {
.name = sni_82596_string, .name = sni_82596_string,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
}; };
static int __devinit sni_82596_init(void) static int sni_82596_init(void)
{ {
printk(KERN_INFO SNI_82596_DRIVER_VERSION "\n"); printk(KERN_INFO SNI_82596_DRIVER_VERSION "\n");
return platform_driver_register(&sni_82596_driver); return platform_driver_register(&sni_82596_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment