]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
tty: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:18 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:27:46 +0000 (15:27 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Lucas Tavares <lucaskt@linux.vnet.ibm.com>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Tony Prisk <linux@prisktech.co.nz>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
53 files changed:
drivers/tty/cyclades.c
drivers/tty/hvc/hvc_opal.c
drivers/tty/hvc/hvc_vio.c
drivers/tty/hvc/hvcs.c
drivers/tty/isicom.c
drivers/tty/moxa.c
drivers/tty/mxser.c
drivers/tty/nozomi.c
drivers/tty/serial/8250/8250.c
drivers/tty/serial/8250/8250_acorn.c
drivers/tty/serial/8250/8250_dw.c
drivers/tty/serial/8250/8250_em.c
drivers/tty/serial/8250/8250_hp300.c
drivers/tty/serial/8250/8250_pci.c
drivers/tty/serial/8250/8250_pnp.c
drivers/tty/serial/altera_jtaguart.c
drivers/tty/serial/altera_uart.c
drivers/tty/serial/ar933x_uart.c
drivers/tty/serial/arc_uart.c
drivers/tty/serial/atmel_serial.c
drivers/tty/serial/bcm63xx_uart.c
drivers/tty/serial/bfin_sport_uart.c
drivers/tty/serial/bfin_uart.c
drivers/tty/serial/clps711x.c
drivers/tty/serial/cpm_uart/cpm_uart_core.c
drivers/tty/serial/efm32-uart.c
drivers/tty/serial/icom.c
drivers/tty/serial/jsm/jsm_driver.c
drivers/tty/serial/lpc32xx_hs.c
drivers/tty/serial/max3100.c
drivers/tty/serial/max310x.c
drivers/tty/serial/mcf.c
drivers/tty/serial/mrst_max3110.c
drivers/tty/serial/msm_serial.c
drivers/tty/serial/msm_serial_hs.c
drivers/tty/serial/mux.c
drivers/tty/serial/mxs-auart.c
drivers/tty/serial/omap-serial.c
drivers/tty/serial/samsung.c
drivers/tty/serial/sccnxp.c
drivers/tty/serial/serial_txx9.c
drivers/tty/serial/sunhv.c
drivers/tty/serial/sunsab.c
drivers/tty/serial/sunsu.c
drivers/tty/serial/sunzilog.c
drivers/tty/serial/timbuart.c
drivers/tty/serial/uartlite.c
drivers/tty/serial/vr41xx_siu.c
drivers/tty/serial/vt8500_serial.c
drivers/tty/serial/xilinx_uartps.c
drivers/tty/synclink.c
drivers/tty/synclink_gt.c
drivers/tty/synclinkmp.c

index 2dff87cdce23b609871a4a62189b51ec39072fa8..b09c8d1f9a662d50f1eed1520a5f51104a4c43f0 100644 (file)
@@ -3931,7 +3931,7 @@ err:
        return retval;
 }
 
-static void __devexit cy_pci_remove(struct pci_dev *pdev)
+static void cy_pci_remove(struct pci_dev *pdev)
 {
        struct cyclades_card *cinfo = pci_get_drvdata(pdev);
        unsigned int i, channel;
index 61da5cd093fcca75f8092d55797da0825bc54cb7..be1a9a1e749e6761678fe1c135a1a64ff25160e7 100644 (file)
@@ -222,7 +222,7 @@ static int hvc_opal_probe(struct platform_device *dev)
        return 0;
 }
 
