tty: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:21:06 +0000 (13:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:19:52 +0000 (15:19 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/cyclades.c
drivers/tty/hvc/hvc_opal.c
drivers/tty/hvc/hvcs.c
drivers/tty/isicom.c
drivers/tty/moxa.c
drivers/tty/mxser.c
drivers/tty/nozomi.c
drivers/tty/synclink.c
drivers/tty/synclink_gt.c
drivers/tty/synclinkmp.c

index de25774b5ec6d37006ff9b77c630d5f7de60707e..2f4d84f3c1592c1a45fb0675bdc02ccc6b52e536 100644 (file)
@@ -3973,7 +3973,7 @@ static struct pci_driver cy_pci_driver = {
        .name = "cyclades",
        .id_table = cy_pci_dev_id,
        .probe = cy_pci_probe,
-       .remove = __devexit_p(cy_pci_remove)
+       .remove = cy_pci_remove
 };
 #endif
 
index 0d2ea0c224c35c6012e0d6c1f7fe04ff337a8931..442bfb0d41da05fd80cf343542a5172278493fb9 100644 (file)
@@ -239,7 +239,7 @@ static int __devexit hvc_opal_remove(struct platform_device *dev)
 
 static struct platform_driver hvc_opal_driver = {
        .probe          = hvc_opal_probe,
-       .remove         = __devexit_p(hvc_opal_remove),
+       .remove         = hvc_opal_remove,
        .driver         = {
                .name   = hvc_opal_name,
                .owner  = THIS_MODULE,
index 744c3b8eea49dbfb141a90bf3a0ad09e2d8f320e..888af583fe7501a471ea7a63560d2a7713060bb7 100644 (file)
@@ -874,7 +874,7 @@ static int __devexit hvcs_remove(struct vio_dev *dev)
 static struct vio_driver hvcs_vio_driver = {
        .id_table       = hvcs_driver_table,
        .probe          = hvcs_probe,
-       .remove         = __devexit_p(hvcs_remove),
+       .remove         = hvcs_remove,
        .name           = hvcs_driver_name,
 };
 
index 67f288d7e76acde6f94c1fb1585a7adeae44d067..774e595e1fbadc1d9593724218c5f6f27b8f93a4 100644 (file)
@@ -168,7 +168,7 @@ static struct pci_driver isicom_driver = {
        .name           = "isicom",
        .id_table       = isicom_pci_tbl,
        .probe          = isicom_probe,
-       .remove         = __devexit_p(isicom_remove)
+       .remove         = isicom_remove
 };
 
 static int prev_card = 3;      /*      start servicing isi_card[0]     */
index d628176fb6d8949b1cc3d17ecfe05e3c231bdebd..e025e065ae9c85c35a2d0f8b32939d44fe7b6d43 100644 (file)
@@ -1033,7 +1033,7 @@ static struct pci_driver moxa_pci_driver = {
        .name = "moxa",
        .id_table = moxa_pcibrds,
        .probe = moxa_pci_probe,
-       .remove = __devexit_p(moxa_pci_remove)
+       .remove = moxa_pci_remove
 };
 #endif /* CONFIG_PCI */
 
index 802a248e7ab9e46e36d3b92344f9d322cd1b0ebc..a2fd58c336e452b9257fca8b12e5330008c59c69 100644 (file)
@@ -2677,7 +2677,7 @@ static struct pci_driver mxser_driver = {
        .name = "mxser",
        .id_table = mxser_pcibrds,
        .probe = mxser_probe,
-       .remove = __devexit_p(mxser_remove)
+       .remove = mxser_remove
 };
 
 static int __init mxser_module_init(void)
index cb764d29775688afbdb436cb8c3df20c7a2e6ace..442efc3d2657decefacd61abc247cca235941436 100644 (file)
@@ -1908,7 +1908,7 @@ static struct pci_driver nozomi_driver = {
        .name = NOZOMI_NAME,
        .id_table = nozomi_pci_tbl,
        .probe = nozomi_card_init,
-       .remove = __devexit_p(nozomi_card_exit),
+       .remove = nozomi_card_exit,
 };
 
 static __init int nozomi_init(void)
index e4b5c39fc4ecb5fe8379cbadea38e8822530083b..31db13be46979fd696f20f01a31f632a2c1e191e 100644 (file)
@@ -898,7 +898,7 @@ static struct pci_driver synclink_pci_driver = {
        .name           = "synclink",
        .id_table       = synclink_pci_tbl,
        .probe          = synclink_init_one,
-       .remove         = __devexit_p(synclink_remove_one),
+       .remove         = synclink_remove_one,
 };
 
 static struct tty_driver *serial_driver;
index 6e4c34011b7e8ef42edce35113453aa37391d216..595f2f48193fbf737603292edb208e76a1e2e3dd 100644 (file)
@@ -110,7 +110,7 @@ static struct pci_driver pci_driver = {
        .name           = "synclink_gt",
        .id_table       = pci_table,
        .probe          = init_one,
-       .remove         = __devexit_p(remove_one),
+       .remove         = remove_one,
 };
 
 static bool pci_registered;
index 40745beb25850d1ddc17a6729517fa6f3b98a7b0..71f3eb22c9790637cdaad5d0df4efbc2fb41b9be 100644 (file)
@@ -492,7 +492,7 @@ static struct pci_driver synclinkmp_pci_driver = {
        .name           = "synclinkmp",
        .id_table       = synclinkmp_pci_tbl,
        .probe          = synclinkmp_init_one,
-       .remove         = __devexit_p(synclinkmp_remove_one),
+       .remove         = synclinkmp_remove_one,
 };