char: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:26 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:55:19 +0000 (12:55 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: David Airlie <airlied@linux.ie>
Cc: Olof Johansson <olof@lixom.net>
Cc: Mattia Dongili <malattia@linux.it>
Cc: Kent Yoder <key@linux.vnet.ibm.com>
Cc: Rajiv Andrade <mail@srajiv.net>
Cc: Marcel Selhorst <tpmdd@selhorst.net>
Cc: Sirrix AG <tpmdd@sirrix.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: openipmi-developer@lists.sourceforge.net
Cc: platform-driver-x86@vger.kernel.org
Cc: tpmdd-devel@lists.sourceforge.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 files changed:
drivers/char/agp/ali-agp.c
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/amd64-agp.c
drivers/char/agp/ati-agp.c
drivers/char/agp/efficeon-agp.c
drivers/char/agp/i460-agp.c
drivers/char/agp/intel-agp.c
drivers/char/agp/nvidia-agp.c
drivers/char/agp/sgi-agp.c
drivers/char/agp/sis-agp.c
drivers/char/agp/sworks-agp.c
drivers/char/agp/uninorth-agp.c
drivers/char/agp/via-agp.c
drivers/char/hw_random/atmel-rng.c
drivers/char/hw_random/bcm63xx-rng.c
drivers/char/hw_random/exynos-rng.c
drivers/char/hw_random/n2-drv.c
drivers/char/hw_random/pasemi-rng.c
drivers/char/hw_random/picoxcell-rng.c
drivers/char/hw_random/ppc4xx-rng.c
drivers/char/hw_random/timeriomem-rng.c
drivers/char/hw_random/virtio-rng.c
drivers/char/ipmi/ipmi_si_intf.c
drivers/char/sonypi.c
drivers/char/tb0219.c
drivers/char/tpm/tpm_i2c_infineon.c
drivers/char/tpm/tpm_ibmvtpm.c
drivers/char/tpm/tpm_infineon.c
drivers/char/tpm/tpm_tis.c
drivers/char/xilinx_hwicap/xilinx_hwicap.c

index 9c022df134af33c0b223c63487a782c194350aa2..478493543b32391a8f520c84c223851c50304cfd 100644 (file)
@@ -374,7 +374,7 @@ found:
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_ali_remove(struct pci_dev *pdev)
+static void agp_ali_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index 3c7a2653f1614c9e27d1938dfdc8fe5b4d22238b..1b2101160e98ce9550c7ad833b0a5f25e08b6259 100644 (file)
@@ -480,7 +480,7 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_amdk7_remove(struct pci_dev *pdev)
+static void agp_amdk7_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index 444f8b6ab41104003d94e7d510c3f89af02ecfce..061d46209b1a97422449cb4d9d1b65abf3437277 100644 (file)
@@ -579,7 +579,7 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,
        return 0;
 }
 
-static void __devexit agp_amd64_remove(struct pci_dev *pdev)
+static void agp_amd64_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index d1c4c2340713ac1778178fb3b285b7986859c77f..ed0433576e74e8cde3ce8caff0919bb6e704b58d 100644 (file)
@@ -533,7 +533,7 @@ found:
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_ati_remove(struct pci_dev *pdev)
+static void agp_ati_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index d607f53d8afcc7b3594c2629ab887b4ec5643b72..55f3e33a309fbc03f191ca640fa309dc6b798fa8 100644 (file)
@@ -407,7 +407,7 @@ static int __devinit agp_efficeon_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_efficeon_remove(struct pci_dev *pdev)
+static void agp_efficeon_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index 75b763cb3ea1cb700ff5eab33b23fdc40ec5072d..d328b662e50da33f4c1ed57c10257a55033319af 100644 (file)
@@ -611,7 +611,7 @@ static int __devinit agp_intel_i460_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_intel_i460_remove(struct pci_dev *pdev)
+static void agp_intel_i460_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index b130df0a195820af4e9725d0237be9f59c5b7d3f..f3a8f52b5a00eabebc4f6d338155c7c92c591530 100644 (file)
@@ -819,7 +819,7 @@ found_gmch:
        return err;
 }
 