-static int __devexit hvc_opal_remove(struct platform_device *dev)
+static int hvc_opal_remove(struct platform_device *dev)
 {
        struct hvc_struct *hp = dev_get_drvdata(&dev->dev);
        int rc, termno;
index 282d143a643747e04277864be57eb609f46bbb6c..ed6f5f1f5a552e461af7ddb2941774194ea2c558 100644 (file)
@@ -362,7 +362,7 @@ static int hvc_vio_probe(struct vio_dev *vdev,
        return 0;
 }
 
-static int __devexit hvc_vio_remove(struct vio_dev *vdev)
+static int hvc_vio_remove(struct vio_dev *vdev)
 {
        struct hvc_struct *hp = dev_get_drvdata(&vdev->dev);
        int rc, termno;
index 5afe3b6041cfc8ed7525517237b5c27bf94c4d3c..87763573395230dfff9a75902ccd4cee7aa53544 100644 (file)
@@ -332,7 +332,7 @@ static void hvcs_hangup(struct tty_struct * tty);
 
 static int hvcs_probe(struct vio_dev *dev,
                const struct vio_device_id *id);
-static int __devexit hvcs_remove(struct vio_dev *dev);
+static int hvcs_remove(struct vio_dev *dev);
 static int __init hvcs_module_init(void);
 static void __exit hvcs_module_exit(void);
 static int hvcs_initialize(void);
@@ -835,7 +835,7 @@ static int hvcs_probe(
        return 0;
 }
 
-static int __devexit hvcs_remove(struct vio_dev *dev)
+static int hvcs_remove(struct vio_dev *dev)
 {
        struct hvcs_struct *hvcsd = dev_get_drvdata(&dev->dev);
        unsigned long flags;
index 82661889b322eae967760e5533ec93e36ebc48ae..3205b2e9090bd23cee149a73137c0c50f6042240 100644 (file)
 #endif
 
 static int isicom_probe(struct pci_dev *, const struct pci_device_id *);
-static void __devexit isicom_remove(struct pci_dev *);
+static void isicom_remove(struct pci_dev *);
 
 static struct pci_device_id isicom_pci_tbl[] = {
        { PCI_DEVICE(VENDOR_ID, 0x2028) },
@@ -1635,7 +1635,7 @@ err:
        return retval;
 }
 
-static void __devexit isicom_remove(struct pci_dev *pdev)
+static void isicom_remove(struct pci_dev *pdev)
 {
        struct isi_board *board = pci_get_drvdata(pdev);
        unsigned int i;
index 60ea74e76d3a2a3013dd2300022ec6e4bafc236f..f9d28503bdec1928e01f91198187931b6fdc4734 100644 (file)
@@ -1020,7 +1020,7 @@ err:
        return retval;
 }
 
-static void __devexit moxa_pci_remove(struct pci_dev *pdev)
+static void moxa_pci_remove(struct pci_dev *pdev)
 {
        struct moxa_board_conf *brd = pci_get_drvdata(pdev);
 
index 7f5e0ccf96ea51c638cfad93c6aa7b1c640a3fc4..40113868bec25bad3384fdeec9cfaff13c63aee4 100644 (file)
@@ -2658,7 +2658,7 @@ err:
 #endif
 }
 
-static void __devexit mxser_remove(struct pci_dev *pdev)
+static void mxser_remove(struct pci_dev *pdev)
 {
 #ifdef CONFIG_PCI
        struct mxser_board *brd = pci_get_drvdata(pdev);
index 2445aa4d2fa4ad43ea9051b94ecaebbd82fb9974..a0c69ab04399b80e9ac71e98d5d35045ee2bdef1 100644 (file)
@@ -1507,7 +1507,7 @@ err:
        return ret;
 }
 
-static void __devexit tty_exit(struct nozomi *dc)
+static void tty_exit(struct nozomi *dc)
 {
        unsigned int i;
 
@@ -1530,7 +1530,7 @@ static void __devexit tty_exit(struct nozomi *dc)
 }
 
 /* Deallocate memory for one device */
-static void __devexit nozomi_card_exit(struct pci_dev *pdev)
+static void nozomi_card_exit(struct pci_dev *pdev)
 {
        int i;
        struct ctrl_ul ctrl;
index 40ba8cc0985d8ec3cfdef578c451024b5336c64e..2af83a246499c61c3ec323d40253b76fa04b4e7a 100644 (file)
@@ -3035,7 +3035,7 @@ static int serial8250_probe(struct platform_device *dev)
 /*
  * Remove serial ports registered against a platform device.
  */
-static int __devexit serial8250_remove(struct platform_device *dev)
+static int serial8250_remove(struct platform_device *dev)
 {
        int i;
 
index ed095eb2e3f2d64726dc221329bd00f1c428d938..549aa07c0d271dd6c706e80eccfc4abb698b7dfc 100644 (file)
@@ -80,7 +80,7 @@ serial_card_probe(struct expansion_card *ec, const struct ecard_id *id)
        return 0;
 }
 
-static void __devexit serial_card_remove(struct expansion_card *ec)
+static void serial_card_remove(struct expansion_card *ec)
 {
        struct serial_card_info *info = ecard_get_drvdata(ec);
        int i;
index 7664750c2bd6cb8826148541fe0ea5d052c2d3cf..1d0dba2d562d27bb72a3e91f2273176c4cd67f41 100644 (file)
@@ -152,7 +152,7 @@ static int dw8250_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit dw8250_remove(struct platform_device *pdev)
+static int dw8250_remove(struct platform_device *pdev)
 {
        struct dw8250_data *data = platform_get_drvdata(pdev);
 
index 430bf42374c0cf018340ca192d9dba172b17b4a1..916cc19fbbda4ae8d52ff612484950a8669b178e 100644 (file)
@@ -152,7 +152,7 @@ static int serial8250_em_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit serial8250_em_remove(struct platform_device *pdev)
+static int serial8250_em_remove(struct platform_device *pdev)
 {
        struct serial8250_em_priv *priv = platform_get_drvdata(pdev);
 
index 2b945052ee085eddbe4a8d30a0b2a480f3d62c49..5bdaf271d3958a5c0721088ba3636e14b8522b32 100644 (file)
@@ -38,7 +38,7 @@ static struct hp300_port *hp300_ports;
 
 static int hpdca_init_one(struct dio_dev *d,
                                        const struct dio_device_id *ent);
-static void __devexit hpdca_remove_one(struct dio_dev *d);
+static void hpdca_remove_one(struct dio_dev *d);
 
 static struct dio_device_id hpdca_dio_tbl[] = {
        { DIO_ID_DCA0 },
@@ -288,7 +288,7 @@ static int __init hp300_8250_init(void)
 }
 
 #ifdef CONFIG_HPDCA
-static void __devexit hpdca_remove_one(struct dio_dev *d)
+static void hpdca_remove_one(struct dio_dev *d)
 {
        int line;
 
index 3252c5d47ff89653547dc365d8282b9baf4ec588..97058c1d7d45c6f48add1c5ac30de3f87bf4f506 100644 (file)
@@ -288,7 +288,7 @@ static int pci_plx9050_init(struct pci_dev *dev)
        return 0;
 }
 
-static void __devexit pci_plx9050_exit(struct pci_dev *dev)
+static void pci_plx9050_exit(struct pci_dev *dev)
 {
        u8 __iomem *p;
 
@@ -313,7 +313,7 @@ static void __devexit pci_plx9050_exit(struct pci_dev *dev)
 #define NI8420_INT_ENABLE_REG  0x38
 #define NI8420_INT_ENABLE_BIT  0x2000
 
-static void __devexit pci_ni8420_exit(struct pci_dev *dev)
+static void pci_ni8420_exit(struct pci_dev *dev)
 {
        void __iomem *p;
        unsigned long base, len;
@@ -345,7 +345,7 @@ static void __devexit pci_ni8420_exit(struct pci_dev *dev)
 
 #define MITE_LCIMR2_CLR_CPU_IE (1 << 30)
 
-static void __devexit pci_ni8430_exit(struct pci_dev *dev)
+static void pci_ni8430_exit(struct pci_dev *dev)
 {
        void __iomem *p;
        unsigned long base, len;
@@ -422,7 +422,7 @@ static int sbs_init(struct pci_dev *dev)
  * Disables the global interrupt of PMC-OctalPro
  */
 
-static void __devexit sbs_exit(struct pci_dev *dev)
+static void sbs_exit(struct pci_dev *dev)
 {
        u8 __iomem *p;
 
@@ -991,7 +991,7 @@ static int pci_ite887x_init(struct pci_dev *dev)
        return ret;
 }
 
-static void __devexit pci_ite887x_exit(struct pci_dev *dev)
+static void pci_ite887x_exit(struct pci_dev *dev)
 {
        u32 ioport;
        /* the ioport is bit 0-15 in POSIO0R */
@@ -2988,7 +2988,7 @@ pciserial_init_one(struct pci_dev *dev, const struct pci_device_id *ent)
        return rc;
 }
 
-static void __devexit pciserial_remove_one(struct pci_dev *dev)
+static void pciserial_remove_one(struct pci_dev *dev)
 {
        struct serial_private *priv = pci_get_drvdata(dev);
 
index 71daae90fb5e0de68c92e14f4b5527caee474a94..35d9ab95c5cbb51d6092f67540678f00e4ee52bd 100644 (file)
@@ -476,7 +476,7 @@ serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
        return 0;
 }
 
-static void __devexit serial_pnp_remove(struct pnp_dev *dev)
+static void serial_pnp_remove(struct pnp_dev *dev)
 {
        long line = (long)pnp_get_drvdata(dev);
        if (line)
index ef5c705fa2b35e5b108edb56847ce12dd771516d..872f14ae43d29f52aa79a79193c21a6f89b7adae 100644 (file)
@@ -453,7 +453,7 @@ static int altera_jtaguart_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit altera_jtaguart_remove(struct platform_device *pdev)
+static int altera_jtaguart_remove(struct platform_device *pdev)
 {
        struct uart_port *port;
        int i = pdev->id;
index 066b5035e10a784f1ea64489edb106171a8f4e28..684a0808e1c70f4e2ad05cee113d3b8109ab4c19 100644 (file)
@@ -598,7 +598,7 @@ static int altera_uart_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit altera_uart_remove(struct platform_device *pdev)
+static int altera_uart_remove(struct platform_device *pdev)
 {
        struct uart_port *port = platform_get_drvdata(pdev);
 
index ad171508b9a99ce377d8591cbd1b0e432d273738..505c490c0b4484a118ec5133894dbbee2a257db0 100644 (file)
@@ -707,7 +707,7 @@ err_free_up:
        return ret;
 }
 
-static int __devexit ar933x_uart_remove(struct platform_device *pdev)
+static int ar933x_uart_remove(struct platform_device *pdev)
 {
        struct ar933x_uart_port *up;
 
index 158d798a5203a144eac21406683b2fffb0b3c729..3e0b3fac6a0ed05c0089bf04b87b3157d282d074 100644 (file)
@@ -689,7 +689,7 @@ static int arc_serial_probe(struct platform_device *pdev)
        return uart_add_one_port(&arc_uart_driver, &uart->port);
 }
 
-static int __devexit arc_serial_remove(struct platform_device *pdev)
+static int arc_serial_remove(struct platform_device *pdev)
 {
        /* This will never be called */
        return 0;
index 02540cbf16a631ddb438e6f8c89f360a835d0031..d2a98da2613311fe1e2aa18f6ac35743dd57590f 100644 (file)
@@ -1851,7 +1851,7 @@ err:
        return ret;
 }
 
-static int __devexit atmel_serial_remove(struct platform_device *pdev)
+static int atmel_serial_remove(struct platform_device *pdev)
 {
        struct uart_port *port = platform_get_drvdata(pdev);
        struct atmel_uart_port *atmel_port = to_atmel_uart_port(port);
index e54d1703be1e7d95c3fbad85cfd1af34ad3d9db3..c76a226080f2f591047bd4336257aa0eef87dd52 100644 (file)
@@ -848,7 +848,7 @@ static int bcm_uart_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit bcm_uart_remove(struct platform_device *pdev)
+static int bcm_uart_remove(struct platform_device *pdev)
 {
        struct uart_port *port;
 
index a47e00b056e793a85aec11ef5b68b815402e4ae5..f5d117379b605653b4e8641e94490b92723e2eb4 100644 (file)
@@ -850,7 +850,7 @@ out_error_free_mem:
        return ret;
 }
 
-static int __devexit sport_uart_remove(struct platform_device *pdev)
+static int sport_uart_remove(struct platform_device *pdev)
 {
        struct sport_uart_port *sport = platform_get_drvdata(pdev);
 
index f1f8210a613040ab487584b46e8a5baf2563a253..18cf45a29d4005c36d9fc29043da493dd7de2b8d 100644 (file)
@@ -1389,7 +1389,7 @@ out_error_free_mem:
        return ret;
 }
 
-static int __devexit bfin_serial_remove(struct platform_device *pdev)
+static int bfin_serial_remove(struct platform_device *pdev)
 {
        struct bfin_serial_port *uart = platform_get_drvdata(pdev);
 
index 006d283bbdedc92d6e416dd604ae0880fc366514..3fd2526d121eef6eb70c14dc7dbc4a003841e245 100644 (file)
@@ -491,7 +491,7 @@ err_out:
        return ret;
 }
 
-static int __devexit uart_clps711x_remove(struct platform_device *pdev)
+static int uart_clps711x_remove(struct platform_device *pdev)
 {
        struct clps711x_port *s = platform_get_drvdata(pdev);
        int i;
index de3f0f6eba744715221cd2efae42d2806cd40f0e..ad0caf17680864cfbc22637758a0a4052e98627c 100644 (file)
@@ -1396,7 +1396,7 @@ static int cpm_uart_probe(struct platform_device *ofdev)
        return uart_add_one_port(&cpm_reg, &pinfo->port);
 }
 
-static int __devexit cpm_uart_remove(struct platform_device *ofdev)
+static int cpm_uart_remove(struct platform_device *ofdev)
 {
        struct uart_cpm_port *pinfo = dev_get_drvdata(&ofdev->dev);
        return uart_remove_one_port(&cpm_reg, &pinfo->port);
index 833c33a2751afea624de4a9d5938f33ac3acd901..a8cbb267052145913239f5b0511eb0eee91b23a6 100644 (file)
@@ -764,7 +764,7 @@ err_get_base:
        return ret;
 }
 
-static int __devexit efm32_uart_remove(struct platform_device *pdev)
+static int efm32_uart_remove(struct platform_device *pdev)
 {
        struct efm32_uart_port *efm_port = platform_get_drvdata(pdev);
 
index a8267956ac886be591998a7472e8a5243aaa8b79..6197a69adb4d407e3011c37625cbca8faae66eb1 100644 (file)
@@ -1596,7 +1596,7 @@ probe_exit0:
        return retval;
 }
 
-static void __devexit icom_remove(struct pci_dev *dev)
+static void icom_remove(struct pci_dev *dev)
 {
        struct icom_adapter *icom_adapter;
        struct list_head *tmp;
index 5b57c8eecfc983d413e1266d3affa6f7cbceda58..a47d882d6743a9cc20b5aa2f38b73ab91a8b2f83 100644 (file)
@@ -178,7 +178,7 @@ static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
        return rc;
 }
 
-static void __devexit jsm_remove_one(struct pci_dev *pdev)
+static void jsm_remove_one(struct pci_dev *pdev)
 {
        struct jsm_board *brd = pci_get_drvdata(pdev);
        int i = 0;
index 3651dab2009f4874a07852efd4fa8e669f7483e8..0e86bff3fe2a31b4efc34d2925034e0af0f6e310 100644 (file)
@@ -740,7 +740,7 @@ static int serial_hs_lpc32xx_probe(struct platform_device *pdev)
 /*
  * Remove serial ports registered against a platform device.
  */
-static int __devexit serial_hs_lpc32xx_remove(struct platform_device *pdev)
+static int serial_hs_lpc32xx_remove(struct platform_device *pdev)
 {
        struct lpc32xx_hsuart_port *p = platform_get_drvdata(pdev);
 
index 8dd6189a40eeb21e9cfa21c26bbd6cb3962a11d8..7ce3197087bbab460e1b498cb2e864304b78ea44 100644 (file)
@@ -818,7 +818,7 @@ static int max3100_probe(struct spi_device *spi)
        return 0;
 }
 
-static int __devexit max3100_remove(struct spi_device *spi)
+static int max3100_remove(struct spi_device *spi)
 {
        struct max3100_port *s = dev_get_drvdata(&spi->dev);
        int i;
index 88a227f9fe8c97d6a4242828d70303d0485f7a91..3bb809d083aad3407c6330c1aecb092d6b1ade6b 100644 (file)
@@ -1202,7 +1202,7 @@ err_out:
        return ret;
 }
 
-static int __devexit max310x_remove(struct spi_device *spi)
+static int max310x_remove(struct spi_device *spi)
 {
        struct device *dev = &spi->dev;
        struct max310x_port *s = dev_get_drvdata(dev);
index e2b93d2f8f8c8ba6f5e06df0ce30151b5b35c9d2..fcd56ab6053fb8031638b505f001052b28edbca6 100644 (file)
@@ -599,7 +599,7 @@ static int mcf_probe(struct platform_device *pdev)
 
 /****************************************************************************/
 
-static int __devexit mcf_remove(struct platform_device *pdev)
+static int mcf_remove(struct platform_device *pdev)
 {
        struct uart_port *port;
        int i;
index 41497fd3d360aaac5f23c5b2eb41368a6c16eb2b..58734d7e746da99ce40fe3518efa8a77eb5e98f6 100644 (file)
@@ -855,7 +855,7 @@ err_get_page:
        return ret;
 }
 
-static int __devexit serial_m3110_remove(struct spi_device *dev)
+static int serial_m3110_remove(struct spi_device *dev)
 {
        struct uart_max3110 *max = spi_get_drvdata(dev);
 
index 033e0bc9ebabccb30e33ea0d4d24947dcff48661..95fd39be29349857dd4c4380618e568135a09c1d 100644 (file)
@@ -917,7 +917,7 @@ static int __init msm_serial_probe(struct platform_device *pdev)
        return uart_add_one_port(&msm_uart_driver, port);
 }
 
-static int __devexit msm_serial_remove(struct platform_device *pdev)
+static int msm_serial_remove(struct platform_device *pdev)
 {
        struct msm_port *msm_port = platform_get_drvdata(pdev);
 
index 02fb63e944eb7c8faf6c613e2f5575100aa346ea..1fa92284ade0d66d0518ecebf372cdb3ddaed6e7 100644 (file)
@@ -401,7 +401,7 @@ static int msm_hs_request_port(struct uart_port *port)
        return 0;
 }
 
-static int __devexit msm_hs_remove(struct platform_device *pdev)
+static int msm_hs_remove(struct platform_device *pdev)
 {
 
        struct msm_hs_port *msm_uport;
index 27834646d018a47ccf19e73cf465a4e5fcb4cd54..e2775b6df5a54fb252850333bd7a3a8237b7fdfb 100644 (file)
@@ -520,7 +520,7 @@ static int __init mux_probe(struct parisc_device *dev)
        return 0;
 }
 
-static int __devexit mux_remove(struct parisc_device *dev)
+static int mux_remove(struct parisc_device *dev)
 {
        int i, j;
        int port_count = (long)dev_get_drvdata(&dev->dev);
index 18b55c2d1d2e204cb32c5d89617c0ae805f3a431..3860ff27467cbc26e6677d14499fb83d05095f08 100644 (file)
@@ -1137,7 +1137,7 @@ out:
        return ret;
 }
 
-static int __devexit mxs_auart_remove(struct platform_device *pdev)
+static int mxs_auart_remove(struct platform_device *pdev)
 {
        struct mxs_auart_port *s = platform_get_drvdata(pdev);
 
index e777b16c4d1710f685c6312bbca236e5b8a90973..b538e2e4ae5b05ca94784d05b1e1273cb3c639f9 100644 (file)
@@ -1441,7 +1441,7 @@ err_port_line:
        return ret;
 }
 
-static int __devexit serial_omap_remove(struct platform_device *dev)
+static int serial_omap_remove(struct platform_device *dev)
 {
        struct uart_omap_port *up = platform_get_drvdata(dev);
 
index 6568beb4d370883243efc70a5ee3cde223d8c132..82b48f60aa0c837f5c69b8a57887d9f0cf9a0e7e 100644 (file)
@@ -1256,7 +1256,7 @@ static int s3c24xx_serial_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit s3c24xx_serial_remove(struct platform_device *dev)
+static int s3c24xx_serial_remove(struct platform_device *dev)
 {
        struct uart_port *port = s3c24xx_dev_to_port(&dev->dev);
 
index 1ddace83263f98bcd6072d7ce69b99720b629129..418b495e3233dc6c2dd7fb15a75af33d9568d9b5 100644 (file)
@@ -943,7 +943,7 @@ err_out:
        return ret;
 }
 
-static int __devexit sccnxp_remove(struct platform_device *pdev)
+static int sccnxp_remove(struct platform_device *pdev)
 {
        int i;
        struct sccnxp_port *s = platform_get_drvdata(pdev);
index 23b28b8f467023c05dc4f12344a0d3a34fbc1a3d..b52b21aeb250ac319902c86dcf2a8ed015b337e6 100644 (file)
@@ -1078,7 +1078,7 @@ static int serial_txx9_register_port(struct uart_port *port)
  *     Remove one serial port.  This may not be called from interrupt
  *     context.  We hand the port back to the our control.
  */
-static void __devexit serial_txx9_unregister_port(int line)
+static void serial_txx9_unregister_port(int line)
 {
        struct uart_txx9_port *uart = &serial_txx9_ports[line];
 
@@ -1126,7 +1126,7 @@ static int serial_txx9_probe(struct platform_device *dev)
 /*
  * Remove serial ports registered against a platform device.
  */
-static int __devexit serial_txx9_remove(struct platform_device *dev)
+static int serial_txx9_remove(struct platform_device *dev)
 {
        int i;
 
@@ -1217,7 +1217,7 @@ pciserial_txx9_init_one(struct pci_dev *dev, const struct pci_device_id *ent)
        return 0;
 }
 
-static void __devexit pciserial_txx9_remove_one(struct pci_dev *dev)
+static void pciserial_txx9_remove_one(struct pci_dev *dev)
 {
        struct uart_txx9_port *up = pci_get_drvdata(dev);
 
index cb58867036a0cd6cd43994c297dc98f5ebddba53..b9bf9c53f7fd7159089578e9322d174c067897ef 100644 (file)
@@ -598,7 +598,7 @@ out_free_port:
        return err;
 }
 
-static int __devexit hv_remove(struct platform_device *dev)
+static int hv_remove(struct platform_device *dev)
 {
        struct uart_port *port = dev_get_drvdata(&dev->dev);
 
index 9a13c54d5f8a4f48cf1e0b7bbc6e2bc2ac84acb3..bd8b3b6341033b275c376743cd7b2ce6d120b0ed 100644 (file)
@@ -1063,7 +1063,7 @@ out:
        return err;
 }
 
-static int __devexit sab_remove(struct platform_device *op)
+static int sab_remove(struct platform_device *op)
 {
        struct uart_sunsab_port *up = dev_get_drvdata(&op->dev);
 
index 049bbc5bc7695f33bd28adaf5356168b878029a4..220da3f9724f1398a802d3cdb3f87ca33d1aefed 100644 (file)
@@ -1503,7 +1503,7 @@ out_unmap:
        return err;
 }
 
-static int __devexit su_remove(struct platform_device *op)
+static int su_remove(struct platform_device *op)
 {
        struct uart_sunsu_port *up = dev_get_drvdata(&op->dev);
        bool kbdms = false;
index 02c058fbefe5ff9efd8f3b27170b754c2e195362..aef4fab957c3999287b33994014cac951de652b8 100644 (file)
@@ -1507,7 +1507,7 @@ static int zs_probe(struct platform_device *op)
        return 0;
 }
 
-static void __devexit zs_remove_one(struct uart_sunzilog_port *up)
+static void zs_remove_one(struct uart_sunzilog_port *up)
 {
        if (ZS_IS_KEYB(up) || ZS_IS_MOUSE(up)) {
 #ifdef CONFIG_SERIO
@@ -1517,7 +1517,7 @@ static void __devexit zs_remove_one(struct uart_sunzilog_port *up)
                uart_remove_one_port(&sunzilog_reg, &up->port);
 }
 
-static int __devexit zs_remove(struct platform_device *op)
+static int zs_remove(struct platform_device *op)
 {
        struct uart_sunzilog_port *up = dev_get_drvdata(&op->dev);
        struct zilog_layout __iomem *regs;
index c833f50980b6d3209b50ed181cf5ec808cc72c35..5be0d68fecebb36cda36adf3be7d4583d824b7f7 100644 (file)
@@ -492,7 +492,7 @@ err_mem:
        return err;
 }
 
-static int __devexit timbuart_remove(struct platform_device *dev)
+static int timbuart_remove(struct platform_device *dev)
 {
        struct timbuart_port *uart = platform_get_drvdata(dev);
 
index 2d20b012b4427b93f86f28b36a2407499d23f959..89eee43c4e2d9defc6a628098b98c12c9fee5115 100644 (file)
@@ -542,7 +542,7 @@ static int ulite_assign(struct device *dev, int id, u32 base, int irq)
  *
  * @dev: pointer to device structure
  */
-static int __devexit ulite_release(struct device *dev)
+static int ulite_release(struct device *dev)
 {
        struct uart_port *port = dev_get_drvdata(dev);
        int rc = 0;
@@ -593,7 +593,7 @@ static int ulite_probe(struct platform_device *pdev)
        return ulite_assign(&pdev->dev, id, res->start, res2->start);
 }
 
-static int __devexit ulite_remove(struct platform_device *pdev)
+static int ulite_remove(struct platform_device *pdev)
 {
        return ulite_release(&pdev->dev);
 }
index c046c995534ad4d7062540a26595c3e772c8e726..62ee0166bc65e3bab5316f2c014cfd42de27341e 100644 (file)
@@ -901,7 +901,7 @@ static int siu_probe(struct platform_device *dev)
        return 0;
 }
 
-static int __devexit siu_remove(struct platform_device *dev)
+static int siu_remove(struct platform_device *dev)
 {
        struct uart_port *port;
        int i;
index 80530c7d0025cf2f21dd2d04f58c368a116743e4..8fd181436a6ba246e2247c5be871ac7f3c71c760 100644 (file)
@@ -634,7 +634,7 @@ err:
        return ret;
 }
 
-static int __devexit vt8500_serial_remove(struct platform_device *pdev)
+static int vt8500_serial_remove(struct platform_device *pdev)
 {
        struct vt8500_port *vt8500_port = platform_get_drvdata(pdev);
 
index 61fa71433a0e9725586daa645f88da90d284c740..9ab910370c566942fc7513ed38635f0171c47fcd 100644 (file)
@@ -997,7 +997,7 @@ static int xuartps_probe(struct platform_device *pdev)
  *
  * Returns 0 on success, negative error otherwise
  **/
-static int __devexit xuartps_remove(struct platform_device *pdev)
+static int xuartps_remove(struct platform_device *pdev)
 {
        struct uart_port *port = dev_get_drvdata(&pdev->dev);
        int rc = 0;
index 4798dd5c55ddaff1c4bd3fa5837fbd08c8b30102..9e071f6985f690a0c6638481327a9e8af606d8ab 100644 (file)
@@ -8117,7 +8117,7 @@ static int synclink_init_one (struct pci_dev *dev,
        return 0;
 }
 
-static void __devexit synclink_remove_one (struct pci_dev *dev)
+static void synclink_remove_one (struct pci_dev *dev)
 {
 }
 
index a84c4089f56a36036a2286398ffea31dda1789f2..aba1e59f4a88c711950a94059a476a6da44c9f48 100644 (file)
@@ -3710,7 +3710,7 @@ static int init_one(struct pci_dev *dev,
        return 0;
 }
 
-static void __devexit remove_one(struct pci_dev *dev)
+static void remove_one(struct pci_dev *dev)
 {
 }
 
index d301110b4d1ae6cc7701fba492a93061382034a1..fd43fb6f7ceeba89376dcdf4a21fae54fdac6bb4 100644 (file)
@@ -5606,6 +5606,6 @@ static int synclinkmp_init_one (struct pci_dev *dev,
        return 0;
 }
 
-static void __devexit synclinkmp_remove_one (struct pci_dev *dev)
+static void synclinkmp_remove_one (struct pci_dev *dev)
 {
 }