aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:43 -0500
commit170b52b873ca0772a1ae2453258eeec825d9b8af (patch)
tree9b6d7c4b7a5a2b2367fc986d2e89c5a324609993
parent0297be07091fc809f27a9f50e5130d41c9ac3f52 (diff)
hp100: 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: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/net/ethernet/hp/hp100.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ethernet/hp/hp100.c b/drivers/net/ethernet/hp/hp100.c
index 3f4391bede81..598e576ddf51 100644
--- a/drivers/net/ethernet/hp/hp100.c
+++ b/drivers/net/ethernet/hp/hp100.c
@@ -308,7 +308,7 @@ static void wait(void)
308 * Read board id and convert to string. 308 * Read board id and convert to string.
309 * Effectively same code as decode_eisa_sig 309 * Effectively same code as decode_eisa_sig
310 */ 310 */
311static __devinit const char *hp100_read_id(int ioaddr) 311static const char *hp100_read_id(int ioaddr)
312{ 312{
313 int i; 313 int i;
314 static char str[HP100_SIG_LEN]; 314 static char str[HP100_SIG_LEN];
@@ -447,7 +447,7 @@ static const struct net_device_ops hp100_netdev_ops = {
447 .ndo_validate_addr = eth_validate_addr, 447 .ndo_validate_addr = eth_validate_addr,
448}; 448};
449 449
450static int __devinit hp100_probe1(struct net_device *dev, int ioaddr, 450static int hp100_probe1(struct net_device *dev, int ioaddr,
451 u_char bus, struct pci_dev *pci_dev) 451 u_char bus, struct pci_dev *pci_dev)
452{ 452{
453 int i; 453 int i;
@@ -2866,7 +2866,7 @@ static int __init hp100_eisa_probe (struct device *gendev)
2866 return err; 2866 return err;
2867} 2867}
2868 2868
2869static int __devexit hp100_eisa_remove (struct device *gendev) 2869static int hp100_eisa_remove(struct device *gendev)
2870{ 2870{
2871 struct net_device *dev = dev_get_drvdata(gendev); 2871 struct net_device *dev = dev_get_drvdata(gendev);
2872 cleanup_dev(dev); 2872 cleanup_dev(dev);
@@ -2878,14 +2878,14 @@ static struct eisa_driver hp100_eisa_driver = {
2878 .driver = { 2878 .driver = {
2879 .name = "hp100", 2879 .name = "hp100",
2880 .probe = hp100_eisa_probe, 2880 .probe = hp100_eisa_probe,
2881 .remove = __devexit_p (hp100_eisa_remove), 2881 .remove = hp100_eisa_remove,
2882 } 2882 }
2883}; 2883};
2884#endif 2884#endif
2885 2885
2886#ifdef CONFIG_PCI 2886#ifdef CONFIG_PCI
2887static int __devinit hp100_pci_probe (struct pci_dev *pdev, 2887static int hp100_pci_probe(struct pci_dev *pdev,
2888 const struct pci_device_id *ent) 2888 const struct pci_device_id *ent)
2889{ 2889{
2890 struct net_device *dev; 2890 struct net_device *dev;
2891 int ioaddr; 2891 int ioaddr;
@@ -2937,7 +2937,7 @@ static int __devinit hp100_pci_probe (struct pci_dev *pdev,
2937 return err; 2937 return err;
2938} 2938}
2939 2939
2940static void __devexit hp100_pci_remove (struct pci_dev *pdev) 2940static void hp100_pci_remove(struct pci_dev *pdev)
2941{ 2941{
2942 struct net_device *dev = pci_get_drvdata(pdev); 2942 struct net_device *dev = pci_get_drvdata(pdev);
2943 2943
@@ -2950,7 +2950,7 @@ static struct pci_driver hp100_pci_driver = {
2950 .name = "hp100", 2950 .name = "hp100",
2951 .id_table = hp100_pci_tbl, 2951 .id_table = hp100_pci_tbl,
2952 .probe = hp100_pci_probe, 2952 .probe = hp100_pci_probe,
2953 .remove = __devexit_p(hp100_pci_remove), 2953 .remove = hp100_pci_remove,
2954}; 2954};
2955#endif 2955#endif
2956 2956