-static void __devexit agp_intel_remove(struct pci_dev *pdev)
+static void agp_intel_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index b9734a978186382fb624f56b73ed5db02a3e7e3e..66e0868000f4fb1441e80ea5176407941bf21a8d 100644 (file)
@@ -388,7 +388,7 @@ static int __devinit agp_nvidia_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_nvidia_remove(struct pci_dev *pdev)
+static void agp_nvidia_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index 3a5af2f9b0152ad78d40e263cdf38d9276b7744b..a18791d7718a9d1bcc3e5512b161275c481e0b15 100644 (file)
@@ -327,7 +327,7 @@ static int __devinit agp_sgi_init(void)
        return 0;
 }
 
-static void __devexit agp_sgi_cleanup(void)
+static void agp_sgi_cleanup(void)
 {
        kfree(sgi_tioca_agp_bridges);
        sgi_tioca_agp_bridges = NULL;
index c93c9e5ee2c23340d014498d27b87e4fe0512ef7..93d1d31f9d0cf2f7a7811c6994aff22bc5dec9f5 100644 (file)
@@ -211,7 +211,7 @@ static int __devinit agp_sis_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_sis_remove(struct pci_dev *pdev)
+static void agp_sis_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index f02f9b07fd4ca71ff6db710f85efb580de8977bb..26020fb8d7a992b3daae19b5bf8b72922bee698a 100644 (file)
@@ -518,7 +518,7 @@ static int __devinit agp_serverworks_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_serverworks_remove(struct pci_dev *pdev)
+static void agp_serverworks_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index af02da4da9e3f8ed55182c95033d79b41f9a6e9d..011967ad3eedfb7a447261ed0c1e9150ab8b8c12 100644 (file)
@@ -663,7 +663,7 @@ static int __devinit agp_uninorth_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_uninorth_remove(struct pci_dev *pdev)
+static void agp_uninorth_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index 97706834bae109abb03130e5162692de3d85458b..6818595bb863d6f3e8f1a8c2d10d21718fdcc791 100644 (file)
@@ -485,7 +485,7 @@ static int __devinit agp_via_probe(struct pci_dev *pdev,
        return agp_add_bridge(bridge);
 }
 
-static void __devexit agp_via_remove(struct pci_dev *pdev)
+static void agp_via_remove(struct pci_dev *pdev)
 {
        struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
 
index 731c9046cf7bf0dbd06d26be41ea1e1b25b87ac8..5a4a6e70478b469418ad5d5da36eebc640de0f2a 100644 (file)
@@ -98,7 +98,7 @@ err_enable:
        return ret;
 }
 
-static int __devexit atmel_trng_remove(struct platform_device *pdev)
+static int atmel_trng_remove(struct platform_device *pdev)
 {
        struct atmel_trng *trng = platform_get_drvdata(pdev);
 
index aec6a4277caafe023be08194e0f2741a3e797f01..ae95bcb18d4a8390d9c0cdd99047ddabb982c097 100644 (file)
@@ -145,7 +145,7 @@ out:
        return ret;
 }
 
-static int __devexit bcm63xx_rng_remove(struct platform_device *pdev)
+static int bcm63xx_rng_remove(struct platform_device *pdev)
 {
        struct hwrng *rng = platform_get_drvdata(pdev);
        struct bcm63xx_rng_priv *priv = to_rng_priv(rng);
index 232ba9ce579cf69ea71844ec3d1bd199d4459852..bdc852ea76323772743fe4972b5bc532dbc23144 100644 (file)
@@ -134,7 +134,7 @@ static int __devinit exynos_rng_probe(struct platform_device *pdev)
        return hwrng_register(&exynos_rng->rng);
 }
 
-static int __devexit exynos_rng_remove(struct platform_device *pdev)
+static int exynos_rng_remove(struct platform_device *pdev)
 {
        struct exynos_rng *exynos_rng = platform_get_drvdata(pdev);
 
index fd57d8a9faff4eec8f51bec22b1baf0af3ac0c27..d68a72a08b5128d9ac175b4338c6bb2aaccd018e 100644 (file)
@@ -719,7 +719,7 @@ out:
        return err;
 }
 
-static int __devexit n2rng_remove(struct platform_device *op)
+static int n2rng_remove(struct platform_device *op)
 {
        struct n2rng *np = dev_get_drvdata(&op->dev);
 
index 3a632673aed5e10b2b574a14f24f6c1637e5ba1f..a1f70407cc9e03070cd627230726b4246602e986 100644 (file)
@@ -122,7 +122,7 @@ static int __devinit rng_probe(struct platform_device *ofdev)
        return err;
 }
 
-static int __devexit rng_remove(struct platform_device *dev)
+static int rng_remove(struct platform_device *dev)
 {
        void __iomem *rng_regs = (void __iomem *)pasemi_rng.priv;
 
index 97bd891422c77511c1c506518bd55584457b76d4..d4b24c1dd48e37e4077ca01b56bf191b35bc6990 100644 (file)
@@ -151,7 +151,7 @@ err_enable:
        return ret;
 }
 
-static int __devexit picoxcell_trng_remove(struct platform_device *pdev)
+static int picoxcell_trng_remove(struct platform_device *pdev)
 {
        hwrng_unregister(&picoxcell_trng);
        clk_disable(rng_clk);
index c51762c13031928d57e307dff56f31cd638aad73..af6506a69cd9473343538d48bf17cb32a9877e92 100644 (file)
@@ -111,7 +111,7 @@ static int __devinit ppc4xx_rng_probe(struct platform_device *dev)
        return err;
 }
 
-static int __devexit ppc4xx_rng_remove(struct platform_device *dev)
+static int ppc4xx_rng_remove(struct platform_device *dev)
 {
        void __iomem *rng_regs = (void __iomem *) ppc4xx_rng.priv;
 
index f1a1618db1fb1e39912d9c59bb7901fddef7f0fd..3a1abc9417e4e8fd3e86628f75d4e3d71521fea7 100644 (file)
@@ -130,7 +130,7 @@ failed:
        return ret;
 }
 
-static int __devexit timeriomem_rng_remove(struct platform_device *pdev)
+static int timeriomem_rng_remove(struct platform_device *pdev)
 {
        del_timer_sync(&timeriomem_rng_timer);
        hwrng_unregister(&timeriomem_rng_ops);
index 5708299507d0e5b59ad401d495f1b0baa80dbe65..621f595f1a98b55b066d6e77a710e7c31a6d91c6 100644 (file)
@@ -119,7 +119,7 @@ static int virtrng_probe(struct virtio_device *vdev)
        return probe_common(vdev);
 }
 
-static void __devexit virtrng_remove(struct virtio_device *vdev)
+static void virtrng_remove(struct virtio_device *vdev)
 {
        remove_common(vdev);
 }
index e55a7ad8ef1896229298cf576602018750410db9..20ab5b3a89150954cab2ec442b4f8b4ce93234a9 100644 (file)
@@ -2228,7 +2228,7 @@ err_free:
        return -EINVAL;
 }
 
