diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:56:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-06 15:04:58 -0500 |
commit | 337b563f72f2e379f11411614f68f3ec73f30592 (patch) | |
tree | 2f075a3f9168ef1259542230b7014a9f83473d2e | |
parent | baa366cda6ec9bf033301a4f547c26c833bd5930 (diff) |
p54: 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: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/p54/p54pci.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/p54/p54spi.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/p54/p54usb.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c index 810c343e4e30..933e5d941937 100644 --- a/drivers/net/wireless/p54/p54pci.c +++ b/drivers/net/wireless/p54/p54pci.c | |||
@@ -540,7 +540,7 @@ out: | |||
540 | pci_dev_put(pdev); | 540 | pci_dev_put(pdev); |
541 | } | 541 | } |
542 | 542 | ||
543 | static int __devinit p54p_probe(struct pci_dev *pdev, | 543 | static int p54p_probe(struct pci_dev *pdev, |
544 | const struct pci_device_id *id) | 544 | const struct pci_device_id *id) |
545 | { | 545 | { |
546 | struct p54p_priv *priv; | 546 | struct p54p_priv *priv; |
@@ -639,7 +639,7 @@ static int __devinit p54p_probe(struct pci_dev *pdev, | |||
639 | return err; | 639 | return err; |
640 | } | 640 | } |
641 | 641 | ||
642 | static void __devexit p54p_remove(struct pci_dev *pdev) | 642 | static void p54p_remove(struct pci_dev *pdev) |
643 | { | 643 | { |
644 | struct ieee80211_hw *dev = pci_get_drvdata(pdev); | 644 | struct ieee80211_hw *dev = pci_get_drvdata(pdev); |
645 | struct p54p_priv *priv; | 645 | struct p54p_priv *priv; |
@@ -692,7 +692,7 @@ static struct pci_driver p54p_driver = { | |||
692 | .name = "p54pci", | 692 | .name = "p54pci", |
693 | .id_table = p54p_table, | 693 | .id_table = p54p_table, |
694 | .probe = p54p_probe, | 694 | .probe = p54p_probe, |
695 | .remove = __devexit_p(p54p_remove), | 695 | .remove = p54p_remove, |
696 | .driver.pm = P54P_PM_OPS, | 696 | .driver.pm = P54P_PM_OPS, |
697 | }; | 697 | }; |
698 | 698 | ||
diff --git a/drivers/net/wireless/p54/p54spi.c b/drivers/net/wireless/p54/p54spi.c index f7929906d437..4fd49a007b51 100644 --- a/drivers/net/wireless/p54/p54spi.c +++ b/drivers/net/wireless/p54/p54spi.c | |||
@@ -595,7 +595,7 @@ static void p54spi_op_stop(struct ieee80211_hw *dev) | |||
595 | cancel_work_sync(&priv->work); | 595 | cancel_work_sync(&priv->work); |
596 | } | 596 | } |
597 | 597 | ||
598 | static int __devinit p54spi_probe(struct spi_device *spi) | 598 | static int p54spi_probe(struct spi_device *spi) |
599 | { | 599 | { |
600 | struct p54s_priv *priv = NULL; | 600 | struct p54s_priv *priv = NULL; |
601 | struct ieee80211_hw *hw; | 601 | struct ieee80211_hw *hw; |
@@ -683,7 +683,7 @@ err_free: | |||
683 | return ret; | 683 | return ret; |
684 | } | 684 | } |
685 | 685 | ||
686 | static int __devexit p54spi_remove(struct spi_device *spi) | 686 | static int p54spi_remove(struct spi_device *spi) |
687 | { | 687 | { |
688 | struct p54s_priv *priv = dev_get_drvdata(&spi->dev); | 688 | struct p54s_priv *priv = dev_get_drvdata(&spi->dev); |
689 | 689 | ||
@@ -710,7 +710,7 @@ static struct spi_driver p54spi_driver = { | |||
710 | }, | 710 | }, |
711 | 711 | ||
712 | .probe = p54spi_probe, | 712 | .probe = p54spi_probe, |
713 | .remove = __devexit_p(p54spi_remove), | 713 | .remove = p54spi_remove, |
714 | }; | 714 | }; |
715 | 715 | ||
716 | static int __init p54spi_init(void) | 716 | static int __init p54spi_init(void) |
diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c index effb044a8a9d..e71c702e2eb1 100644 --- a/drivers/net/wireless/p54/p54usb.c +++ b/drivers/net/wireless/p54/p54usb.c | |||
@@ -986,7 +986,7 @@ static int p54u_load_firmware(struct ieee80211_hw *dev, | |||
986 | return err; | 986 | return err; |
987 | } | 987 | } |
988 | 988 | ||
989 | static int __devinit p54u_probe(struct usb_interface *intf, | 989 | static int p54u_probe(struct usb_interface *intf, |
990 | const struct usb_device_id *id) | 990 | const struct usb_device_id *id) |
991 | { | 991 | { |
992 | struct usb_device *udev = interface_to_usbdev(intf); | 992 | struct usb_device *udev = interface_to_usbdev(intf); |
@@ -1057,7 +1057,7 @@ static int __devinit p54u_probe(struct usb_interface *intf, | |||
1057 | return err; | 1057 | return err; |
1058 | } | 1058 | } |
1059 | 1059 | ||
1060 | static void __devexit p54u_disconnect(struct usb_interface *intf) | 1060 | static void p54u_disconnect(struct usb_interface *intf) |
1061 | { | 1061 | { |
1062 | struct ieee80211_hw *dev = usb_get_intfdata(intf); | 1062 | struct ieee80211_hw *dev = usb_get_intfdata(intf); |
1063 | struct p54u_priv *priv; | 1063 | struct p54u_priv *priv; |
@@ -1131,7 +1131,7 @@ static struct usb_driver p54u_driver = { | |||
1131 | .name = "p54usb", | 1131 | .name = "p54usb", |
1132 | .id_table = p54u_table, | 1132 | .id_table = p54u_table, |
1133 | .probe = p54u_probe, | 1133 | .probe = p54u_probe, |
1134 | .disconnect = __devexit_p(p54u_disconnect), | 1134 | .disconnect = p54u_disconnect, |
1135 | .pre_reset = p54u_pre_reset, | 1135 | .pre_reset = p54u_pre_reset, |
1136 | .post_reset = p54u_post_reset, | 1136 | .post_reset = p54u_post_reset, |
1137 | #ifdef CONFIG_PM | 1137 | #ifdef CONFIG_PM |