-static void __devexit ipmi_pnp_remove(struct pnp_dev *dev)
+static void ipmi_pnp_remove(struct pnp_dev *dev)
 {
        struct smi_info *info = pnp_get_drvdata(dev);
 
@@ -2529,7 +2529,7 @@ static int ipmi_pci_probe(struct pci_dev *pdev,
        return 0;
 }
 
-static void __devexit ipmi_pci_remove(struct pci_dev *pdev)
+static void ipmi_pci_remove(struct pci_dev *pdev)
 {
        struct smi_info *info = pci_get_drvdata(pdev);
        cleanup_one_si(info);
@@ -2635,7 +2635,7 @@ static int ipmi_probe(struct platform_device *dev)
        return 0;
 }
 
-static int __devexit ipmi_remove(struct platform_device *dev)
+static int ipmi_remove(struct platform_device *dev)
 {
 #ifdef CONFIG_OF
        cleanup_one_si(dev_get_drvdata(&dev->dev));
index 861efa48c69666690a7bd264c20e1baf9112bd9e..d780295a147371533e5ad936d8c10e86a85fac57 100644 (file)
@@ -1428,7 +1428,7 @@ static int sonypi_probe(struct platform_device *dev)
        return error;
 }
 
-static int __devexit sonypi_remove(struct platform_device *dev)
+static int sonypi_remove(struct platform_device *dev)
 {
        sonypi_disable();
 
index 76e3aea27ff7c18347e466ae2598804a14860912..34c63f85104d30cee29cc64196c2904df8735787 100644 (file)
@@ -318,7 +318,7 @@ static int tb0219_probe(struct platform_device *dev)
        return 0;
 }
 
-static int __devexit tb0219_remove(struct platform_device *dev)
+static int tb0219_remove(struct platform_device *dev)
 {
        _machine_restart = old_machine_restart;
 
index 5a831aec9d4b97fc46737170991bc95b3ca8e7e5..78983b77caf4711a62c53a9a9b9201a692f3a967 100644 (file)
@@ -656,7 +656,7 @@ static int __devinit tpm_tis_i2c_probe(struct i2c_client *client,
        return rc;
 }
 
-static int __devexit tpm_tis_i2c_remove(struct i2c_client *client)
+static int tpm_tis_i2c_remove(struct i2c_client *client)
 {
        struct tpm_chip *chip = tpm_dev.chip;
        release_locality(chip, chip->vendor.locality, 1);
index 3b032dbb9de0a0231551750f995e5d50f60017b9..5a72f39d962065b3d003673cd1d357f072d1a011 100644 (file)
@@ -267,7 +267,7 @@ static int ibmvtpm_crq_send_init(struct ibmvtpm_dev *ibmvtpm)
  * Return value:
  *     0
  */
-static int __devexit tpm_ibmvtpm_remove(struct vio_dev *vdev)
+static int tpm_ibmvtpm_remove(struct vio_dev *vdev)
 {
        struct ibmvtpm_dev *ibmvtpm = ibmvtpm_get_data(&vdev->dev);
        int rc = 0;
index 3251a44e8ceb5f68fa1e68f275095dbb48c925e5..4dd5f8acecdaf994b5d220f6e5d910a54a96557c 100644 (file)
@@ -594,7 +594,7 @@ err_last:
        return rc;
 }
 
-static __devexit void tpm_inf_pnp_remove(struct pnp_dev *dev)
+static void tpm_inf_pnp_remove(struct pnp_dev *dev)
 {
        struct tpm_chip *chip = pnp_get_drvdata(dev);
 
index 25fee274bdbdbbb6548df49e3ede9dfb3cd8283e..a599cc267fccf1dfba8ffe0d6119bc9b77b57a41 100644 (file)
@@ -783,7 +783,7 @@ static struct pnp_device_id tpm_pnp_tbl[] = {
 };
 MODULE_DEVICE_TABLE(pnp, tpm_pnp_tbl);
 
-static __devexit void tpm_tis_pnp_remove(struct pnp_dev *dev)
+static void tpm_tis_pnp_remove(struct pnp_dev *dev)
 {
        struct tpm_chip *chip = pnp_get_drvdata(dev);
 
index d10085f9a0de54a788d46700816917dbf42a53fc..5224da5202d3497589d4d74df171cde3efd7ba67 100644 (file)
@@ -717,7 +717,7 @@ static struct hwicap_driver_config fifo_icap_config = {
        .reset = fifo_icap_reset,
 };
 
-static int __devexit hwicap_remove(struct device *dev)
+static int hwicap_remove(struct device *dev)
 {
        struct hwicap_drvdata *drvdata;
 
@@ -822,7 +822,7 @@ static int hwicap_drv_probe(struct platform_device *pdev)
                        &buffer_icap_config, regs);
 }
 
-static int __devexit hwicap_drv_remove(struct platform_device *pdev)
+static int hwicap_drv_remove(struct platform_device *pdev)
 {
        return hwicap_remove(&pdev->dev);
 }