i2c: remove CONFIG_HOTPLUG ifdefs
Subsystems (384)
PATCH 422/493 rtc: remove use of __devexit
In reply to Bill PembertonQuoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/9522c479/attachment.sig>
PATCH 425/493 scsi: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/scsi/NCR_D700.c | 4 ++-- drivers/scsi/a100u2w.c | 2 +- drivers/scsi/a2091.c | 2 +- drivers/scsi/aacraid/linit.c | 2 +- drivers/scsi/advansys.c | 6 +++--- drivers/scsi/aha1740.c | 2 +- drivers/scsi/aic94xx/aic94xx_init.c | 2 +- drivers/scsi/arm/acornscsi.c | 2 +- drivers/scsi/arm/arxescsi.c | 2 +- drivers/scsi/arm/cumana_1.c | 2 +- drivers/scsi/arm/cumana_2.c | 2 +- drivers/scsi/arm/eesox.c | 2 +- drivers/scsi/arm/oak.c | 2 +- drivers/scsi/arm/powertec.c | 2 +- drivers/scsi/bvme6000_scsi.c | 2 +- drivers/scsi/dc395x.c | 2 +- drivers/scsi/dmx3191d.c | 2 +- drivers/scsi/fnic/fnic_main.c | 2 +- drivers/scsi/gdth.c | 2 +- drivers/scsi/gvp11.c | 2 +- drivers/scsi/hpsa.c | 4 ++-- drivers/scsi/ipr.c | 2 +- drivers/scsi/ips.c | 4 ++-- drivers/scsi/isci/init.c | 2 +- drivers/scsi/jazz_esp.c | 2 +- drivers/scsi/lpfc/lpfc_init.c | 6 +++--- drivers/scsi/mac_esp.c | 2 +- drivers/scsi/megaraid.c | 2 +- drivers/scsi/megaraid/megaraid_sas_base.c | 2 +- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 2 +- drivers/scsi/mvme16x_scsi.c | 2 +- drivers/scsi/mvsas/mv_init.c | 2 +- drivers/scsi/nsp32.c | 4 ++-- drivers/scsi/pm8001/pm8001_init.c | 2 +- drivers/scsi/pmcraid.c | 2 +- drivers/scsi/qla1280.c | 2 +- drivers/scsi/qla4xxx/ql4_os.c | 2 +- drivers/scsi/qlogicpti.c | 4 ++-- drivers/scsi/sim710.c | 2 +- drivers/scsi/sun3x_esp.c | 2 +- drivers/scsi/sun_esp.c | 2 +- drivers/scsi/tmscsim.c | 2 +- drivers/scsi/virtio_scsi.c | 2 +- drivers/scsi/zorro7xx.c | 2 +- 44 files changed, 53 insertions(+), 53 deletions(-)
drivers/scsi/NCR_D700.c +2 -2
@@ -349,7 +349,7 @@ NCR_D700_probe(struct device *dev)return 0 ; } -static void __devexit +static void NCR_D700_remove_one (struct Scsi_Host *host) {scsi_remove_host (host);
@@ -359,7 +359,7 @@ NCR_D700_remove_one(struct Scsi_Host *host)release_region (host->base,64 ); } -static int __devexit +static int NCR_D700_remove (struct device *dev) {struct NCR_D700_private *p =dev_get_drvdata (dev);
drivers/scsi/a100u2w.c +1 -1
@@ -1197,7 +1197,7 @@ out:return error; } -static void __devexit inia100_remove_one(struct pci_dev *pdev) +static void inia100_remove_one (struct pci_dev *pdev) {struct Scsi_Host *shost =pci_get_drvdata (pdev);struct orc_host *host = (struct orc_host *)shost->hostdata;
drivers/scsi/a2091.c +1 -1
@@ -239,7 +239,7 @@ fail_alloc:return error; } -static void __devexit a2091_remove(struct zorro_dev *z) +static void a2091_remove (struct zorro_dev *z) {struct Scsi_Host *instance =zorro_get_drvdata (z);struct a2091_hostdata *hdata =shost_priv (instance);
drivers/scsi/aacraid/linit.c +1 -1
@@ -1308,7 +1308,7 @@ static void aac_shutdown(struct pci_dev *dev)__aac_shutdown ((struct aac_dev *)shost->hostdata); } -static void __devexit aac_remove_one(struct pci_dev *pdev) +static void aac_remove_one (struct pci_dev *pdev) {struct Scsi_Host *shost =pci_get_drvdata (pdev);struct aac_dev *aac = (struct aac_dev *)shost->hostdata;
drivers/scsi/advansys.c +3 -3
@@ -12477,7 +12477,7 @@ static int advansys_isa_probe(struct device *dev, unsigned int id)return err; } -static int __devexit advansys_isa_remove(struct device *dev, unsigned int id) +static int advansys_isa_remove (struct device *dev,unsigned int id) {int ioport = _asc_def_iop_base[id];advansys_release (dev_get_drvdata (dev));
@@ -12677,7 +12677,7 @@ static int advansys_eisa_probe(struct device *dev)return err; } -static __devexit int advansys_eisa_remove(struct device *dev) +static int advansys_eisa_remove (struct device *dev) {int i;struct eisa_scsi_data *data =dev_get_drvdata (dev);
@@ -12791,7 +12791,7 @@ advansys_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)return err; } -static void __devexit advansys_pci_remove(struct pci_dev *pdev) +static void advansys_pci_remove (struct pci_dev *pdev) {advansys_release (pci_get_drvdata (pdev));pci_release_regions (pdev);
drivers/scsi/aha1740.c +1 -1
@@ -646,7 +646,7 @@ static int aha1740_probe (struct device *dev)return -ENODEV ; } -static __devexit int aha1740_remove (struct device *dev) +static int aha1740_remove (struct device *dev) {struct Scsi_Host *shpnt =dev_get_drvdata (dev);struct aha1740_hostdata *host =HOSTDATA (shpnt);
drivers/scsi/aic94xx/aic94xx_init.c +1 -1
@@ -924,7 +924,7 @@ static void asd_turn_off_leds(struct asd_ha_struct *asd_ha) } } -static void __devexit asd_pci_remove(struct pci_dev *dev) +static void asd_pci_remove (struct pci_dev *dev) {struct asd_ha_struct *asd_ha =pci_get_drvdata (dev);
drivers/scsi/arm/acornscsi.c +1 -1
@@ -3032,7 +3032,7 @@ acornscsi_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit acornscsi_remove(struct expansion_card *ec) +static void acornscsi_remove (struct expansion_card *ec) {struct Scsi_Host *host =ecard_get_drvdata (ec);AS_Host *ashost = (AS_Host *)host->hostdata;
drivers/scsi/arm/arxescsi.c +1 -1
@@ -340,7 +340,7 @@ arxescsi_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit arxescsi_remove(struct expansion_card *ec) +static void arxescsi_remove (struct expansion_card *ec) {struct Scsi_Host *host =ecard_get_drvdata (ec);
drivers/scsi/arm/cumana_1.c +1 -1
@@ -298,7 +298,7 @@ cumanascsi1_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit cumanascsi1_remove(struct expansion_card *ec) +static void cumanascsi1_remove (struct expansion_card *ec) {struct Scsi_Host *host =ecard_get_drvdata (ec);
drivers/scsi/arm/cumana_2.c +1 -1
@@ -495,7 +495,7 @@ cumanascsi2_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit cumanascsi2_remove(struct expansion_card *ec) +static void cumanascsi2_remove (struct expansion_card *ec) {struct Scsi_Host *host =ecard_get_drvdata (ec);struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata;
drivers/scsi/arm/eesox.c +1 -1
@@ -617,7 +617,7 @@ eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit eesoxscsi_remove(struct expansion_card *ec) +static void eesoxscsi_remove (struct expansion_card *ec) {struct Scsi_Host *host =ecard_get_drvdata (ec);struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata;
drivers/scsi/arm/oak.c +1 -1
@@ -182,7 +182,7 @@ oakscsi_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit oakscsi_remove(struct expansion_card *ec) +static void oakscsi_remove (struct expansion_card *ec) {struct Scsi_Host *host =ecard_get_drvdata (ec);
drivers/scsi/arm/powertec.c +1 -1
@@ -409,7 +409,7 @@ powertecscsi_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit powertecscsi_remove(struct expansion_card *ec) +static void powertecscsi_remove (struct expansion_card *ec) {struct Scsi_Host *host =ecard_get_drvdata (ec);struct powertec_info *info = (struct powertec_info *)host->hostdata;
drivers/scsi/bvme6000_scsi.c +1 -1
@@ -88,7 +88,7 @@ bvme6000_probe(struct platform_device *dev)return -ENODEV ; } -static __devexit int +static int bvme6000_device_remove (struct platform_device *dev) {struct Scsi_Host *host =platform_get_drvdata (dev);
drivers/scsi/dc395x.c +1 -1
@@ -4861,7 +4861,7 @@ fail:* * @dev: The PCI device to initialize. **/ -static void __devexit dc395x_remove_one(struct pci_dev *dev) +static void dc395x_remove_one (struct pci_dev *dev) {struct Scsi_Host *scsi_host =pci_get_drvdata (dev);struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)(scsi_host->hostdata);
drivers/scsi/dmx3191d.c +1 -1
@@ -123,7 +123,7 @@ static int dmx3191d_probe_one(struct pci_dev *pdev,return error; } -static void __devexit dmx3191d_remove_one(struct pci_dev *pdev) +static void dmx3191d_remove_one (struct pci_dev *pdev) {struct Scsi_Host *shost =pci_get_drvdata (pdev);
drivers/scsi/fnic/fnic_main.c +1 -1
@@ -774,7 +774,7 @@ err_out:return err; } -static void __devexit fnic_remove(struct pci_dev *pdev) +static void fnic_remove (struct pci_dev *pdev) {struct fnic *fnic =pci_get_drvdata (pdev);struct fc_lport *lp = fnic->lport;
drivers/scsi/gdth.c +1 -1
@@ -590,7 +590,7 @@ static struct pci_driver gdth_pci_driver = { .remove = gdth_pci_remove_one, }; -static void __devexit gdth_pci_remove_one(struct pci_dev *pdev) +static void gdth_pci_remove_one (struct pci_dev *pdev) {gdth_ha_str *ha =pci_get_drvdata (pdev);
drivers/scsi/gvp11.c +1 -1
@@ -380,7 +380,7 @@ fail_check_or_alloc:return error; } -static void __devexit gvp11_remove(struct zorro_dev *z) +static void gvp11_remove (struct zorro_dev *z) {struct Scsi_Host *instance =zorro_get_drvdata (z);struct gvp11_hostdata *hdata =shost_priv (instance);
drivers/scsi/hpsa.c +2 -2
@@ -4910,7 +4910,7 @@ static void hpsa_shutdown(struct pci_dev *pdev)hpsa_free_irqs_and_disable_msix (h); } -static void __devexit hpsa_free_device_info(struct ctlr_info *h) +static void hpsa_free_device_info (struct ctlr_info *h) {int i;
@@ -4918,7 +4918,7 @@ static void __devexit hpsa_free_device_info(struct ctlr_info *h)kfree (h->dev[i]); } -static void __devexit hpsa_remove_one(struct pci_dev *pdev) +static void hpsa_remove_one (struct pci_dev *pdev) {struct ctlr_info *h;
drivers/scsi/ipr.c +1 -1
@@ -9112,7 +9112,7 @@ static void __ipr_remove(struct pci_dev *pdev)* Return value: * none **/ -static void __devexit ipr_remove(struct pci_dev *pdev) +static void ipr_remove (struct pci_dev *pdev) {struct ipr_ioa_cfg *ioa_cfg =pci_get_drvdata (pdev);
drivers/scsi/ips.c +2 -2
@@ -390,7 +390,7 @@ MODULE_DEVICE_TABLE( pci, ips_pci_table );static char ips_hot_plug_name[] ="ips" ;static int ips_insert_device (struct pci_dev *pci_dev,const struct pci_device_id *ent); -static void __devexit ips_remove_device(struct pci_dev *pci_dev); +static void ips_remove_device (struct pci_dev *pci_dev);static struct pci_driver ips_pci_driver = { .name = ips_hot_plug_name,
@@ -6837,7 +6837,7 @@ err_out_sh:/* Routine Description: */ /* Remove one Adapter ( Hot Plugging ) */ /*---------------------------------------------------------------------------*/ -static void __devexit +static void ips_remove_device (struct pci_dev *pci_dev) {struct Scsi_Host *sh =pci_get_drvdata (pci_dev);
drivers/scsi/isci/init.c +1 -1
@@ -709,7 +709,7 @@ static int isci_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)return err; } -static void __devexit isci_pci_remove(struct pci_dev *pdev) +static void isci_pci_remove (struct pci_dev *pdev) {struct isci_host *ihost;int i;
drivers/scsi/jazz_esp.c +1 -1
@@ -201,7 +201,7 @@ fail:return err; } -static int __devexit esp_jazz_remove(struct platform_device *dev) +static int esp_jazz_remove (struct platform_device *dev) {struct esp *esp =dev_get_drvdata (&dev->dev);unsigned int irq = esp->host->irq;
drivers/scsi/lpfc/lpfc_init.c +3 -3
@@ -8980,7 +8980,7 @@ out_free_phba:* removed from PCI bus, it performs all the necessary cleanup for the HBA * device to be removed from the PCI subsystem properly. **/ -static void __devexit +static void lpfc_pci_remove_one_s3 (struct pci_dev *pdev) {struct Scsi_Host *shost =pci_get_drvdata (pdev);
@@ -9750,7 +9750,7 @@ out_free_phba:* removed from PCI bus, it performs all the necessary cleanup for the HBA * device to be removed from the PCI subsystem properly. **/ -static void __devexit +static void lpfc_pci_remove_one_s4 (struct pci_dev *pdev) {struct Scsi_Host *shost =pci_get_drvdata (pdev);
@@ -10204,7 +10204,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid)* remove routine, which will perform all the necessary cleanup for the * device to be removed from the PCI subsystem properly. **/ -static void __devexit +static void lpfc_pci_remove_one (struct pci_dev *pdev) {struct Scsi_Host *shost =pci_get_drvdata (pdev);
drivers/scsi/mac_esp.c +1 -1
@@ -591,7 +591,7 @@ fail:return err; } -static int __devexit esp_mac_remove(struct platform_device *dev) +static int esp_mac_remove (struct platform_device *dev) {struct mac_esp_priv *mep =platform_get_drvdata (dev);struct esp *esp = mep->esp;
drivers/scsi/megaraid.c +1 -1
@@ -4914,7 +4914,7 @@ __megaraid_shutdown(adapter_t *adapter)mdelay (1000 ); } -static void __devexit +static void megaraid_remove_one (struct pci_dev *pdev) {struct Scsi_Host *host =pci_get_drvdata (pdev);
drivers/scsi/megaraid/megaraid_sas_base.c +1 -1
@@ -4526,7 +4526,7 @@ fail_ready_state:* megasas_detach_one - PCI hot"un"plug entry point * @pdev: PCI device structure */ -static void __devexit megasas_detach_one(struct pci_dev *pdev) +static void megasas_detach_one (struct pci_dev *pdev) {int i;struct Scsi_Host *host;
drivers/scsi/mpt2sas/mpt2sas_scsih.c +1 -1
@@ -7686,7 +7686,7 @@ _scsih_shutdown(struct pci_dev *pdev)* Routine called when unloading the driver. * Return nothing. */ -static void __devexit +static void _scsih_remove (struct pci_dev *pdev) {struct Scsi_Host *shost =pci_get_drvdata (pdev);
drivers/scsi/mvme16x_scsi.c +1 -1
@@ -103,7 +103,7 @@ mvme16x_probe(struct platform_device *dev)return -ENODEV ; } -static __devexit int +static int mvme16x_device_remove (struct platform_device *dev) {struct Scsi_Host *host =platform_get_drvdata (dev);
drivers/scsi/mvsas/mv_init.c +1 -1
@@ -645,7 +645,7 @@ err_out_enable:return rc; } -static void __devexit mvs_pci_remove(struct pci_dev *pdev) +static void mvs_pci_remove (struct pci_dev *pdev) {unsigned short core_nr, i =0 ;struct sas_ha_struct *sha =pci_get_drvdata (pdev);
drivers/scsi/nsp32.c +2 -2
@@ -187,7 +187,7 @@ static nsp32_sync_table nsp32_sync_table_pci[] = {*/ /* module entry point */ static int nsp32_probe (struct pci_dev *,const struct pci_device_id *); -static void __devexit nsp32_remove(struct pci_dev *); +static void nsp32_remove (struct pci_dev *);static int __init init_nsp32 (void ); static void __exit exit_nsp32 (void);
@@ -3418,7 +3418,7 @@ static int nsp32_probe(struct pci_dev *pdev, const struct pci_device_id *id)return ret; } -static void __devexit nsp32_remove(struct pci_dev *pdev) +static void nsp32_remove (struct pci_dev *pdev) {struct Scsi_Host *host =pci_get_drvdata (pdev);
drivers/scsi/pm8001/pm8001_init.c +1 -1
@@ -706,7 +706,7 @@ err_out_enable:return rc; } -static void __devexit pm8001_pci_remove(struct pci_dev *pdev) +static void pm8001_pci_remove (struct pci_dev *pdev) {struct sas_ha_struct *sha =pci_get_drvdata (pdev);struct pm8001_hba_info *pm8001_ha;
drivers/scsi/pmcraid.c +1 -1
@@ -5442,7 +5442,7 @@ static void pmcraid_release_chrdev(struct pmcraid_instance *pinstance)* Return value * none */ -static void __devexit pmcraid_remove(struct pci_dev *pdev) +static void pmcraid_remove (struct pci_dev *pdev) {struct pmcraid_instance *pinstance =pci_get_drvdata (pdev);
drivers/scsi/qla1280.c +1 -1
@@ -4399,7 +4399,7 @@ qla1280_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) } -static void __devexit +static void qla1280_remove_one (struct pci_dev *pdev) {struct Scsi_Host *host =pci_get_drvdata (pdev);
drivers/scsi/qla4xxx/ql4_os.c +1 -1
@@ -5464,7 +5464,7 @@ static void qla4xxx_destroy_fw_ddb_session(struct scsi_qla_host *ha)* qla4xxx_remove_adapter - callback function to remove adapter. * @pci_dev: PCI device pointer **/ -static void __devexit qla4xxx_remove_adapter(struct pci_dev *pdev) +static void qla4xxx_remove_adapter (struct pci_dev *pdev) {struct scsi_qla_host *ha;
drivers/scsi/qlogicpti.c +2 -2
@@ -686,7 +686,7 @@ static void qpti_chain_add(struct qlogicpti *qpti)spin_unlock_irq (&qptichain_lock); } -static void __devexit qpti_chain_del(struct qlogicpti *qpti) +static void qpti_chain_del (struct qlogicpti *qpti) {spin_lock_irq (&qptichain_lock);if (qptichain == qpti) {
@@ -1402,7 +1402,7 @@ fail_unlink:return -ENODEV ; } -static int __devexit qpti_sbus_remove(struct platform_device *op) +static int qpti_sbus_remove (struct platform_device *op) {struct qlogicpti *qpti =dev_get_drvdata (&op->dev);
drivers/scsi/sim710.c +1 -1
@@ -153,7 +153,7 @@ sim710_probe_common(struct device *dev, unsigned long base_addr,return -ENODEV ; } -static __devexit int +static int sim710_device_remove (struct device *dev) {struct Scsi_Host *host =dev_get_drvdata (dev);
drivers/scsi/sun3x_esp.c +1 -1
@@ -268,7 +268,7 @@ fail:return err; } -static int __devexit esp_sun3x_remove(struct platform_device *dev) +static int esp_sun3x_remove (struct platform_device *dev) {struct esp *esp =dev_get_drvdata (&dev->dev);unsigned int irq = esp->host->irq;
drivers/scsi/sun_esp.c +1 -1
@@ -585,7 +585,7 @@ static int esp_sbus_probe(struct platform_device *op)return esp_sbus_probe_one (op, dma_of, hme); } -static int __devexit esp_sbus_remove(struct platform_device *op) +static int esp_sbus_remove (struct platform_device *op) {struct esp *esp =dev_get_drvdata (&op->dev);struct platform_device *dma_of = esp->dma;
drivers/scsi/tmscsim.c +1 -1
@@ -2532,7 +2532,7 @@ static int dc390_probe_one(struct pci_dev *pdev,* * @dev: The PCI device to remove. */ -static void __devexit dc390_remove_one(struct pci_dev *dev) +static void dc390_remove_one (struct pci_dev *dev) {struct Scsi_Host *scsi_host =pci_get_drvdata (dev);unsigned long iflags;
drivers/scsi/virtio_scsi.c +1 -1
@@ -731,7 +731,7 @@ virtscsi_init_failed:return err; } -static void __devexit virtscsi_remove(struct virtio_device *vdev) +static void virtscsi_remove (struct virtio_device *vdev) {struct Scsi_Host *shost =virtio_scsi_host (vdev);struct virtio_scsi *vscsi =shost_priv (shost);
drivers/scsi/zorro7xx.c +1 -1
@@ -150,7 +150,7 @@ static int zorro7xx_init_one(struct zorro_dev *z,return -ENODEV ; } -static __devexit void zorro7xx_remove_one(struct zorro_dev *z) +static void zorro7xx_remove_one (struct zorro_dev *z) {struct Scsi_Host *host =zorro_get_drvdata (z);struct NCR_700_Host_Parameters *hostdata =shost_priv (host);
Signature · 1 line
1.8.0
PATCH 425/493 scsi: remove use of __devexit
Quoted 4 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.drivers/scsi/tmscsim.c | 2 +-
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
PATCH 425/493 scsi: remove use of __devexit
2012/11/23 Guennadi Liakhovetski <[email protected]>:
Quoted 8 lines · Bill Pemberton
Quoted 5 lines
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.drivers/scsi/tmscsim.c | 2 +-
Regards,
-- gotom
Quoted 8 lines
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
PATCH 427/493 spi: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/spi/spi-altera.c | 2 +- drivers/spi/spi-ath79.c | 2 +- drivers/spi/spi-atmel.c | 2 +- drivers/spi/spi-bcm63xx.c | 2 +- drivers/spi/spi-bfin-sport.c | 2 +- drivers/spi/spi-bfin5xx.c | 2 +- drivers/spi/spi-coldfire-qspi.c | 2 +- drivers/spi/spi-davinci.c | 2 +- drivers/spi/spi-dw-mmio.c | 2 +- drivers/spi/spi-dw-pci.c | 2 +- drivers/spi/spi-dw.c | 2 +- drivers/spi/spi-ep93xx.c | 2 +- drivers/spi/spi-falcon.c | 2 +- drivers/spi/spi-fsl-espi.c | 2 +- drivers/spi/spi-fsl-lib.c | 2 +- drivers/spi/spi-fsl-spi.c | 4 ++-- drivers/spi/spi-gpio.c | 2 +- drivers/spi/spi-imx.c | 2 +- drivers/spi/spi-mpc512x-psc.c | 4 ++-- drivers/spi/spi-mpc52xx-psc.c | 2 +- drivers/spi/spi-mpc52xx.c | 2 +- drivers/spi/spi-mxs.c | 2 +- drivers/spi/spi-nuc900.c | 2 +- drivers/spi/spi-oc-tiny.c | 2 +- drivers/spi/spi-octeon.c | 2 +- drivers/spi/spi-omap2-mcspi.c | 2 +- drivers/spi/spi-pl022.c | 2 +- drivers/spi/spi-pxa2xx-pci.c | 2 +- drivers/spi/spi-rspi.c | 4 ++-- drivers/spi/spi-s3c24xx.c | 2 +- drivers/spi/spi-sh-hspi.c | 2 +- drivers/spi/spi-sh.c | 2 +- drivers/spi/spi-sirf.c | 2 +- drivers/spi/spi-stmp.c | 2 +- drivers/spi/spi-tegra20-sflash.c | 2 +- drivers/spi/spi-tegra20-slink.c | 2 +- drivers/spi/spi-ti-ssp.c | 2 +- drivers/spi/spi-tle62x0.c | 2 +- drivers/spi/spi-topcliff-pch.c | 4 ++-- drivers/spi/spi-xcomm.c | 2 +- drivers/spi/spi-xilinx.c | 2 +- drivers/spi/spidev.c | 2 +- 42 files changed, 46 insertions(+), 46 deletions(-)
drivers/spi/spi-altera.c +1 -1
@@ -290,7 +290,7 @@ exit:return err; } -static int __devexit altera_spi_remove(struct platform_device *dev) +static int altera_spi_remove (struct platform_device *dev) {struct altera_spi *hw =platform_get_drvdata (dev);struct spi_master *master = hw->bitbang.master;
drivers/spi/spi-ath79.c +1 -1
@@ -251,7 +251,7 @@ err_put_master:return ret; } -static __devexit int ath79_spi_remove(struct platform_device *pdev) +static int ath79_spi_remove (struct platform_device *pdev) {struct ath79_spi *sp =platform_get_drvdata (pdev);
drivers/spi/spi-atmel.c +1 -1
@@ -1003,7 +1003,7 @@ out_free:return ret; } -static int __devexit atmel_spi_remove(struct platform_device *pdev) +static int atmel_spi_remove (struct platform_device *pdev) {struct spi_master *master =platform_get_drvdata (pdev);struct atmel_spi *as =spi_master_get_devdata (master);
drivers/spi/spi-bcm63xx.c +1 -1
@@ -449,7 +449,7 @@ out:return ret; } -static int __devexit bcm63xx_spi_remove(struct platform_device *pdev) +static int bcm63xx_spi_remove (struct platform_device *pdev) {struct spi_master *master =spi_master_get (platform_get_drvdata (pdev));struct bcm63xx_spi *bs =spi_master_get_devdata (master);
drivers/spi/spi-bfin-sport.c +1 -1
@@ -863,7 +863,7 @@ bfin_sport_spi_probe(struct platform_device *pdev) }/* stop hardware and remove the driver */ -static int __devexit +static int bfin_sport_spi_remove (struct platform_device *pdev) {struct bfin_sport_spi_master_data *drv_data =platform_get_drvdata (pdev);
drivers/spi/spi-bfin5xx.c +1 -1
@@ -1387,7 +1387,7 @@ out_error_get_res: }/* stop hardware and remove the driver */ -static int __devexit bfin_spi_remove(struct platform_device *pdev) +static int bfin_spi_remove (struct platform_device *pdev) {struct bfin_spi_master_data *drv_data =platform_get_drvdata (pdev);int status =0 ;
drivers/spi/spi-coldfire-qspi.c +1 -1
@@ -515,7 +515,7 @@ fail0:return status; } -static int __devexit mcfqspi_remove(struct platform_device *pdev) +static int mcfqspi_remove (struct platform_device *pdev) {struct spi_master *master =platform_get_drvdata (pdev);struct mcfqspi *mcfqspi =spi_master_get_devdata (master);
drivers/spi/spi-davinci.c +1 -1
@@ -952,7 +952,7 @@ err:* It will also call spi_bitbang_stop to destroy the work queue which was * created by spi_bitbang_start. */ -static int __devexit davinci_spi_remove(struct platform_device *pdev) +static int davinci_spi_remove (struct platform_device *pdev) {struct davinci_spi *dspi;struct spi_master *master;
drivers/spi/spi-dw-mmio.c +1 -1
@@ -106,7 +106,7 @@ err_end:return ret; } -static int __devexit dw_spi_mmio_remove(struct platform_device *pdev) +static int dw_spi_mmio_remove (struct platform_device *pdev) {struct dw_spi_mmio *dwsmmio =platform_get_drvdata (pdev);struct resource *mem;
drivers/spi/spi-dw-pci.c +1 -1
@@ -105,7 +105,7 @@ err_disable:return ret; } -static void __devexit spi_pci_remove(struct pci_dev *pdev) +static void spi_pci_remove (struct pci_dev *pdev) {struct dw_spi_pci *dwpci =pci_get_drvdata (pdev);
drivers/spi/spi-dw.c +1 -1
@@ -877,7 +877,7 @@ exit: }EXPORT_SYMBOL_GPL (dw_spi_add_host); -void __devexit dw_spi_remove_host(struct dw_spi *dws) +void dw_spi_remove_host (struct dw_spi *dws) {int status =0 ;
drivers/spi/spi-ep93xx.c +1 -1
@@ -1138,7 +1138,7 @@ fail_release_master:return error; } -static int __devexit ep93xx_spi_remove(struct platform_device *pdev) +static int ep93xx_spi_remove (struct platform_device *pdev) {struct spi_master *master =platform_get_drvdata (pdev);struct ep93xx_spi *espi =spi_master_get_devdata (master);
drivers/spi/spi-falcon.c +1 -1
@@ -438,7 +438,7 @@ static int falcon_sflash_probe(struct platform_device *pdev)return ret; } -static int __devexit falcon_sflash_remove(struct platform_device *pdev) +static int falcon_sflash_remove (struct platform_device *pdev) {struct falcon_sflash *priv =platform_get_drvdata (pdev);
drivers/spi/spi-fsl-espi.c +1 -1
@@ -725,7 +725,7 @@ err:return ret; } -static int __devexit of_fsl_espi_remove(struct platform_device *dev) +static int of_fsl_espi_remove (struct platform_device *dev) {return mpc8xxx_spi_remove (&dev->dev); }
drivers/spi/spi-fsl-lib.c +1 -1
@@ -169,7 +169,7 @@ err:return ret; } -int __devexit mpc8xxx_spi_remove(struct device *dev) +int mpc8xxx_spi_remove (struct device *dev) {struct mpc8xxx_spi *mpc8xxx_spi;struct spi_master *master;
drivers/spi/spi-fsl-spi.c +2 -2
@@ -1081,7 +1081,7 @@ err:return ret; } -static int __devexit of_fsl_spi_remove(struct platform_device *ofdev) +static int of_fsl_spi_remove (struct platform_device *ofdev) {int ret;
@@ -1139,7 +1139,7 @@ static int plat_mpc8xxx_spi_probe(struct platform_device *pdev)return 0 ; } -static int __devexit plat_mpc8xxx_spi_remove(struct platform_device *pdev) +static int plat_mpc8xxx_spi_remove (struct platform_device *pdev) {return mpc8xxx_spi_remove (&pdev->dev); }
drivers/spi/spi-gpio.c +1 -1
@@ -485,7 +485,7 @@ gpio_free:return status; } -static int __devexit spi_gpio_remove(struct platform_device *pdev) +static int spi_gpio_remove (struct platform_device *pdev) {struct spi_gpio *spi_gpio;struct spi_gpio_platform_data *pdata;
drivers/spi/spi-imx.c +1 -1
@@ -906,7 +906,7 @@ out_gpio_free:return ret; } -static int __devexit spi_imx_remove(struct platform_device *pdev) +static int spi_imx_remove (struct platform_device *pdev) {struct spi_master *master =platform_get_drvdata (pdev);struct resource *res =platform_get_resource (pdev,IORESOURCE_MEM ,0 );
drivers/spi/spi-mpc512x-psc.c +2 -2
@@ -492,7 +492,7 @@ free_master:return ret; } -static int __devexit mpc512x_psc_spi_do_remove(struct device *dev) +static int mpc512x_psc_spi_do_remove (struct device *dev) {struct spi_master *master =spi_master_get (dev_get_drvdata (dev));struct mpc512x_psc_spi *mps =spi_master_get_devdata (master);
@@ -539,7 +539,7 @@ static int mpc512x_psc_spi_of_probe(struct platform_device *op) irq_of_parse_and_map(op->dev.of_node, 0), id); } -static int __devexit mpc512x_psc_spi_of_remove(struct platform_device *op) +static int mpc512x_psc_spi_of_remove (struct platform_device *op) {return mpc512x_psc_spi_do_remove (&op->dev); }
drivers/spi/spi-mpc52xx-psc.c +1 -1
@@ -479,7 +479,7 @@ static int mpc52xx_psc_spi_of_probe(struct platform_device *op) irq_of_parse_and_map(op->dev.of_node, 0), id); } -static int __devexit mpc52xx_psc_spi_of_remove(struct platform_device *op) +static int mpc52xx_psc_spi_of_remove (struct platform_device *op) {struct spi_master *master =spi_master_get (dev_get_drvdata (&op->dev));struct mpc52xx_psc_spi *mps =spi_master_get_devdata (master);
drivers/spi/spi-mpc52xx.c +1 -1
@@ -527,7 +527,7 @@ static int mpc52xx_spi_probe(struct platform_device *op)return rc; } -static int __devexit mpc52xx_spi_remove(struct platform_device *op) +static int mpc52xx_spi_remove (struct platform_device *op) {struct spi_master *master =spi_master_get (dev_get_drvdata (&op->dev));struct mpc52xx_spi *ms =spi_master_get_devdata (master);
drivers/spi/spi-mxs.c +1 -1
@@ -636,7 +636,7 @@ out_master_free:return ret; } -static int __devexit mxs_spi_remove(struct platform_device *pdev) +static int mxs_spi_remove (struct platform_device *pdev) {struct spi_master *master;struct mxs_spi *spi;
drivers/spi/spi-nuc900.c +1 -1
@@ -453,7 +453,7 @@ err_nomem:return err; } -static int __devexit nuc900_spi_remove(struct platform_device *dev) +static int nuc900_spi_remove (struct platform_device *dev) {struct nuc900_spi *hw =platform_get_drvdata (dev);
drivers/spi/spi-oc-tiny.c +1 -1
@@ -373,7 +373,7 @@ exit:return err; } -static int __devexit tiny_spi_remove(struct platform_device *pdev) +static int tiny_spi_remove (struct platform_device *pdev) {struct tiny_spi *hw =platform_get_drvdata (pdev);struct spi_master *master = hw->bitbang.master;
drivers/spi/spi-octeon.c +1 -1
@@ -326,7 +326,7 @@ fail:return err; } -static int __devexit octeon_spi_remove(struct platform_device *pdev) +static int octeon_spi_remove (struct platform_device *pdev) {struct octeon_spi *p =platform_get_drvdata (pdev);u64 register_base = p->register_base;
drivers/spi/spi-omap2-mcspi.c +1 -1
@@ -1282,7 +1282,7 @@ free_master:return status; } -static int __devexit omap2_mcspi_remove(struct platform_device *pdev) +static int omap2_mcspi_remove (struct platform_device *pdev) {struct spi_master *master;struct omap2_mcspi *mcspi;
drivers/spi/spi-pl022.c +1 -1
@@ -2275,7 +2275,7 @@ pl022_probe(struct amba_device *adev, const struct amba_id *id)return status; } -static int __devexit +static int pl022_remove (struct amba_device *adev) {struct pl022 *pl022 =amba_get_drvdata (adev);
drivers/spi/spi-pxa2xx-pci.c +1 -1
@@ -129,7 +129,7 @@ err_nomem:return ret; } -static void __devexit ce4100_spi_remove(struct pci_dev *dev) +static void ce4100_spi_remove (struct pci_dev *dev) {struct ce4100_info *spi_info;struct ssp_device *ssp;
drivers/spi/spi-rspi.c +2 -2
@@ -709,7 +709,7 @@ static int rspi_request_dma(struct rspi_data *rspi,return 0 ; } -static void __devexit rspi_release_dma(struct rspi_data *rspi) +static void rspi_release_dma (struct rspi_data *rspi) {if (rspi->chan_tx)dma_release_channel (rspi->chan_tx);
@@ -717,7 +717,7 @@ static void __devexit rspi_release_dma(struct rspi_data *rspi)dma_release_channel (rspi->chan_rx); } -static int __devexit rspi_remove(struct platform_device *pdev) +static int rspi_remove (struct platform_device *pdev) {struct rspi_data *rspi =dev_get_drvdata (&pdev->dev);
drivers/spi/spi-s3c24xx.c +1 -1
@@ -663,7 +663,7 @@ static int s3c24xx_spi_probe(struct platform_device *pdev)return err; } -static int __devexit s3c24xx_spi_remove(struct platform_device *dev) +static int s3c24xx_spi_remove (struct platform_device *dev) {struct s3c24xx_spi *hw =platform_get_drvdata (dev);
drivers/spi/spi-sh-hspi.c +1 -1
@@ -300,7 +300,7 @@ static int hspi_probe(struct platform_device *pdev)return ret; } -static int __devexit hspi_remove(struct platform_device *pdev) +static int hspi_remove (struct platform_device *pdev) {struct hspi_priv *hspi =dev_get_drvdata (&pdev->dev);
drivers/spi/spi-sh.c +1 -1
@@ -432,7 +432,7 @@ static irqreturn_t spi_sh_irq(int irq, void *_ss)return IRQ_HANDLED ; } -static int __devexit spi_sh_remove(struct platform_device *pdev) +static int spi_sh_remove (struct platform_device *pdev) {struct spi_sh_data *ss =dev_get_drvdata (&pdev->dev);
drivers/spi/spi-sirf.c +1 -1
@@ -604,7 +604,7 @@ err_cs:return ret; } -static int __devexit spi_sirfsoc_remove(struct platform_device *pdev) +static int spi_sirfsoc_remove (struct platform_device *pdev) {struct spi_master *master;struct sirfsoc_spi *sspi;
drivers/spi/spi-stmp.c +1 -1
@@ -589,7 +589,7 @@ out0:return err; } -static int __devexit stmp_spi_remove(struct platform_device *dev) +static int stmp_spi_remove (struct platform_device *dev) {struct stmp_spi *ss;struct spi_master *master;
drivers/spi/spi-tegra20-sflash.c +1 -1
@@ -575,7 +575,7 @@ exit_free_master:return ret; } -static int __devexit tegra_sflash_remove(struct platform_device *pdev) +static int tegra_sflash_remove (struct platform_device *pdev) {struct spi_master *master =dev_get_drvdata (&pdev->dev);struct tegra_sflash_data *tsd =spi_master_get_devdata (master);
drivers/spi/spi-tegra20-slink.c +1 -1
@@ -1261,7 +1261,7 @@ exit_free_master:return ret; } -static int __devexit tegra_slink_remove(struct platform_device *pdev) +static int tegra_slink_remove (struct platform_device *pdev) {struct spi_master *master =dev_get_drvdata (&pdev->dev);struct tegra_slink_data *tspi =spi_master_get_devdata (master);
drivers/spi/spi-ti-ssp.c +1 -1
@@ -357,7 +357,7 @@ error_wq:return error; } -static int __devexit ti_ssp_spi_remove(struct platform_device *pdev) +static int ti_ssp_spi_remove (struct platform_device *pdev) {struct ti_ssp_spi *hw =platform_get_drvdata (pdev);int error;
drivers/spi/spi-tle62x0.c +1 -1
@@ -294,7 +294,7 @@ static int tle62x0_probe(struct spi_device *spi)return ret; } -static int __devexit tle62x0_remove(struct spi_device *spi) +static int tle62x0_remove (struct spi_device *spi) {struct tle62x0_state *st =spi_get_drvdata (spi);int ptr;
drivers/spi/spi-topcliff-pch.c +2 -2
@@ -1498,7 +1498,7 @@ err_pci_iomap:return ret; } -static int __devexit pch_spi_pd_remove(struct platform_device *plat_dev) +static int pch_spi_pd_remove (struct platform_device *plat_dev) {struct pch_spi_board_data *board_dat =dev_get_platdata (&plat_dev->dev);struct pch_spi_data *data =platform_get_drvdata (plat_dev);
@@ -1705,7 +1705,7 @@ err_no_mem:return retval; } -static void __devexit pch_spi_remove(struct pci_dev *pdev) +static void pch_spi_remove (struct pci_dev *pdev) {int i;struct pch_pd_dev_save *pd_dev_save =pci_get_drvdata (pdev);
drivers/spi/spi-xcomm.c +1 -1
@@ -246,7 +246,7 @@ static int spi_xcomm_probe(struct i2c_client *i2c,return ret; } -static int __devexit spi_xcomm_remove(struct i2c_client *i2c) +static int spi_xcomm_remove (struct i2c_client *i2c) {struct spi_master *master =i2c_get_clientdata (i2c);
drivers/spi/spi-xilinx.c +1 -1
@@ -518,7 +518,7 @@ static int xilinx_spi_probe(struct platform_device *dev)return 0 ; } -static int __devexit xilinx_spi_remove(struct platform_device *dev) +static int xilinx_spi_remove (struct platform_device *dev) {xilinx_spi_deinit (platform_get_drvdata (dev));platform_set_drvdata (dev,0 );
drivers/spi/spidev.c +1 -1
@@ -622,7 +622,7 @@ static int spidev_probe(struct spi_device *spi)return status; } -static int __devexit spidev_remove(struct spi_device *spi) +static int spidev_remove (struct spi_device *spi) {struct spidev_data *spidev =spi_get_drvdata (spi);
Signature · 1 line
1.8.0
PATCH 429/493 tty: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/tty/cyclades.c | 2 +- drivers/tty/hvc/hvc_opal.c | 2 +- drivers/tty/hvc/hvc_vio.c | 2 +- drivers/tty/hvc/hvcs.c | 4 ++-- drivers/tty/isicom.c | 4 ++-- drivers/tty/moxa.c | 2 +- drivers/tty/mxser.c | 2 +- drivers/tty/nozomi.c | 4 ++-- drivers/tty/serial/8250/8250.c | 2 +- drivers/tty/serial/8250/8250_acorn.c | 2 +- drivers/tty/serial/8250/8250_dw.c | 2 +- drivers/tty/serial/8250/8250_em.c | 2 +- drivers/tty/serial/8250/8250_hp300.c | 4 ++-- drivers/tty/serial/8250/8250_pci.c | 12 ++++++------ drivers/tty/serial/8250/8250_pnp.c | 2 +- drivers/tty/serial/altera_jtaguart.c | 2 +- drivers/tty/serial/altera_uart.c | 2 +- drivers/tty/serial/ar933x_uart.c | 2 +- drivers/tty/serial/arc_uart.c | 2 +- drivers/tty/serial/atmel_serial.c | 2 +- drivers/tty/serial/bcm63xx_uart.c | 2 +- drivers/tty/serial/bfin_sport_uart.c | 2 +- drivers/tty/serial/bfin_uart.c | 2 +- drivers/tty/serial/clps711x.c | 2 +- drivers/tty/serial/cpm_uart/cpm_uart_core.c | 2 +- drivers/tty/serial/efm32-uart.c | 2 +- drivers/tty/serial/icom.c | 2 +- drivers/tty/serial/jsm/jsm_driver.c | 2 +- drivers/tty/serial/lpc32xx_hs.c | 2 +- drivers/tty/serial/max3100.c | 2 +- drivers/tty/serial/max310x.c | 2 +- drivers/tty/serial/mcf.c | 2 +- drivers/tty/serial/mrst_max3110.c | 2 +- drivers/tty/serial/msm_serial.c | 2 +- drivers/tty/serial/msm_serial_hs.c | 2 +- drivers/tty/serial/mux.c | 2 +- drivers/tty/serial/mxs-auart.c | 2 +- drivers/tty/serial/omap-serial.c | 2 +- drivers/tty/serial/samsung.c | 2 +- drivers/tty/serial/sccnxp.c | 2 +- drivers/tty/serial/serial_txx9.c | 6 +++--- drivers/tty/serial/sunhv.c | 2 +- drivers/tty/serial/sunsab.c | 2 +- drivers/tty/serial/sunsu.c | 2 +- drivers/tty/serial/sunzilog.c | 4 ++-- drivers/tty/serial/timbuart.c | 2 +- drivers/tty/serial/uartlite.c | 4 ++-- drivers/tty/serial/vr41xx_siu.c | 2 +- drivers/tty/serial/vt8500_serial.c | 2 +- drivers/tty/serial/xilinx_uartps.c | 2 +- drivers/tty/synclink.c | 2 +- drivers/tty/synclink_gt.c | 2 +- drivers/tty/synclinkmp.c | 2 +- 53 files changed, 66 insertions(+), 66 deletions(-)
drivers/tty/cyclades.c +1 -1
@@ -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;
drivers/tty/hvc/hvc_opal.c +1 -1
@@ -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;
drivers/tty/hvc/hvc_vio.c +1 -1
@@ -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;
drivers/tty/hvc/hvcs.c +2 -2
@@ -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;
drivers/tty/isicom.c +2 -2
@@ -148,7 +148,7 @@#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 ) },
@@ -1630,7 +1630,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;
drivers/tty/moxa.c +1 -1
@@ -1016,7 +1016,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);
drivers/tty/mxser.c +1 -1
@@ -2645,7 +2645,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);
drivers/tty/nozomi.c +2 -2
@@ -1504,7 +1504,7 @@ err:return ret; } -static void __devexit tty_exit(struct nozomi *dc) +static void tty_exit (struct nozomi *dc) {unsigned int i;
@@ -1525,7 +1525,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;
drivers/tty/serial/8250/8250.c +1 -1
@@ -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;
drivers/tty/serial/8250/8250_acorn.c +1 -1
@@ -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;
drivers/tty/serial/8250/8250_dw.c +1 -1
@@ -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);
drivers/tty/serial/8250/8250_em.c +1 -1
@@ -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);
drivers/tty/serial/8250/8250_hp300.c +2 -2
@@ -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;
drivers/tty/serial/8250/8250_pci.c +6 -6
@@ -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);
drivers/tty/serial/8250/8250_pnp.c +1 -1
@@ -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)
drivers/tty/serial/altera_jtaguart.c +1 -1
@@ -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;
drivers/tty/serial/altera_uart.c +1 -1
@@ -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);
drivers/tty/serial/ar933x_uart.c +1 -1
@@ -627,7 +627,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;
drivers/tty/serial/arc_uart.c +1 -1
@@ -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 ;
drivers/tty/serial/atmel_serial.c +1 -1
@@ -1859,7 +1859,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);
drivers/tty/serial/bcm63xx_uart.c +1 -1
@@ -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;
drivers/tty/serial/bfin_sport_uart.c +1 -1
@@ -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);
drivers/tty/serial/bfin_uart.c +1 -1
@@ -1390,7 +1390,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);
drivers/tty/serial/clps711x.c +1 -1
@@ -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;
drivers/tty/serial/cpm_uart/cpm_uart_core.c +1 -1
@@ -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);
drivers/tty/serial/efm32-uart.c +1 -1
@@ -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);
drivers/tty/serial/icom.c +1 -1
@@ -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;
drivers/tty/serial/jsm/jsm_driver.c +1 -1
@@ -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 ;
drivers/tty/serial/lpc32xx_hs.c +1 -1
@@ -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);
drivers/tty/serial/max3100.c +1 -1
@@ -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;
drivers/tty/serial/max310x.c +1 -1
@@ -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);
drivers/tty/serial/mcf.c +1 -1
@@ -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;
drivers/tty/serial/mrst_max3110.c +1 -1
@@ -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);
drivers/tty/serial/msm_serial.c +1 -1
@@ -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);
drivers/tty/serial/msm_serial_hs.c +1 -1
@@ -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;
drivers/tty/serial/mux.c +1 -1
@@ -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);
drivers/tty/serial/mxs-auart.c +1 -1
@@ -789,7 +789,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);
drivers/tty/serial/omap-serial.c +1 -1
@@ -1510,7 +1510,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);
drivers/tty/serial/samsung.c +1 -1
@@ -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);
drivers/tty/serial/sccnxp.c +1 -1
@@ -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);
drivers/tty/serial/serial_txx9.c +3 -3
@@ -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);
drivers/tty/serial/sunhv.c +1 -1
@@ -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);
drivers/tty/serial/sunsab.c +1 -1
@@ -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);
drivers/tty/serial/sunsu.c +1 -1
@@ -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;
drivers/tty/serial/sunzilog.c +2 -2
@@ -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;
drivers/tty/serial/timbuart.c +1 -1
@@ -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);
drivers/tty/serial/uartlite.c +2 -2
@@ -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); }
drivers/tty/serial/vr41xx_siu.c +1 -1
@@ -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;
drivers/tty/serial/vt8500_serial.c +1 -1
@@ -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);
drivers/tty/serial/xilinx_uartps.c +1 -1
@@ -1001,7 +1001,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 ;
drivers/tty/synclink.c +1 -1
@@ -8116,7 +8116,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) { }
drivers/tty/synclink_gt.c +1 -1
@@ -3708,7 +3708,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) { }
drivers/tty/synclinkmp.c +1 -1
@@ -5603,6 +5603,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) { }
Signature · 1 line
1.8.0
Tobias Klauser
maintainerPATCH 429/493 tty: remove use of __devexit
Quoted 22 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Jiri Slaby <[email protected]>Cc Alan Cox <[email protected]>Cc Tobias Klauser <[email protected]>Cc Lucas Tavares <[email protected]>Cc David Brown <[email protected]>Cc Daniel Walker <[email protected]>Cc Bryan Huntsman <[email protected]>Cc "David S. Miller" <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Tony Prisk <[email protected]>Cc linuxppc-dev at lists.ozlabs.orgCc linux-serial at vger.kernel.orgCc nios2-dev at sopc.et.ntust.edu.twCc uclinux-dist-devel at blackfin.uclinux.orgCc linux-arm-msm at vger.kernel.orgCc sparclinux at vger.kernel.orgCc linux-arm-kernel at lists.infradead.org---
[...]
Quoted 2 lines
drivers/tty/serial/altera_jtaguart.c | 2 +- drivers/tty/serial/altera_uart.c | 2 +-
PATCH 429/493 tty: remove use of __devexit
In reply to Bill PembertonQuoted 7 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>--- drivers/tty/serial/msm_serial.c | 2 +- drivers/tty/serial/msm_serial_hs.c | 2 +-
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation
PATCH 431/493 usb: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/usb/c67x00/c67x00-drv.c | 2 +- drivers/usb/chipidea/ci13xxx_imx.c | 2 +- drivers/usb/chipidea/ci13xxx_msm.c | 2 +- drivers/usb/chipidea/ci13xxx_pci.c | 2 +- drivers/usb/chipidea/core.c | 2 +- drivers/usb/chipidea/usbmisc_imx6q.c | 2 +- drivers/usb/dwc3/core.c | 2 +- drivers/usb/dwc3/debugfs.c | 2 +- drivers/usb/dwc3/dwc3-exynos.c | 2 +- drivers/usb/dwc3/dwc3-omap.c | 2 +- drivers/usb/dwc3/dwc3-pci.c | 2 +- drivers/usb/gadget/bcm63xx_udc.c | 2 +- drivers/usb/gadget/fsl_qe_udc.c | 2 +- drivers/usb/gadget/hid.c | 2 +- drivers/usb/gadget/lpc32xx_udc.c | 2 +- drivers/usb/gadget/mv_u3d_core.c | 2 +- drivers/usb/gadget/mv_udc_core.c | 2 +- drivers/usb/gadget/net2272.c | 10 +++++----- drivers/usb/gadget/omap_udc.c | 2 +- drivers/usb/gadget/s3c-hsotg.c | 4 ++-- drivers/usb/host/bcma-hcd.c | 2 +- drivers/usb/host/ehci-atmel.c | 2 +- drivers/usb/host/ehci-msm.c | 2 +- drivers/usb/host/ehci-platform.c | 2 +- drivers/usb/host/ehci-s5p.c | 2 +- drivers/usb/host/ehci-w90x900.c | 2 +- drivers/usb/host/fhci-hcd.c | 4 ++-- drivers/usb/host/fsl-mph-dr-of.c | 4 ++-- drivers/usb/host/isp1362-hcd.c | 2 +- drivers/usb/host/isp1760-if.c | 2 +- drivers/usb/host/ohci-at91.c | 6 +++--- drivers/usb/host/ohci-exynos.c | 2 +- drivers/usb/host/ohci-jz4740.c | 2 +- drivers/usb/host/ohci-omap3.c | 2 +- drivers/usb/host/ohci-platform.c | 2 +- drivers/usb/host/ohci-s3c2410.c | 2 +- drivers/usb/host/ohci-tmio.c | 2 +- drivers/usb/host/r8a66597-hcd.c | 2 +- drivers/usb/host/sl811-hcd.c | 2 +- drivers/usb/host/ssb-hcd.c | 4 ++-- drivers/usb/host/u132-hcd.c | 2 +- drivers/usb/musb/am35x.c | 2 +- drivers/usb/musb/blackfin.c | 2 +- drivers/usb/musb/da8xx.c | 2 +- drivers/usb/musb/davinci.c | 2 +- drivers/usb/musb/musb_core.c | 2 +- drivers/usb/musb/musb_dsps.c | 2 +- drivers/usb/musb/omap2430.c | 2 +- drivers/usb/musb/tusb6010.c | 2 +- drivers/usb/musb/ux500.c | 2 +- drivers/usb/otg/ab8500-usb.c | 2 +- drivers/usb/otg/fsl_otg.c | 2 +- drivers/usb/otg/msm_otg.c | 2 +- drivers/usb/otg/mxs-phy.c | 2 +- drivers/usb/otg/nop-usb-xceiv.c | 2 +- drivers/usb/phy/omap-usb2.c | 2 +- drivers/usb/phy/rcar-phy.c | 2 +- drivers/usb/renesas_usbhs/common.c | 2 +- 58 files changed, 68 insertions(+), 68 deletions(-)
drivers/usb/c67x00/c67x00-drv.c +1 -1
@@ -191,7 +191,7 @@ static int c67x00_drv_probe(struct platform_device *pdev)return ret; } -static int __devexit c67x00_drv_remove(struct platform_device *pdev) +static int c67x00_drv_remove (struct platform_device *pdev) {struct c67x00_device *c67x00 =platform_get_drvdata (pdev);struct resource *res;
drivers/usb/chipidea/ci13xxx_imx.c +1 -1
@@ -220,7 +220,7 @@ put_np:return ret; } -static int __devexit ci13xxx_imx_remove(struct platform_device *pdev) +static int ci13xxx_imx_remove (struct platform_device *pdev) {struct ci13xxx_imx_data *data =platform_get_drvdata (pdev);
drivers/usb/chipidea/ci13xxx_msm.c +1 -1
@@ -77,7 +77,7 @@ static int ci13xxx_msm_probe(struct platform_device *pdev)return 0 ; } -static int __devexit ci13xxx_msm_remove(struct platform_device *pdev) +static int ci13xxx_msm_remove (struct platform_device *pdev) {struct platform_device *plat_ci =platform_get_drvdata (pdev);
drivers/usb/chipidea/ci13xxx_pci.c +1 -1
@@ -107,7 +107,7 @@ static int ci13xxx_pci_probe(struct pci_dev *pdev,* first invoking the udc_remove() and then releases * all PCI resources allocated for this USB device controller */ -static void __devexit ci13xxx_pci_remove(struct pci_dev *pdev) +static void ci13xxx_pci_remove (struct pci_dev *pdev) {struct platform_device *plat_ci =pci_get_drvdata (pdev);
drivers/usb/chipidea/core.c +1 -1
@@ -508,7 +508,7 @@ rm_wq:return ret; } -static int __devexit ci_hdrc_remove(struct platform_device *pdev) +static int ci_hdrc_remove (struct platform_device *pdev) {struct ci13xxx *ci =platform_get_drvdata (pdev);
drivers/usb/chipidea/usbmisc_imx6q.c +1 -1
@@ -127,7 +127,7 @@ static int usbmisc_imx6q_probe(struct platform_device *pdev)return 0 ; } -static int __devexit usbmisc_imx6q_remove(struct platform_device *pdev) +static int usbmisc_imx6q_remove (struct platform_device *pdev) {usbmisc_unset_ops (&imx6q_usbmisc_ops);clk_disable_unprepare (usbmisc->clk);
drivers/usb/dwc3/core.c +1 -1
@@ -547,7 +547,7 @@ err0:return ret; } -static int __devexit dwc3_remove(struct platform_device *pdev) +static int dwc3_remove (struct platform_device *pdev) {struct dwc3 *dwc =platform_get_drvdata (pdev);struct resource *res;
drivers/usb/dwc3/debugfs.c +1 -1
@@ -703,7 +703,7 @@ err0:return ret; } -void __devexit dwc3_debugfs_exit(struct dwc3 *dwc) +void dwc3_debugfs_exit (struct dwc3 *dwc) {debugfs_remove_recursive (dwc->root); dwc->root =NULL ;
drivers/usb/dwc3/dwc3-exynos.c +1 -1
@@ -170,7 +170,7 @@ err0:return ret; } -static int __devexit dwc3_exynos_remove(struct platform_device *pdev) +static int dwc3_exynos_remove (struct platform_device *pdev) {struct dwc3_exynos *exynos =platform_get_drvdata (pdev);
drivers/usb/dwc3/dwc3-omap.c +1 -1
@@ -421,7 +421,7 @@ err2:return ret; } -static int __devexit dwc3_omap_remove(struct platform_device *pdev) +static int dwc3_omap_remove (struct platform_device *pdev) {struct dwc3_omap *omap =platform_get_drvdata (pdev);
drivers/usb/dwc3/dwc3-pci.c +1 -1
@@ -194,7 +194,7 @@ err1:return ret; } -static void __devexit dwc3_pci_remove(struct pci_dev *pci) +static void dwc3_pci_remove (struct pci_dev *pci) {struct dwc3_pci *glue =pci_get_drvdata (pci);
drivers/usb/gadget/bcm63xx_udc.c +1 -1
@@ -2433,7 +2433,7 @@ out_uninit:* bcm63xx_udc_remove - Remove the device from the system. * @pdev: Platform device struct from the bcm63xx BSP code. */ -static int __devexit bcm63xx_udc_remove(struct platform_device *pdev) +static int bcm63xx_udc_remove (struct platform_device *pdev) {struct bcm63xx_udc *udc =platform_get_drvdata (pdev);
drivers/usb/gadget/fsl_qe_udc.c +1 -1
@@ -2651,7 +2651,7 @@ static int qe_udc_resume(struct platform_device *dev) }#endif -static int __devexit qe_udc_remove(struct platform_device *ofdev) +static int qe_udc_remove (struct platform_device *ofdev) {struct qe_udc *udc =dev_get_drvdata (&ofdev->dev);struct qe_ep *ep;
drivers/usb/gadget/hid.c +1 -1
@@ -203,7 +203,7 @@ static int __init hidg_plat_driver_probe(struct platform_device *pdev)return 0 ; } -static int __devexit hidg_plat_driver_remove(struct platform_device *pdev) +static int hidg_plat_driver_remove (struct platform_device *pdev) {struct hidg_func_node *e, *n;
drivers/usb/gadget/lpc32xx_udc.c +1 -1
@@ -3352,7 +3352,7 @@ phy_fail:return retval; } -static int __devexit lpc32xx_udc_remove(struct platform_device *pdev) +static int lpc32xx_udc_remove (struct platform_device *pdev) {struct lpc32xx_udc *udc =platform_get_drvdata (pdev);
drivers/usb/gadget/mv_u3d_core.c +1 -1
@@ -1763,7 +1763,7 @@ static void mv_u3d_gadget_release(struct device *dev)dev_dbg (dev,"%s\n" , __func__); } -static __devexit int mv_u3d_remove(struct platform_device *dev) +static int mv_u3d_remove (struct platform_device *dev) {struct mv_u3d *u3d =platform_get_drvdata (dev);
drivers/usb/gadget/mv_udc_core.c +1 -1
@@ -2128,7 +2128,7 @@ static void gadget_release(struct device *_dev)complete (udc->done); } -static int __devexit mv_udc_remove(struct platform_device *dev) +static int mv_udc_remove (struct platform_device *dev) {struct mv_udc *udc = the_controller;int clk_i;
drivers/usb/gadget/net2272.c +5 -5
@@ -2193,7 +2193,7 @@ net2272_gadget_release(struct device *_dev)/*---------------------------------------------------------------------------*/ -static void __devexit +static void net2272_remove (struct net2272 *dev) {usb_del_gadget_udc (&dev->gadget);
@@ -2488,7 +2488,7 @@ net2272_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)return ret; } -static void __devexit +static void net2272_rdk1_remove (struct pci_dev *pdev,struct net2272 *dev) {int i;
@@ -2510,7 +2510,7 @@ net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev) } } -static void __devexit +static void net2272_rdk2_remove (struct pci_dev *pdev,struct net2272 *dev) {int i;
@@ -2529,7 +2529,7 @@ net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev) pci_resource_len(pdev, i)); } -static void __devexit +static void net2272_pci_remove (struct pci_dev *pdev) {struct net2272 *dev =pci_get_drvdata (pdev);
@@ -2660,7 +2660,7 @@ net2272_plat_probe(struct platform_device *pdev)return ret; } -static int __devexit +static int net2272_plat_remove (struct platform_device *pdev) {struct net2272 *dev =platform_get_drvdata (pdev);
drivers/usb/gadget/omap_udc.c +1 -1
@@ -2976,7 +2976,7 @@ cleanup0:return status; } -static int __devexit omap_udc_remove(struct platform_device *pdev) +static int omap_udc_remove (struct platform_device *pdev) {DECLARE_COMPLETION_ONSTACK (done);
drivers/usb/gadget/s3c-hsotg.c +2 -2
@@ -3460,7 +3460,7 @@ static void s3c_hsotg_create_debug(struct s3c_hsotg *hsotg)* * Cleanup (remove) the debugfs files for use on module exit. */ -static void __devexit s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg) +static void s3c_hsotg_delete_debug (struct s3c_hsotg *hsotg) {unsigned epidx;
@@ -3675,7 +3675,7 @@ err_clk:* s3c_hsotg_remove - remove function for hsotg driver * @pdev: The platform information for the driver */ -static int __devexit s3c_hsotg_remove(struct platform_device *pdev) +static int s3c_hsotg_remove (struct platform_device *pdev) {struct s3c_hsotg *hsotg =platform_get_drvdata (pdev);
drivers/usb/host/bcma-hcd.c +1 -1
@@ -265,7 +265,7 @@ err_free_usb_dev:return err; } -static void __devexit bcma_hcd_remove(struct bcma_device *dev) +static void bcma_hcd_remove (struct bcma_device *dev) {struct bcma_hcd_device *usb_dev =bcma_get_drvdata (dev);struct platform_device *ohci_dev = usb_dev->ohci_dev;
drivers/usb/host/ehci-atmel.c +1 -1
@@ -182,7 +182,7 @@ fail_create_hcd:return retval; } -static int __devexit ehci_atmel_drv_remove(struct platform_device *pdev) +static int ehci_atmel_drv_remove (struct platform_device *pdev) {struct usb_hcd *hcd =platform_get_drvdata (pdev);
drivers/usb/host/ehci-msm.c +1 -1
@@ -173,7 +173,7 @@ put_hcd:return ret; } -static int __devexit ehci_msm_remove(struct platform_device *pdev) +static int ehci_msm_remove (struct platform_device *pdev) {struct usb_hcd *hcd =platform_get_drvdata (pdev);
drivers/usb/host/ehci-platform.c +1 -1
@@ -126,7 +126,7 @@ err_power:return err; } -static int __devexit ehci_platform_remove(struct platform_device *dev) +static int ehci_platform_remove (struct platform_device *dev) {struct usb_hcd *hcd =platform_get_drvdata (dev);struct usb_ehci_pdata *pdata = dev->dev.platform_data;
drivers/usb/host/ehci-s5p.c +1 -1
@@ -189,7 +189,7 @@ fail_clk:return err; } -static int __devexit s5p_ehci_remove(struct platform_device *pdev) +static int s5p_ehci_remove (struct platform_device *pdev) {struct s5p_ehci_platdata *pdata = pdev->dev.platform_data;struct s5p_ehci_hcd *s5p_ehci =platform_get_drvdata (pdev);
drivers/usb/host/ehci-w90x900.c +1 -1
@@ -155,7 +155,7 @@ static int ehci_w90x900_probe(struct platform_device *pdev)return usb_w90x900_probe (&ehci_w90x900_hc_driver, pdev); } -static int __devexit ehci_w90x900_remove(struct platform_device *pdev) +static int ehci_w90x900_remove (struct platform_device *pdev) {struct usb_hcd *hcd =platform_get_drvdata (pdev);
drivers/usb/host/fhci-hcd.c +2 -2
@@ -780,7 +780,7 @@ err_regs:return ret; } -static int __devexit fhci_remove(struct device *dev) +static int fhci_remove (struct device *dev) {struct usb_hcd *hcd =dev_get_drvdata (dev);struct fhci_hcd *fhci =hcd_to_fhci (hcd);
@@ -803,7 +803,7 @@ static int __devexit fhci_remove(struct device *dev)return 0 ; } -static int __devexit of_fhci_remove(struct platform_device *ofdev) +static int of_fhci_remove (struct platform_device *ofdev) {return fhci_remove (&ofdev->dev); }
drivers/usb/host/fsl-mph-dr-of.c +2 -2
@@ -224,13 +224,13 @@ static int fsl_usb2_mph_dr_of_probe(struct platform_device *ofdev)return 0 ; } -static int __devexit __unregister_subdev(struct device *dev, void *d) +static int __unregister_subdev (struct device *dev,void *d) {platform_device_unregister (to_platform_device (dev));return 0 ; } -static int __devexit fsl_usb2_mph_dr_of_remove(struct platform_device *ofdev) +static int fsl_usb2_mph_dr_of_remove (struct platform_device *ofdev) {device_for_each_child (&ofdev->dev,NULL , __unregister_subdev);return 0 ;
drivers/usb/host/isp1362-hcd.c +1 -1
@@ -2645,7 +2645,7 @@ static struct hc_driver isp1362_hc_driver = {/*-------------------------------------------------------------------------*/ -static int __devexit isp1362_remove(struct platform_device *pdev) +static int isp1362_remove (struct platform_device *pdev) {struct usb_hcd *hcd =platform_get_drvdata (pdev);struct isp1362_hcd *isp1362_hcd =hcd_to_isp1362_hcd (hcd);
drivers/usb/host/isp1760-if.c +1 -1
@@ -413,7 +413,7 @@ out:return ret; } -static int __devexit isp1760_plat_remove(struct platform_device *pdev) +static int isp1760_plat_remove (struct platform_device *pdev) {struct resource *mem_res;resource_size_t mem_size;
drivers/usb/host/ohci-at91.c +3 -3
@@ -94,7 +94,7 @@ static void at91_stop_hc(struct platform_device *pdev)/*-------------------------------------------------------------------------*/ -static void __devexit usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *); +static void usb_hcd_at91_remove (struct usb_hcd *,struct platform_device *);/* configure so an HC device and id are always provided */ /* always called with process context; sleeping is OK */
@@ -203,7 +203,7 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver,* context, "rmmod" or something similar. * */ -static void __devexit usb_hcd_at91_remove(struct usb_hcd *hcd, +static void usb_hcd_at91_remove (struct usb_hcd *hcd,struct platform_device *pdev) {usb_remove_hcd (hcd);
@@ -641,7 +641,7 @@ static int ohci_hcd_at91_drv_probe(struct platform_device *pdev)return usb_hcd_at91_probe (&ohci_at91_hc_driver, pdev); } -static int __devexit ohci_hcd_at91_drv_remove(struct platform_device *pdev) +static int ohci_hcd_at91_drv_remove (struct platform_device *pdev) {struct at91_usbh_data *pdata = pdev->dev.platform_data;int i;
drivers/usb/host/ohci-exynos.c +1 -1
@@ -175,7 +175,7 @@ fail_clk:return err; } -static int __devexit exynos_ohci_remove(struct platform_device *pdev) +static int exynos_ohci_remove (struct platform_device *pdev) {struct exynos4_ohci_platdata *pdata = pdev->dev.platform_data;struct exynos_ohci_hcd *exynos_ohci =platform_get_drvdata (pdev);
drivers/usb/host/ohci-jz4740.c +1 -1
@@ -239,7 +239,7 @@ err_free:return ret; } -static __devexit int jz4740_ohci_remove(struct platform_device *pdev) +static int jz4740_ohci_remove (struct platform_device *pdev) {struct usb_hcd *hcd =platform_get_drvdata (pdev);struct jz4740_ohci_hcd *jz4740_ohci =hcd_to_jz4740_hcd (hcd);
drivers/usb/host/ohci-omap3.c +1 -1
@@ -208,7 +208,7 @@ err_io:* the HCD's stop() method. It is always called from a thread * context, normally "rmmod", "apmd", or something similar. */ -static int __devexit ohci_hcd_omap3_remove(struct platform_device *pdev) +static int ohci_hcd_omap3_remove (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct usb_hcd *hcd =dev_get_drvdata (dev);
drivers/usb/host/ohci-platform.c +1 -1
@@ -149,7 +149,7 @@ err_power:return err; } -static int __devexit ohci_platform_remove(struct platform_device *dev) +static int ohci_platform_remove (struct platform_device *dev) {struct usb_hcd *hcd =platform_get_drvdata (dev);struct usb_ohci_pdata *pdata = dev->dev.platform_data;
drivers/usb/host/ohci-s3c2410.c +1 -1
@@ -463,7 +463,7 @@ static int ohci_hcd_s3c2410_drv_probe(struct platform_device *pdev)return usb_hcd_s3c2410_probe (&ohci_s3c2410_hc_driver, pdev); } -static int __devexit ohci_hcd_s3c2410_drv_remove(struct platform_device *pdev) +static int ohci_hcd_s3c2410_drv_remove (struct platform_device *pdev) {struct usb_hcd *hcd =platform_get_drvdata (pdev);
drivers/usb/host/ohci-tmio.c +1 -1
@@ -271,7 +271,7 @@ err_usb_create_hcd:return ret; } -static int __devexit ohci_hcd_tmio_drv_remove(struct platform_device *dev) +static int ohci_hcd_tmio_drv_remove (struct platform_device *dev) {struct usb_hcd *hcd =platform_get_drvdata (dev);struct tmio_hcd *tmio =hcd_to_tmio (hcd);
drivers/usb/host/r8a66597-hcd.c +1 -1
@@ -2391,7 +2391,7 @@ static const struct dev_pm_ops r8a66597_dev_pm_ops = {#define R8A66597_DEV_PM_OPS NULL#endif -static int __devexit r8a66597_remove(struct platform_device *pdev) +static int r8a66597_remove (struct platform_device *pdev) {struct r8a66597 *r8a66597 =dev_get_drvdata (&pdev->dev);struct usb_hcd *hcd =r8a66597_to_hcd (r8a66597);
drivers/usb/host/sl811-hcd.c +1 -1
@@ -1595,7 +1595,7 @@ static struct hc_driver sl811h_hc_driver = {/*-------------------------------------------------------------------------*/ -static int __devexit +static int sl811h_remove (struct platform_device *dev) {struct usb_hcd *hcd =platform_get_drvdata (dev);
drivers/usb/host/ssb-hcd.c +2 -2
@@ -206,7 +206,7 @@ err_free_usb_dev:return err; } -static void __devexit ssb_hcd_remove(struct ssb_device *dev) +static void ssb_hcd_remove (struct ssb_device *dev) {struct ssb_hcd_device *usb_dev =ssb_get_drvdata (dev);struct platform_device *ohci_dev = usb_dev->ohci_dev;
@@ -220,7 +220,7 @@ static void __devexit ssb_hcd_remove(struct ssb_device *dev)ssb_device_disable (dev,0 ); } -static void __devexit ssb_hcd_shutdown(struct ssb_device *dev) +static void ssb_hcd_shutdown (struct ssb_device *dev) {ssb_device_disable (dev,0 ); }
drivers/usb/host/u132-hcd.c +1 -1
@@ -2990,7 +2990,7 @@ static struct hc_driver u132_hc_driver = {* synchronously - but instead should immediately stop activity to the * device and asynchronously call usb_remove_hcd() */ -static int __devexit u132_remove(struct platform_device *pdev) +static int u132_remove (struct platform_device *pdev) {struct usb_hcd *hcd =platform_get_drvdata (pdev);if (hcd) {
drivers/usb/musb/am35x.c +1 -1
@@ -559,7 +559,7 @@ err0:return ret; } -static int __devexit am35x_remove(struct platform_device *pdev) +static int am35x_remove (struct platform_device *pdev) {struct am35x_glue *glue =platform_get_drvdata (pdev);
drivers/usb/musb/blackfin.c +1 -1
@@ -510,7 +510,7 @@ err0:return ret; } -static int __devexit bfin_remove(struct platform_device *pdev) +static int bfin_remove (struct platform_device *pdev) {struct bfin_glue *glue =platform_get_drvdata (pdev);
drivers/usb/musb/da8xx.c +1 -1
@@ -555,7 +555,7 @@ err0:return ret; } -static int __devexit da8xx_remove(struct platform_device *pdev) +static int da8xx_remove (struct platform_device *pdev) {struct da8xx_glue *glue =platform_get_drvdata (pdev);
drivers/usb/musb/davinci.c +1 -1
@@ -587,7 +587,7 @@ err0:return ret; } -static int __devexit davinci_remove(struct platform_device *pdev) +static int davinci_remove (struct platform_device *pdev) {struct davinci_glue *glue =platform_get_drvdata (pdev);
drivers/usb/musb/musb_core.c +1 -1
@@ -2034,7 +2034,7 @@ static int musb_probe(struct platform_device *pdev)return status; } -static int __devexit musb_remove(struct platform_device *pdev) +static int musb_remove (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct musb *musb =dev_to_musb (dev);
drivers/usb/musb/musb_dsps.c +1 -1
@@ -667,7 +667,7 @@ err1: err0:return ret; } -static int __devexit dsps_remove(struct platform_device *pdev) +static int dsps_remove (struct platform_device *pdev) {struct dsps_glue *glue =platform_get_drvdata (pdev);const struct dsps_musb_wrapper *wrp = glue->wrp;
drivers/usb/musb/omap2430.c +1 -1
@@ -605,7 +605,7 @@ err0:return ret; } -static int __devexit omap2430_remove(struct platform_device *pdev) +static int omap2430_remove (struct platform_device *pdev) {struct omap2430_glue *glue =platform_get_drvdata (pdev);
drivers/usb/musb/tusb6010.c +1 -1
@@ -1215,7 +1215,7 @@ err0:return ret; } -static int __devexit tusb_remove(struct platform_device *pdev) +static int tusb_remove (struct platform_device *pdev) {struct tusb6010_glue *glue =platform_get_drvdata (pdev);
drivers/usb/musb/ux500.c +1 -1
@@ -163,7 +163,7 @@ err0:return ret; } -static int __devexit ux500_remove(struct platform_device *pdev) +static int ux500_remove (struct platform_device *pdev) {struct ux500_glue *glue =platform_get_drvdata (pdev);
drivers/usb/otg/ab8500-usb.c +1 -1
@@ -546,7 +546,7 @@ fail0:return err; } -static int __devexit ab8500_usb_remove(struct platform_device *pdev) +static int ab8500_usb_remove (struct platform_device *pdev) {struct ab8500_usb *ab =platform_get_drvdata (pdev);
drivers/usb/otg/fsl_otg.c +1 -1
@@ -1144,7 +1144,7 @@ static int fsl_otg_probe(struct platform_device *pdev)return ret; } -static int __devexit fsl_otg_remove(struct platform_device *pdev) +static int fsl_otg_remove (struct platform_device *pdev) {struct fsl_usb2_platform_data *pdata = pdev->dev.platform_data;
drivers/usb/otg/msm_otg.c +1 -1
@@ -1606,7 +1606,7 @@ free_motg:return ret; } -static int __devexit msm_otg_remove(struct platform_device *pdev) +static int msm_otg_remove (struct platform_device *pdev) {struct msm_otg *motg =platform_get_drvdata (pdev);struct usb_phy *phy = &motg->phy;
drivers/usb/otg/mxs-phy.c +1 -1
@@ -176,7 +176,7 @@ static int mxs_phy_probe(struct platform_device *pdev)return 0 ; } -static int __devexit mxs_phy_remove(struct platform_device *pdev) +static int mxs_phy_remove (struct platform_device *pdev) {platform_set_drvdata (pdev,NULL );
drivers/usb/otg/nop-usb-xceiv.c +1 -1
@@ -141,7 +141,7 @@ exit:return err; } -static int __devexit nop_usb_xceiv_remove(struct platform_device *pdev) +static int nop_usb_xceiv_remove (struct platform_device *pdev) {struct nop_usb_xceiv *nop =platform_get_drvdata (pdev);
drivers/usb/phy/omap-usb2.c +1 -1
@@ -199,7 +199,7 @@ static int omap_usb2_probe(struct platform_device *pdev)return 0 ; } -static int __devexit omap_usb2_remove(struct platform_device *pdev) +static int omap_usb2_remove (struct platform_device *pdev) {struct omap_usb *phy =platform_get_drvdata (pdev);
drivers/usb/phy/rcar-phy.c +1 -1
@@ -196,7 +196,7 @@ static int rcar_usb_phy_probe(struct platform_device *pdev)return ret; } -static int __devexit rcar_usb_phy_remove(struct platform_device *pdev) +static int rcar_usb_phy_remove (struct platform_device *pdev) {struct rcar_usb_phy_priv *priv =platform_get_drvdata (pdev);
drivers/usb/renesas_usbhs/common.c +1 -1
@@ -556,7 +556,7 @@ probe_end_pipe_exit:return ret; } -static int __devexit usbhs_remove(struct platform_device *pdev) +static int usbhs_remove (struct platform_device *pdev) {struct usbhs_priv *priv =usbhs_pdev_to_priv (pdev);struct renesas_usbhs_platform_info *info = pdev->dev.platform_data;
Signature · 1 line
1.8.0
PATCH 431/493 usb: remove use of __devexit
Hi,
Quoted 68 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Alexander Shishkin <[email protected]>Cc Felipe Balbi <[email protected]>Cc Li Yang <[email protected]>Cc Alan Stern <[email protected]>Cc Wan ZongShun <[email protected]>Cc Ben Dooks <[email protected]>Cc Kukjin Kim <[email protected]>Cc linux-usb at vger.kernel.orgCc linux-omap at vger.kernel.orgCc linuxppc-dev at lists.ozlabs.orgCc linux-arm-kernel at lists.infradead.orgCc linux-samsung-soc at vger.kernel.org--- drivers/usb/c67x00/c67x00-drv.c | 2 +- drivers/usb/chipidea/ci13xxx_imx.c | 2 +- drivers/usb/chipidea/ci13xxx_msm.c | 2 +- drivers/usb/chipidea/ci13xxx_pci.c | 2 +- drivers/usb/chipidea/core.c | 2 +- drivers/usb/chipidea/usbmisc_imx6q.c | 2 +- drivers/usb/dwc3/core.c | 2 +- drivers/usb/dwc3/debugfs.c | 2 +- drivers/usb/dwc3/dwc3-exynos.c | 2 +- drivers/usb/dwc3/dwc3-omap.c | 2 +- drivers/usb/dwc3/dwc3-pci.c | 2 +- drivers/usb/gadget/bcm63xx_udc.c | 2 +- drivers/usb/gadget/fsl_qe_udc.c | 2 +- drivers/usb/gadget/hid.c | 2 +- drivers/usb/gadget/lpc32xx_udc.c | 2 +- drivers/usb/gadget/mv_u3d_core.c | 2 +- drivers/usb/gadget/mv_udc_core.c | 2 +- drivers/usb/gadget/net2272.c | 10 +++++----- drivers/usb/gadget/omap_udc.c | 2 +- drivers/usb/gadget/s3c-hsotg.c | 4 ++-- drivers/usb/host/bcma-hcd.c | 2 +- drivers/usb/host/ehci-atmel.c | 2 +- drivers/usb/host/ehci-msm.c | 2 +- drivers/usb/host/ehci-platform.c | 2 +- drivers/usb/host/ehci-s5p.c | 2 +- drivers/usb/host/ehci-w90x900.c | 2 +- drivers/usb/host/fhci-hcd.c | 4 ++-- drivers/usb/host/fsl-mph-dr-of.c | 4 ++-- drivers/usb/host/isp1362-hcd.c | 2 +- drivers/usb/host/isp1760-if.c | 2 +- drivers/usb/host/ohci-at91.c | 6 +++--- drivers/usb/host/ohci-exynos.c | 2 +- drivers/usb/host/ohci-jz4740.c | 2 +- drivers/usb/host/ohci-omap3.c | 2 +- drivers/usb/host/ohci-platform.c | 2 +- drivers/usb/host/ohci-s3c2410.c | 2 +- drivers/usb/host/ohci-tmio.c | 2 +- drivers/usb/host/r8a66597-hcd.c | 2 +- drivers/usb/host/sl811-hcd.c | 2 +- drivers/usb/host/ssb-hcd.c | 4 ++-- drivers/usb/host/u132-hcd.c | 2 +- drivers/usb/musb/am35x.c | 2 +- drivers/usb/musb/blackfin.c | 2 +- drivers/usb/musb/da8xx.c | 2 +- drivers/usb/musb/davinci.c | 2 +- drivers/usb/musb/musb_core.c | 2 +- drivers/usb/musb/musb_dsps.c | 2 +- drivers/usb/musb/omap2430.c | 2 +- drivers/usb/musb/tusb6010.c | 2 +- drivers/usb/musb/ux500.c | 2 +-
Quoted 8 lines
drivers/usb/otg/ab8500-usb.c | 2 +- drivers/usb/otg/fsl_otg.c | 2 +- drivers/usb/otg/msm_otg.c | 2 +- drivers/usb/otg/mxs-phy.c | 2 +- drivers/usb/otg/nop-usb-xceiv.c | 2 +- drivers/usb/phy/omap-usb2.c | 2 +- drivers/usb/phy/rcar-phy.c | 2 +- drivers/usb/renesas_usbhs/common.c | 2 +-
For drivers/usb/gadget, drivers/usb/dwc3/, drivers/usb/musb/, drivers/usb/otg/, drivers/usb/phy, and drivers/usb/renesas_usbhs:
Signature · 8 lines
balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121119/ce449069/attachment.sig>
PATCH 432/493 virtio: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/virtio/virtio_balloon.c | 2 +- drivers/virtio/virtio_mmio.c | 2 +- drivers/virtio/virtio_pci.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/virtio/virtio_balloon.c +1 -1
@@ -493,7 +493,7 @@ static void remove_common(struct virtio_balloon *vb) vb->vdev->config->del_vqs (vb->vdev); } -static void __devexit virtballoon_remove(struct virtio_device *vdev) +static void virtballoon_remove (struct virtio_device *vdev) {struct virtio_balloon *vb = vdev->priv;
drivers/virtio/virtio_mmio.c +1 -1
@@ -493,7 +493,7 @@ static int virtio_mmio_probe(struct platform_device *pdev)return register_virtio_device (&vm_dev->vdev); } -static int __devexit virtio_mmio_remove(struct platform_device *pdev) +static int virtio_mmio_remove (struct platform_device *pdev) {struct virtio_mmio_device *vm_dev =platform_get_drvdata (pdev);
drivers/virtio/virtio_pci.c +1 -1
@@ -751,7 +751,7 @@ out:return err; } -static void __devexit virtio_pci_remove(struct pci_dev *pci_dev) +static void virtio_pci_remove (struct pci_dev *pci_dev) {struct virtio_pci_device *vp_dev =pci_get_drvdata (pci_dev);
Signature · 1 line
1.8.0
PATCH 435/493 watchdog: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/watchdog/acquirewdt.c | 2 +- drivers/watchdog/advantechwdt.c | 2 +- drivers/watchdog/ar7_wdt.c | 2 +- drivers/watchdog/at91rm9200_wdt.c | 2 +- drivers/watchdog/ath79_wdt.c | 2 +- drivers/watchdog/bcm63xx_wdt.c | 2 +- drivers/watchdog/bfin_wdt.c | 2 +- drivers/watchdog/cpu5wdt.c | 4 ++-- drivers/watchdog/cpwd.c | 2 +- drivers/watchdog/da9052_wdt.c | 2 +- drivers/watchdog/davinci_wdt.c | 2 +- drivers/watchdog/dw_wdt.c | 2 +- drivers/watchdog/ep93xx_wdt.c | 2 +- drivers/watchdog/gef_wdt.c | 2 +- drivers/watchdog/geodewdt.c | 2 +- drivers/watchdog/hpwdt.c | 2 +- drivers/watchdog/i6300esb.c | 2 +- drivers/watchdog/iTCO_wdt.c | 4 ++-- drivers/watchdog/ib700wdt.c | 2 +- drivers/watchdog/ie6xx_wdt.c | 2 +- drivers/watchdog/jz4740_wdt.c | 2 +- drivers/watchdog/ks8695_wdt.c | 2 +- drivers/watchdog/lantiq_wdt.c | 2 +- drivers/watchdog/max63xx_wdt.c | 2 +- drivers/watchdog/mpc8xxx_wdt.c | 2 +- drivers/watchdog/mpcore_wdt.c | 2 +- drivers/watchdog/mtx-1_wdt.c | 2 +- drivers/watchdog/mv64x60_wdt.c | 2 +- drivers/watchdog/nuc900_wdt.c | 2 +- drivers/watchdog/nv_tco.c | 4 ++-- drivers/watchdog/of_xilinx_wdt.c | 2 +- drivers/watchdog/omap_wdt.c | 2 +- drivers/watchdog/orion_wdt.c | 2 +- drivers/watchdog/pcwd.c | 2 +- drivers/watchdog/pcwd_pci.c | 2 +- drivers/watchdog/pnx4008_wdt.c | 2 +- drivers/watchdog/rc32434_wdt.c | 2 +- drivers/watchdog/rdc321x_wdt.c | 2 +- drivers/watchdog/riowd.c | 2 +- drivers/watchdog/s3c2410_wdt.c | 2 +- drivers/watchdog/sch311x_wdt.c | 2 +- drivers/watchdog/shwdt.c | 2 +- drivers/watchdog/sp5100_tco.c | 4 ++-- drivers/watchdog/sp805_wdt.c | 2 +- drivers/watchdog/stmp3xxx_wdt.c | 2 +- drivers/watchdog/ts72xx_wdt.c | 2 +- drivers/watchdog/twl4030_wdt.c | 2 +- drivers/watchdog/via_wdt.c | 2 +- drivers/watchdog/wdt_pci.c | 2 +- drivers/watchdog/wm831x_wdt.c | 2 +- drivers/watchdog/wm8350_wdt.c | 2 +- drivers/watchdog/xen_wdt.c | 2 +- 52 files changed, 56 insertions(+), 56 deletions(-)
drivers/watchdog/acquirewdt.c +1 -1
@@ -275,7 +275,7 @@ out:return ret; } -static int __devexit acq_remove(struct platform_device *dev) +static int acq_remove (struct platform_device *dev) {misc_deregister (&acq_miscdev);release_region (wdt_start,1 );
drivers/watchdog/advantechwdt.c +1 -1
@@ -282,7 +282,7 @@ unreg_stop: goto out; } -static int __devexit advwdt_remove(struct platform_device *dev) +static int advwdt_remove (struct platform_device *dev) {misc_deregister (&advwdt_miscdev);release_region (wdt_start,1 );
drivers/watchdog/ar7_wdt.c +1 -1
@@ -314,7 +314,7 @@ out:return rc; } -static int __devexit ar7_wdt_remove(struct platform_device *pdev) +static int ar7_wdt_remove (struct platform_device *pdev) {misc_deregister (&ar7_wdt_miscdev);clk_put (vbus_clk);
drivers/watchdog/at91rm9200_wdt.c +1 -1
@@ -216,7 +216,7 @@ static int at91wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit at91wdt_remove(struct platform_device *pdev) +static int at91wdt_remove (struct platform_device *pdev) {int res;
drivers/watchdog/ath79_wdt.c +1 -1
@@ -270,7 +270,7 @@ err_clk_put:return err; } -static int __devexit ath79_wdt_remove(struct platform_device *pdev) +static int ath79_wdt_remove (struct platform_device *pdev) {misc_deregister (&ath79_wdt_miscdev);clk_disable (wdt_clk);
drivers/watchdog/bcm63xx_wdt.c +1 -1
@@ -286,7 +286,7 @@ unmap:return ret; } -static int __devexit bcm63xx_wdt_remove(struct platform_device *pdev) +static int bcm63xx_wdt_remove (struct platform_device *pdev) {if (!nowayout)bcm63xx_wdt_pause ();
drivers/watchdog/bfin_wdt.c +1 -1
@@ -379,7 +379,7 @@ static int bfin_wdt_probe(struct platform_device *pdev)* Unregisters the misc device. Actual device * deinitialization is handled by bfin_wdt_close(). */ -static int __devexit bfin_wdt_remove(struct platform_device *pdev) +static int bfin_wdt_remove (struct platform_device *pdev) {misc_deregister (&bfin_wdt_miscdev);return 0 ;
drivers/watchdog/cpu5wdt.c +2 -2
@@ -261,7 +261,7 @@ static int cpu5wdt_init_module(void)return cpu5wdt_init (); } -static void __devexit cpu5wdt_exit(void) +static void cpu5wdt_exit (void ) {if (cpu5wdt_device.queue) { cpu5wdt_device.queue =0 ;
@@ -274,7 +274,7 @@ static void __devexit cpu5wdt_exit(void) } -static void __devexit cpu5wdt_exit_module(void) +static void cpu5wdt_exit_module (void ) {cpu5wdt_exit (); }
drivers/watchdog/cpwd.c +1 -1
@@ -640,7 +640,7 @@ out_free: goto out; } -static int __devexit cpwd_remove(struct platform_device *op) +static int cpwd_remove (struct platform_device *op) {struct cpwd *p =dev_get_drvdata (&op->dev);int i;
drivers/watchdog/da9052_wdt.c +1 -1
@@ -224,7 +224,7 @@ err:return ret; } -static int __devexit da9052_wdt_remove(struct platform_device *pdev) +static int da9052_wdt_remove (struct platform_device *pdev) {struct da9052_wdt_data *driver_data =dev_get_drvdata (&pdev->dev);
drivers/watchdog/davinci_wdt.c +1 -1
@@ -248,7 +248,7 @@ static int davinci_wdt_probe(struct platform_device *pdev)return ret; } -static int __devexit davinci_wdt_remove(struct platform_device *pdev) +static int davinci_wdt_remove (struct platform_device *pdev) {misc_deregister (&davinci_wdt_miscdev);if (wdt_mem) {
drivers/watchdog/dw_wdt.c +1 -1
@@ -333,7 +333,7 @@ out_put_clk:return ret; } -static int __devexit dw_wdt_drv_remove(struct platform_device *pdev) +static int dw_wdt_drv_remove (struct platform_device *pdev) {misc_deregister (&dw_wdt_miscdev);
drivers/watchdog/ep93xx_wdt.c +1 -1
@@ -156,7 +156,7 @@ static int ep93xx_wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit ep93xx_wdt_remove(struct platform_device *pdev) +static int ep93xx_wdt_remove (struct platform_device *pdev) {watchdog_unregister_device (&ep93xx_wdt_wdd);return 0 ;
drivers/watchdog/gef_wdt.c +1 -1
@@ -285,7 +285,7 @@ static int gef_wdt_probe(struct platform_device *dev)return misc_register (&gef_wdt_miscdev); } -static int __devexit gef_wdt_remove(struct platform_device *dev) +static int gef_wdt_remove (struct platform_device *dev) {misc_deregister (&gef_wdt_miscdev);
drivers/watchdog/geodewdt.c +1 -1
@@ -243,7 +243,7 @@ static int geodewdt_probe(struct platform_device *dev)return ret; } -static int __devexit geodewdt_remove(struct platform_device *dev) +static int geodewdt_remove (struct platform_device *dev) {misc_deregister (&geodewdt_miscdev);return 0 ;
drivers/watchdog/hpwdt.c +1 -1
@@ -848,7 +848,7 @@ error_pci_iomap:return retval; } -static void __devexit hpwdt_exit(struct pci_dev *dev) +static void hpwdt_exit (struct pci_dev *dev) {if (!nowayout)hpwdt_stop ();
drivers/watchdog/i6300esb.c +1 -1
@@ -465,7 +465,7 @@ err_unmap:return ret; } -static void __devexit esb_remove(struct pci_dev *pdev) +static void esb_remove (struct pci_dev *pdev) {/* Stop the timer before we leave */ if (!nowayout)
drivers/watchdog/iTCO_wdt.c +2 -2
@@ -364,7 +364,7 @@ static struct watchdog_device iTCO_wdt_watchdog_dev = {* Init & exit routines */ -static void __devexit iTCO_wdt_cleanup(void) +static void iTCO_wdt_cleanup (void ) {/* Stop the timer before we leave */ if (!nowayout)
@@ -533,7 +533,7 @@ out:return ret; } -static int __devexit iTCO_wdt_remove(struct platform_device *dev) +static int iTCO_wdt_remove (struct platform_device *dev) {if (iTCO_wdt_private.tco_res || iTCO_wdt_private.smi_res)iTCO_wdt_cleanup ();
drivers/watchdog/ib700wdt.c +1 -1
@@ -319,7 +319,7 @@ out_nostopreg:return res; } -static int __devexit ibwdt_remove(struct platform_device *dev) +static int ibwdt_remove (struct platform_device *dev) {misc_deregister (&ibwdt_miscdev);release_region (WDT_START ,1 );
drivers/watchdog/ie6xx_wdt.c +1 -1
@@ -295,7 +295,7 @@ misc_register_error:return ret; } -static int __devexit ie6xx_wdt_remove(struct platform_device *pdev) +static int ie6xx_wdt_remove (struct platform_device *pdev) {struct resource *res;
drivers/watchdog/jz4740_wdt.c +1 -1
@@ -197,7 +197,7 @@ err_out:return ret; } -static int __devexit jz4740_wdt_remove(struct platform_device *pdev) +static int jz4740_wdt_remove (struct platform_device *pdev) {struct jz4740_wdt_drvdata *drvdata =platform_get_drvdata (pdev);
drivers/watchdog/ks8695_wdt.c +1 -1
@@ -252,7 +252,7 @@ static int ks8695wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit ks8695wdt_remove(struct platform_device *pdev) +static int ks8695wdt_remove (struct platform_device *pdev) {int res;
drivers/watchdog/lantiq_wdt.c +1 -1
@@ -220,7 +220,7 @@ ltq_wdt_probe(struct platform_device *pdev)return misc_register (<q_wdt_miscdev); } -static int __devexit +static int ltq_wdt_remove (struct platform_device *pdev) {misc_deregister (<q_wdt_miscdev);
drivers/watchdog/max63xx_wdt.c +1 -1
@@ -209,7 +209,7 @@ static int max63xx_wdt_probe(struct platform_device *pdev)return watchdog_register_device (&max63xx_wdt_dev); } -static int __devexit max63xx_wdt_remove(struct platform_device *pdev) +static int max63xx_wdt_remove (struct platform_device *pdev) {watchdog_unregister_device (&max63xx_wdt_dev);return 0 ;
drivers/watchdog/mpc8xxx_wdt.c +1 -1
@@ -245,7 +245,7 @@ err_unmap:return ret; } -static int __devexit mpc8xxx_wdt_remove(struct platform_device *ofdev) +static int mpc8xxx_wdt_remove (struct platform_device *ofdev) {mpc8xxx_wdt_pr_warn ("watchdog removed" );del_timer_sync (&wdt_timer);
drivers/watchdog/mpcore_wdt.c +1 -1
@@ -378,7 +378,7 @@ static int mpcore_wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit mpcore_wdt_remove(struct platform_device *pdev) +static int mpcore_wdt_remove (struct platform_device *pdev) {platform_set_drvdata (pdev,NULL );
drivers/watchdog/mtx-1_wdt.c +1 -1
@@ -233,7 +233,7 @@ static int mtx1_wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit mtx1_wdt_remove(struct platform_device *pdev) +static int mtx1_wdt_remove (struct platform_device *pdev) {/* FIXME: do we need to lock this test ? */ if (mtx1_wdt_device.queue) {
drivers/watchdog/mv64x60_wdt.c +1 -1
@@ -287,7 +287,7 @@ static int mv64x60_wdt_probe(struct platform_device *dev)return misc_register (&mv64x60_wdt_miscdev); } -static int __devexit mv64x60_wdt_remove(struct platform_device *dev) +static int mv64x60_wdt_remove (struct platform_device *dev) {misc_deregister (&mv64x60_wdt_miscdev);
drivers/watchdog/nuc900_wdt.c +1 -1
@@ -309,7 +309,7 @@ err_get:return ret; } -static int __devexit nuc900wdt_remove(struct platform_device *pdev) +static int nuc900wdt_remove (struct platform_device *pdev) {misc_deregister (&nuc900wdt_miscdev);
drivers/watchdog/nv_tco.c +2 -2
@@ -423,7 +423,7 @@ unreg_region:return ret; } -static void __devexit nv_tco_cleanup(void) +static void nv_tco_cleanup (void ) {u32 val;
@@ -445,7 +445,7 @@ static void __devexit nv_tco_cleanup(void)release_region (tcobase,0x10 ); } -static int __devexit nv_tco_remove(struct platform_device *dev) +static int nv_tco_remove (struct platform_device *dev) {if (tcobase)nv_tco_cleanup ();
drivers/watchdog/of_xilinx_wdt.c +1 -1
@@ -383,7 +383,7 @@ err_out:return rc; } -static int __devexit xwdt_remove(struct platform_device *dev) +static int xwdt_remove (struct platform_device *dev) {misc_deregister (&xwdt_miscdev);iounmap (xdev.base);
drivers/watchdog/omap_wdt.c +1 -1
@@ -359,7 +359,7 @@ static void omap_wdt_shutdown(struct platform_device *pdev) } } -static int __devexit omap_wdt_remove(struct platform_device *pdev) +static int omap_wdt_remove (struct platform_device *pdev) {struct omap_wdt_dev *wdev =platform_get_drvdata (pdev);struct resource *res =platform_get_resource (pdev,IORESOURCE_MEM ,0 );
drivers/watchdog/orion_wdt.c +1 -1
@@ -181,7 +181,7 @@ static int orion_wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit orion_wdt_remove(struct platform_device *pdev) +static int orion_wdt_remove (struct platform_device *pdev) {watchdog_unregister_device (&orion_wdt);clk_disable_unprepare (clk);
drivers/watchdog/pcwd.c +1 -1
@@ -949,7 +949,7 @@ error_request_region:return ret; } -static int __devexit pcwd_isa_remove(struct device *dev, unsigned int id) +static int pcwd_isa_remove (struct device *dev,unsigned int id) {if (debug >=DEBUG )pr_debug ("pcwd_isa_remove id=%d\n" , id);
drivers/watchdog/pcwd_pci.c +1 -1
@@ -785,7 +785,7 @@ err_out_disable_device:return ret; } -static void __devexit pcipcwd_card_exit(struct pci_dev *pdev) +static void pcipcwd_card_exit (struct pci_dev *pdev) {/* Stop the timer before we leave */ if (!nowayout)
drivers/watchdog/pnx4008_wdt.c +1 -1
@@ -192,7 +192,7 @@ out:return ret; } -static int __devexit pnx4008_wdt_remove(struct platform_device *pdev) +static int pnx4008_wdt_remove (struct platform_device *pdev) {watchdog_unregister_device (&pnx4008_wdd);
drivers/watchdog/rc32434_wdt.c +1 -1
@@ -306,7 +306,7 @@ unmap:return ret; } -static int __devexit rc32434_wdt_remove(struct platform_device *pdev) +static int rc32434_wdt_remove (struct platform_device *pdev) {misc_deregister (&rc32434_wdt_miscdev);iounmap (wdt_reg);
drivers/watchdog/rdc321x_wdt.c +1 -1
@@ -272,7 +272,7 @@ static int rdc321x_wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit rdc321x_wdt_remove(struct platform_device *pdev) +static int rdc321x_wdt_remove (struct platform_device *pdev) {if (rdc321x_wdt_device.queue) { rdc321x_wdt_device.queue =0 ;
drivers/watchdog/riowd.c +1 -1
@@ -220,7 +220,7 @@ out:return err; } -static int __devexit riowd_remove(struct platform_device *op) +static int riowd_remove (struct platform_device *op) {struct riowd *p =dev_get_drvdata (&op->dev);
drivers/watchdog/s3c2410_wdt.c +1 -1
@@ -437,7 +437,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)return ret; } -static int __devexit s3c2410wdt_remove(struct platform_device *dev) +static int s3c2410wdt_remove (struct platform_device *dev) {watchdog_unregister_device (&s3c2410_wdd);
drivers/watchdog/sch311x_wdt.c +1 -1
@@ -429,7 +429,7 @@ exit:return err; } -static int __devexit sch311x_wdt_remove(struct platform_device *pdev) +static int sch311x_wdt_remove (struct platform_device *pdev) {/* Stop the timer before we leave */ if (!nowayout)
drivers/watchdog/shwdt.c +1 -1
@@ -298,7 +298,7 @@ err:return rc; } -static int __devexit sh_wdt_remove(struct platform_device *pdev) +static int sh_wdt_remove (struct platform_device *pdev) {struct sh_wdt *wdt =platform_get_drvdata (pdev);
drivers/watchdog/sp5100_tco.c +2 -2
@@ -412,7 +412,7 @@ exit:return ret; } -static void __devexit sp5100_tco_cleanup(void) +static void sp5100_tco_cleanup (void ) {/* Stop the timer before we leave */ if (!nowayout)
@@ -425,7 +425,7 @@ static void __devexit sp5100_tco_cleanup(void)release_region (pm_iobase,SP5100_PM_IOPORTS_SIZE ); } -static int __devexit sp5100_tco_remove(struct platform_device *dev) +static int sp5100_tco_remove (struct platform_device *dev) {if (tcobase)sp5100_tco_cleanup ();
drivers/watchdog/sp805_wdt.c +1 -1
@@ -272,7 +272,7 @@ err:return ret; } -static int __devexit sp805_wdt_remove(struct amba_device *adev) +static int sp805_wdt_remove (struct amba_device *adev) {struct sp805_wdt *wdt =amba_get_drvdata (adev);
drivers/watchdog/stmp3xxx_wdt.c +1 -1
@@ -229,7 +229,7 @@ static int stmp3xxx_wdt_probe(struct platform_device *pdev)return ret; } -static int __devexit stmp3xxx_wdt_remove(struct platform_device *pdev) +static int stmp3xxx_wdt_remove (struct platform_device *pdev) {misc_deregister (&stmp3xxx_wdt_miscdev);return 0 ;
drivers/watchdog/ts72xx_wdt.c +1 -1
@@ -476,7 +476,7 @@ fail:return error; } -static __devexit int ts72xx_wdt_remove(struct platform_device *pdev) +static int ts72xx_wdt_remove (struct platform_device *pdev) {struct ts72xx_wdt *wdt =platform_get_drvdata (pdev);struct resource *res;
drivers/watchdog/twl4030_wdt.c +1 -1
@@ -204,7 +204,7 @@ static int twl4030_wdt_probe(struct platform_device *pdev)return 0 ; } -static int __devexit twl4030_wdt_remove(struct platform_device *pdev) +static int twl4030_wdt_remove (struct platform_device *pdev) {struct twl4030_wdt *wdt =platform_get_drvdata (pdev);
drivers/watchdog/via_wdt.c +1 -1
@@ -229,7 +229,7 @@ err_out_disable_device:return ret; } -static void __devexit wdt_remove(struct pci_dev *pdev) +static void wdt_remove (struct pci_dev *pdev) {watchdog_unregister_device (&wdt_dev);del_timer (&timer);
drivers/watchdog/wdt_pci.c +1 -1
@@ -705,7 +705,7 @@ out_pci: } -static void __devexit wdtpci_remove_one(struct pci_dev *pdev) +static void wdtpci_remove_one (struct pci_dev *pdev) {/* here we assume only one device will ever have * been picked up and registered by probe function */
drivers/watchdog/wm831x_wdt.c +1 -1
@@ -292,7 +292,7 @@ err:return ret; } -static int __devexit wm831x_wdt_remove(struct platform_device *pdev) +static int wm831x_wdt_remove (struct platform_device *pdev) {struct wm831x_wdt_drvdata *driver_data =dev_get_drvdata (&pdev->dev);
drivers/watchdog/wm8350_wdt.c +1 -1
@@ -158,7 +158,7 @@ static int wm8350_wdt_probe(struct platform_device *pdev)return watchdog_register_device (&wm8350_wdt); } -static int __devexit wm8350_wdt_remove(struct platform_device *pdev) +static int wm8350_wdt_remove (struct platform_device *pdev) {watchdog_unregister_device (&wm8350_wdt);return 0 ;
drivers/watchdog/xen_wdt.c +1 -1
@@ -280,7 +280,7 @@ static int xen_wdt_probe(struct platform_device *dev)return ret; } -static int __devexit xen_wdt_remove(struct platform_device *dev) +static int xen_wdt_remove (struct platform_device *dev) {/* Stop the timer before we leave */ if (!nowayout)
Signature · 1 line
1.8.0
PATCH 435/493 watchdog: remove use of __devexit
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/b5e5f385/attachment.sig>
PATCH 437/493 char: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/char/agp/ali-agp.c | 2 +- drivers/char/agp/amd-k7-agp.c | 2 +- drivers/char/agp/amd64-agp.c | 2 +- drivers/char/agp/ati-agp.c | 2 +- drivers/char/agp/efficeon-agp.c | 2 +- drivers/char/agp/i460-agp.c | 2 +- drivers/char/agp/intel-agp.c | 2 +- drivers/char/agp/nvidia-agp.c | 2 +- drivers/char/agp/sgi-agp.c | 2 +- drivers/char/agp/sis-agp.c | 2 +- drivers/char/agp/sworks-agp.c | 2 +- drivers/char/agp/uninorth-agp.c | 2 +- drivers/char/agp/via-agp.c | 2 +- drivers/char/hw_random/atmel-rng.c | 2 +- drivers/char/hw_random/bcm63xx-rng.c | 2 +- drivers/char/hw_random/exynos-rng.c | 2 +- drivers/char/hw_random/n2-drv.c | 2 +- drivers/char/hw_random/pasemi-rng.c | 2 +- drivers/char/hw_random/picoxcell-rng.c | 2 +- drivers/char/hw_random/ppc4xx-rng.c | 2 +- drivers/char/hw_random/timeriomem-rng.c | 2 +- drivers/char/hw_random/virtio-rng.c | 2 +- drivers/char/ipmi/ipmi_si_intf.c | 6 +++--- drivers/char/sonypi.c | 2 +- drivers/char/tb0219.c | 2 +- drivers/char/tpm/tpm_i2c_infineon.c | 2 +- drivers/char/tpm/tpm_ibmvtpm.c | 2 +- drivers/char/tpm/tpm_infineon.c | 2 +- drivers/char/tpm/tpm_tis.c | 2 +- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 4 ++-- 30 files changed, 33 insertions(+), 33 deletions(-)
drivers/char/agp/ali-agp.c +1 -1
@@ -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);
drivers/char/agp/amd-k7-agp.c +1 -1
@@ -480,7 +480,7 @@ static int 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);
drivers/char/agp/amd64-agp.c +1 -1
@@ -579,7 +579,7 @@ static int 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);
drivers/char/agp/ati-agp.c +1 -1
@@ -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);
drivers/char/agp/efficeon-agp.c +1 -1
@@ -407,7 +407,7 @@ static int 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);
drivers/char/agp/i460-agp.c +1 -1
@@ -611,7 +611,7 @@ static int 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);
drivers/char/agp/intel-agp.c +1 -1
@@ -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);
drivers/char/agp/nvidia-agp.c +1 -1
@@ -388,7 +388,7 @@ static int 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);
drivers/char/agp/sgi-agp.c +1 -1
@@ -327,7 +327,7 @@ static int 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 ;
drivers/char/agp/sis-agp.c +1 -1
@@ -211,7 +211,7 @@ static int 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);
drivers/char/agp/sworks-agp.c +1 -1
@@ -518,7 +518,7 @@ static int 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);
drivers/char/agp/uninorth-agp.c +1 -1
@@ -663,7 +663,7 @@ static int 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);
drivers/char/agp/via-agp.c +1 -1
@@ -485,7 +485,7 @@ static int 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);
drivers/char/hw_random/atmel-rng.c +1 -1
@@ -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);
drivers/char/hw_random/bcm63xx-rng.c +1 -1
@@ -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);
drivers/char/hw_random/exynos-rng.c +1 -1
@@ -134,7 +134,7 @@ static int 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);
drivers/char/hw_random/n2-drv.c +1 -1
@@ -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);
drivers/char/hw_random/pasemi-rng.c +1 -1
@@ -122,7 +122,7 @@ static int 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;
drivers/char/hw_random/picoxcell-rng.c +1 -1
@@ -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);
drivers/char/hw_random/ppc4xx-rng.c +1 -1
@@ -111,7 +111,7 @@ static int 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;
drivers/char/hw_random/timeriomem-rng.c +1 -1
@@ -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);
drivers/char/hw_random/virtio-rng.c +1 -1
@@ -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); }
drivers/char/ipmi/ipmi_si_intf.c +3 -3
@@ -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));
drivers/char/sonypi.c +1 -1
@@ -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 ();
drivers/char/tb0219.c +1 -1
@@ -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;
drivers/char/tpm/tpm_i2c_infineon.c +1 -1
@@ -656,7 +656,7 @@ static int 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 );
drivers/char/tpm/tpm_ibmvtpm.c +1 -1
@@ -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 ;
drivers/char/tpm/tpm_infineon.c +1 -1
@@ -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);
drivers/char/tpm/tpm_tis.c +1 -1
@@ -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);
drivers/char/xilinx_hwicap/xilinx_hwicap.c +2 -2
@@ -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); }
Signature · 1 line
1.8.0
PATCH 437/493 char: remove use of __devexit
Quoted 16 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc David Airlie <[email protected]>Cc Olof Johansson <[email protected]>Cc Mattia Dongili <[email protected]>Cc Kent Yoder <[email protected]>Cc Rajiv Andrade <[email protected]>Cc Marcel Selhorst <[email protected]>Cc Sirrix AG <[email protected]>Cc linuxppc-dev at lists.ozlabs.orgCc linux-arm-kernel at lists.infradead.orgCc openipmi-developer at lists.sourceforge.netCc platform-driver-x86 at vger.kernel.orgCc tpmdd-devel at lists.sourceforge.net
Quoted 453 lines
--- drivers/char/agp/ali-agp.c | 2 +- drivers/char/agp/amd-k7-agp.c | 2 +- drivers/char/agp/amd64-agp.c | 2 +- drivers/char/agp/ati-agp.c | 2 +- drivers/char/agp/efficeon-agp.c | 2 +- drivers/char/agp/i460-agp.c | 2 +- drivers/char/agp/intel-agp.c | 2 +- drivers/char/agp/nvidia-agp.c | 2 +- drivers/char/agp/sgi-agp.c | 2 +- drivers/char/agp/sis-agp.c | 2 +- drivers/char/agp/sworks-agp.c | 2 +- drivers/char/agp/uninorth-agp.c | 2 +- drivers/char/agp/via-agp.c | 2 +- drivers/char/hw_random/atmel-rng.c | 2 +- drivers/char/hw_random/bcm63xx-rng.c | 2 +- drivers/char/hw_random/exynos-rng.c | 2 +- drivers/char/hw_random/n2-drv.c | 2 +- drivers/char/hw_random/pasemi-rng.c | 2 +- drivers/char/hw_random/picoxcell-rng.c | 2 +- drivers/char/hw_random/ppc4xx-rng.c | 2 +- drivers/char/hw_random/timeriomem-rng.c | 2 +- drivers/char/hw_random/virtio-rng.c | 2 +- drivers/char/ipmi/ipmi_si_intf.c | 6 +++--- drivers/char/sonypi.c | 2 +- drivers/char/tb0219.c | 2 +- drivers/char/tpm/tpm_i2c_infineon.c | 2 +- drivers/char/tpm/tpm_ibmvtpm.c | 2 +- drivers/char/tpm/tpm_infineon.c | 2 +- drivers/char/tpm/tpm_tis.c | 2 +- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 4 ++-- 30 files changed, 33 insertions(+), 33 deletions(-)drivers/char/agp/ali-agp.c +1
-1@@ -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);drivers/char/agp/amd-k7-agp.c +1
-1@@ -480,7 +480,7 @@ static int 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);drivers/char/agp/amd64-agp.c +1
-1@@ -579,7 +579,7 @@ static int 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);drivers/char/agp/ati-agp.c +1
-1@@ -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);drivers/char/agp/efficeon-agp.c +1
-1@@ -407,7 +407,7 @@ static int 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);drivers/char/agp/i460-agp.c +1
-1@@ -611,7 +611,7 @@ static int 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);drivers/char/agp/intel-agp.c +1
-1@@ -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);drivers/char/agp/nvidia-agp.c +1
-1@@ -388,7 +388,7 @@ static int 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);drivers/char/agp/sgi-agp.c +1
-1@@ -327,7 +327,7 @@ static int 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 ;drivers/char/agp/sis-agp.c +1
-1@@ -211,7 +211,7 @@ static int 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);drivers/char/agp/sworks-agp.c +1
-1@@ -518,7 +518,7 @@ static int 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);drivers/char/agp/uninorth-agp.c +1
-1@@ -663,7 +663,7 @@ static int 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);drivers/char/agp/via-agp.c +1
-1@@ -485,7 +485,7 @@ static int 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);drivers/char/hw_random/atmel-rng.c +1
-1@@ -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);drivers/char/hw_random/bcm63xx-rng.c +1
-1@@ -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);drivers/char/hw_random/exynos-rng.c +1
-1@@ -134,7 +134,7 @@ static int 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);drivers/char/hw_random/n2-drv.c +1
-1@@ -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);drivers/char/hw_random/pasemi-rng.c +1
-1@@ -122,7 +122,7 @@ static int 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;drivers/char/hw_random/picoxcell-rng.c +1
-1@@ -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);drivers/char/hw_random/ppc4xx-rng.c +1
-1@@ -111,7 +111,7 @@ static int 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;drivers/char/hw_random/timeriomem-rng.c +1
-1@@ -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);drivers/char/hw_random/virtio-rng.c +1
-1@@ -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); }drivers/char/ipmi/ipmi_si_intf.c +3
-3@@ -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));drivers/char/sonypi.c +1
-1@@ -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 ();drivers/char/tb0219.c +1
-1@@ -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;drivers/char/tpm/tpm_i2c_infineon.c +1
-1@@ -656,7 +656,7 @@ static int 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 );drivers/char/tpm/tpm_ibmvtpm.c +1
-1@@ -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 ;drivers/char/tpm/tpm_infineon.c +1
-1@@ -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);drivers/char/tpm/tpm_tis.c +1
-1@@ -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);drivers/char/xilinx_hwicap/xilinx_hwicap.c +2
-2@@ -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); }Signature · 1 line
1.8.0
PATCH 438/493 drivers: connector: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/connector/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/connector/connector.c +1 -1
@@ -281,7 +281,7 @@ static int cn_init(void)return 0 ; } -static void __devexit cn_fini(void) +static void cn_fini (void ) {struct cn_dev *dev = &cdev;
Signature · 1 line
1.8.0
PATCH 442/493 drm/exynos: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 +- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_fimd.c +1 -1
@@ -939,7 +939,7 @@ err_clk_get:return ret; } -static int __devexit fimd_remove(struct platform_device *pdev) +static int fimd_remove (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct fimd_context *ctx =platform_get_drvdata (pdev);
drivers/gpu/drm/exynos/exynos_drm_g2d.c +1 -1
@@ -844,7 +844,7 @@ err_destroy_slab:return ret; } -static int __devexit g2d_remove(struct platform_device *pdev) +static int g2d_remove (struct platform_device *pdev) {struct g2d_data *g2d =platform_get_drvdata (pdev);
drivers/gpu/drm/exynos/exynos_drm_hdmi.c +1 -1
@@ -376,7 +376,7 @@ static int exynos_drm_hdmi_probe(struct platform_device *pdev)return 0 ; } -static int __devexit exynos_drm_hdmi_remove(struct platform_device *pdev) +static int exynos_drm_hdmi_remove (struct platform_device *pdev) {struct drm_hdmi_context *ctx =platform_get_drvdata (pdev);
drivers/gpu/drm/exynos/exynos_drm_vidi.c +1 -1
@@ -667,7 +667,7 @@ static int vidi_probe(struct platform_device *pdev)return 0 ; } -static int __devexit vidi_remove(struct platform_device *pdev) +static int vidi_remove (struct platform_device *pdev) {struct vidi_context *ctx =platform_get_drvdata (pdev);
drivers/gpu/drm/exynos/exynos_hdmi.c +1 -1
@@ -2478,7 +2478,7 @@ err_data:return ret; } -static int __devexit hdmi_remove(struct platform_device *pdev) +static int hdmi_remove (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct exynos_drm_hdmi_context *ctx =platform_get_drvdata (pdev);
Signature · 1 line
1.8.0
PATCH 443/493 drivers/macintosh: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/macintosh/macio_asic.c | 2 +- drivers/macintosh/rack-meter.c | 2 +- drivers/macintosh/windfarm_ad7417_sensor.c | 4 ++-- drivers/macintosh/windfarm_fcu_controls.c | 2 +- drivers/macintosh/windfarm_pm112.c | 2 +- drivers/macintosh/windfarm_pm121.c | 2 +- drivers/macintosh/windfarm_pm72.c | 2 +- drivers/macintosh/windfarm_pm81.c | 2 +- drivers/macintosh/windfarm_pm91.c | 2 +- drivers/macintosh/windfarm_rm31.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-)
drivers/macintosh/macio_asic.c +1 -1
@@ -739,7 +739,7 @@ static int macio_pci_probe(struct pci_dev *pdev, const struct pci_device_id *entreturn 0 ; } -static void __devexit macio_pci_remove(struct pci_dev* pdev) +static void macio_pci_remove (struct pci_dev * pdev) {panic ("removing of macio-asic not supported !\n" ); }
drivers/macintosh/rack-meter.c +1 -1
@@ -521,7 +521,7 @@ static int rackmeter_probe(struct macio_dev* mdev,return rc; } -static int __devexit rackmeter_remove(struct macio_dev* mdev) +static int rackmeter_remove (struct macio_dev * mdev) {struct rackmeter *rm =dev_get_drvdata (&mdev->ofdev.dev);
drivers/macintosh/windfarm_ad7417_sensor.c +2 -2
@@ -290,7 +290,7 @@ static int wf_ad7417_probe(struct i2c_client *client,return 0 ; } -static int __devexit wf_ad7417_remove(struct i2c_client *client) +static int wf_ad7417_remove (struct i2c_client *client) {struct wf_ad7417_priv *pv =dev_get_drvdata (&client->dev);int i;
@@ -333,7 +333,7 @@ static int wf_ad7417_init(void)return i2c_add_driver (&wf_ad7417_driver); } -static void __devexit wf_ad7417_exit(void) +static void wf_ad7417_exit (void ) {i2c_del_driver (&wf_ad7417_driver); }
drivers/macintosh/windfarm_fcu_controls.c +1 -1
@@ -564,7 +564,7 @@ static int wf_fcu_probe(struct i2c_client *client,return 0 ; } -static int __devexit wf_fcu_remove(struct i2c_client *client) +static int wf_fcu_remove (struct i2c_client *client) {struct wf_fcu_priv *pv =dev_get_drvdata (&client->dev);struct wf_fcu_fan *fan;
drivers/macintosh/windfarm_pm112.c +1 -1
@@ -656,7 +656,7 @@ static int wf_pm112_probe(struct platform_device *dev)return 0 ; } -static int __devexit wf_pm112_remove(struct platform_device *dev) +static int wf_pm112_remove (struct platform_device *dev) {wf_unregister_client (&pm112_events);/* should release all sensors and controls */
drivers/macintosh/windfarm_pm121.c +1 -1
@@ -987,7 +987,7 @@ static int pm121_probe(struct platform_device *ddev)return 0 ; } -static int __devexit pm121_remove(struct platform_device *ddev) +static int pm121_remove (struct platform_device *ddev) {wf_unregister_client (&pm121_events);return 0 ;
drivers/macintosh/windfarm_pm72.c +1 -1
@@ -776,7 +776,7 @@ static int wf_pm72_probe(struct platform_device *dev)return 0 ; } -static int __devexit wf_pm72_remove(struct platform_device *dev) +static int wf_pm72_remove (struct platform_device *dev) {wf_unregister_client (&pm72_events);
drivers/macintosh/windfarm_pm81.c +1 -1
@@ -720,7 +720,7 @@ static int wf_smu_probe(struct platform_device *ddev)return 0 ; } -static int __devexit wf_smu_remove(struct platform_device *ddev) +static int wf_smu_remove (struct platform_device *ddev) {wf_unregister_client (&wf_smu_events);
drivers/macintosh/windfarm_pm91.c +1 -1
@@ -642,7 +642,7 @@ static int wf_smu_probe(struct platform_device *ddev)return 0 ; } -static int __devexit wf_smu_remove(struct platform_device *ddev) +static int wf_smu_remove (struct platform_device *ddev) {wf_unregister_client (&wf_smu_events);
drivers/macintosh/windfarm_rm31.c +1 -1
@@ -669,7 +669,7 @@ static int wf_rm31_probe(struct platform_device *dev)return 0 ; } -static int __devexit wf_rm31_remove(struct platform_device *dev) +static int wf_rm31_remove (struct platform_device *dev) {wf_unregister_client (&rm31_events);
Signature · 1 line
1.8.0
PATCH 444/493 media: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/media/i2c/adv7180.c | 2 +- drivers/media/i2c/as3645a.c | 2 +- drivers/media/i2c/m5mols/m5mols_core.c | 2 +- drivers/media/i2c/vs6624.c | 2 +- drivers/media/pci/bt8xx/bt878.c | 2 +- drivers/media/pci/bt8xx/bttv-driver.c | 2 +- drivers/media/pci/bt8xx/bttv-input.c | 2 +- drivers/media/pci/cx23885/cx23885-core.c | 2 +- drivers/media/pci/cx25821/cx25821-core.c | 2 +- drivers/media/pci/cx88/cx88-alsa.c | 2 +- drivers/media/pci/cx88/cx88-mpeg.c | 2 +- drivers/media/pci/cx88/cx88-video.c | 2 +- drivers/media/pci/ddbridge/ddbridge-core.c | 2 +- drivers/media/pci/dm1105/dm1105.c | 4 ++-- drivers/media/pci/mantis/hopper_cards.c | 4 ++-- drivers/media/pci/mantis/mantis_cards.c | 4 ++-- drivers/media/pci/mantis/mantis_dvb.c | 2 +- drivers/media/pci/meye/meye.c | 2 +- drivers/media/pci/ngene/ngene-core.c | 2 +- drivers/media/pci/ngene/ngene.h | 2 +- drivers/media/pci/pluto2/pluto2.c | 2 +- drivers/media/pci/pt1/pt1.c | 2 +- drivers/media/pci/saa7134/saa7134-core.c | 2 +- drivers/media/pci/saa7164/saa7164-core.c | 2 +- drivers/media/pci/sta2x11/sta2x11_vip.c | 2 +- drivers/media/pci/ttpci/av7110.c | 2 +- drivers/media/pci/ttpci/av7110_ir.c | 2 +- drivers/media/pci/zoran/zoran_card.c | 2 +- drivers/media/platform/blackfin/bfin_capture.c | 2 +- drivers/media/platform/davinci/vpfe_capture.c | 2 +- drivers/media/platform/davinci/vpif.c | 2 +- drivers/media/platform/davinci/vpss.c | 2 +- drivers/media/platform/exynos-gsc/gsc-core.c | 2 +- drivers/media/platform/fsl-viu.c | 2 +- drivers/media/platform/omap3isp/isp.c | 2 +- drivers/media/platform/s5p-fimc/fimc-core.c | 2 +- drivers/media/platform/s5p-fimc/fimc-lite.c | 2 +- drivers/media/platform/s5p-fimc/fimc-mdevice.c | 2 +- drivers/media/platform/s5p-fimc/mipi-csis.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc.c | 2 +- drivers/media/platform/s5p-tv/hdmi_drv.c | 2 +- drivers/media/platform/s5p-tv/hdmiphy_drv.c | 2 +- drivers/media/platform/s5p-tv/mixer_drv.c | 2 +- drivers/media/platform/s5p-tv/sdo_drv.c | 2 +- drivers/media/platform/s5p-tv/sii9234_drv.c | 2 +- drivers/media/platform/sh_vou.c | 2 +- drivers/media/platform/soc_camera/atmel-isi.c | 2 +- drivers/media/platform/soc_camera/mx2_camera.c | 2 +- drivers/media/platform/soc_camera/mx3_camera.c | 2 +- drivers/media/platform/soc_camera/pxa_camera.c | 2 +- drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/platform/soc_camera/sh_mobile_csi2.c | 2 +- drivers/media/platform/soc_camera/soc_camera.c | 2 +- drivers/media/platform/timblogiw.c | 2 +- drivers/media/platform/via-camera.c | 2 +- drivers/media/radio/radio-maxiradio.c | 2 +- drivers/media/radio/radio-sf16fmr2.c | 6 +++--- drivers/media/radio/radio-tea5764.c | 2 +- drivers/media/radio/radio-timb.c | 2 +- drivers/media/radio/saa7706h.c | 2 +- drivers/media/radio/si470x/radio-si470x-i2c.c | 2 +- drivers/media/radio/tef6862.c | 2 +- drivers/media/rc/fintek-cir.c | 2 +- drivers/media/rc/gpio-ir-recv.c | 2 +- drivers/media/rc/iguanair.c | 2 +- drivers/media/rc/imon.c | 2 +- drivers/media/rc/ite-cir.c | 2 +- drivers/media/rc/mceusb.c | 2 +- drivers/media/rc/nuvoton-cir.c | 2 +- drivers/media/rc/redrat3.c | 2 +- drivers/media/rc/ttusbir.c | 2 +- drivers/media/rc/winbond-cir.c | 2 +- drivers/media/usb/usbvision/usbvision-video.c | 2 +- 73 files changed, 78 insertions(+), 78 deletions(-)
drivers/media/i2c/adv7180.c +1 -1
@@ -587,7 +587,7 @@ err:return ret; } -static __devexit int adv7180_remove(struct i2c_client *client) +static int adv7180_remove (struct i2c_client *client) {struct v4l2_subdev *sd =i2c_get_clientdata (client);struct adv7180_state *state =to_state (sd);
drivers/media/i2c/as3645a.c +1 -1
@@ -846,7 +846,7 @@ done:return ret; } -static int __devexit as3645a_remove(struct i2c_client *client) +static int as3645a_remove (struct i2c_client *client) {struct v4l2_subdev *subdev =i2c_get_clientdata (client);struct as3645a *flash =to_as3645a (subdev);
drivers/media/i2c/m5mols/m5mols_core.c +1 -1
@@ -1018,7 +1018,7 @@ out_free:return ret; } -static int __devexit m5mols_remove(struct i2c_client *client) +static int m5mols_remove (struct i2c_client *client) {struct v4l2_subdev *sd =i2c_get_clientdata (client);struct m5mols_info *info =to_m5mols (sd);
drivers/media/i2c/vs6624.c +1 -1
@@ -881,7 +881,7 @@ static int vs6624_probe(struct i2c_client *client,return ret; } -static int __devexit vs6624_remove(struct i2c_client *client) +static int vs6624_remove (struct i2c_client *client) {struct v4l2_subdev *sd =i2c_get_clientdata (client);struct vs6624 *sensor =to_vs6624 (sd);
drivers/media/pci/bt8xx/bt878.c +1 -1
@@ -529,7 +529,7 @@ static int bt878_probe(struct pci_dev *dev,return result; } -static void __devexit bt878_remove(struct pci_dev *pci_dev) +static void bt878_remove (struct pci_dev *pci_dev) {u8 command;struct bt878 *bt =pci_get_drvdata (pci_dev);
drivers/media/pci/bt8xx/bttv-driver.c +1 -1
@@ -4455,7 +4455,7 @@ fail0:return result; } -static void __devexit bttv_remove(struct pci_dev *pci_dev) +static void bttv_remove (struct pci_dev *pci_dev) {struct v4l2_device *v4l2_dev =pci_get_drvdata (pci_dev);struct bttv *btv =to_bttv (v4l2_dev);
drivers/media/pci/bt8xx/bttv-input.c +1 -1
@@ -411,7 +411,7 @@ void init_bttv_i2c_ir(struct bttv *btv)return ; } -int __devexit fini_bttv_i2c(struct bttv *btv) +int fini_bttv_i2c (struct bttv *btv) {if (0 != btv->i2c_rc)return 0 ;
drivers/media/pci/cx23885/cx23885-core.c +1 -1
@@ -2169,7 +2169,7 @@ fail_free:return err; } -static void __devexit cx23885_finidev(struct pci_dev *pci_dev) +static void cx23885_finidev (struct pci_dev *pci_dev) {struct v4l2_device *v4l2_dev =pci_get_drvdata (pci_dev);struct cx23885_dev *dev =to_cx23885 (v4l2_dev);
drivers/media/pci/cx25821/cx25821-core.c +1 -1
@@ -1433,7 +1433,7 @@ fail_free:return err; } -static void __devexit cx25821_finidev(struct pci_dev *pci_dev) +static void cx25821_finidev (struct pci_dev *pci_dev) {struct v4l2_device *v4l2_dev =pci_get_drvdata (pci_dev);struct cx25821_dev *dev =get_cx25821 (v4l2_dev);
drivers/media/pci/cx88/cx88-alsa.c +1 -1
@@ -927,7 +927,7 @@ error:/* * ALSA destructor */ -static void __devexit cx88_audio_finidev(struct pci_dev *pci) +static void cx88_audio_finidev (struct pci_dev *pci) {struct cx88_audio_dev *card =pci_get_drvdata (pci);
drivers/media/pci/cx88/cx88-mpeg.c +1 -1
@@ -838,7 +838,7 @@ static int cx8802_probe(struct pci_dev *pci_dev,return err; } -static void __devexit cx8802_remove(struct pci_dev *pci_dev) +static void cx8802_remove (struct pci_dev *pci_dev) {struct cx8802_dev *dev;
drivers/media/pci/cx88/cx88-video.c +1 -1
@@ -1923,7 +1923,7 @@ fail_free:return err; } -static void __devexit cx8800_finidev(struct pci_dev *pci_dev) +static void cx8800_finidev (struct pci_dev *pci_dev) {struct cx8800_dev *dev =pci_get_drvdata (pci_dev);struct cx88_core *core = dev->core;
drivers/media/pci/ddbridge/ddbridge-core.c +1 -1
@@ -1542,7 +1542,7 @@ static void ddb_unmap(struct ddb *dev) } -static void __devexit ddb_remove(struct pci_dev *pdev) +static void ddb_remove (struct pci_dev *pdev) {struct ddb *dev = (struct ddb *)pci_get_drvdata (pdev);
drivers/media/pci/dm1105/dm1105.c +2 -2
@@ -776,7 +776,7 @@ int dm1105_ir_init(struct dm1105_dev *dm1105)return 0 ; } -void __devexit dm1105_ir_exit(struct dm1105_dev *dm1105) +void dm1105_ir_exit (struct dm1105_dev *dm1105) {rc_unregister_device (dm1105->ir.dev); }
@@ -1172,7 +1172,7 @@ err_kfree:return ret; } -static void __devexit dm1105_remove(struct pci_dev *pdev) +static void dm1105_remove (struct pci_dev *pdev) {struct dm1105_dev *dev =pci_get_drvdata (pdev);struct dvb_adapter *dvb_adapter = &dev->dvb_adapter;
drivers/media/pci/mantis/hopper_cards.c +2 -2
@@ -230,7 +230,7 @@ fail0:return err; } -static void __devexit hopper_pci_remove(struct pci_dev *pdev) +static void hopper_pci_remove (struct pci_dev *pdev) {struct mantis_pci *mantis =pci_get_drvdata (pdev);
@@ -264,7 +264,7 @@ static int hopper_init(void)return pci_register_driver (&hopper_pci_driver); } -static void __devexit hopper_exit(void) +static void hopper_exit (void ) {return pci_unregister_driver (&hopper_pci_driver); }
drivers/media/pci/mantis/mantis_cards.c +2 -2
@@ -249,7 +249,7 @@ fail0:return err; } -static void __devexit mantis_pci_remove(struct pci_dev *pdev) +static void mantis_pci_remove (struct pci_dev *pdev) {struct mantis_pci *mantis =pci_get_drvdata (pdev);
@@ -294,7 +294,7 @@ static int mantis_init(void)return pci_register_driver (&mantis_pci_driver); } -static void __devexit mantis_exit(void) +static void mantis_exit (void ) {return pci_unregister_driver (&mantis_pci_driver); }
drivers/media/pci/mantis/mantis_dvb.c +1 -1
@@ -271,7 +271,7 @@ err0: }EXPORT_SYMBOL_GPL (mantis_dvb_init); -int __devexit mantis_dvb_exit(struct mantis_pci *mantis) +int mantis_dvb_exit (struct mantis_pci *mantis) {int err;
drivers/media/pci/meye/meye.c +1 -1
@@ -1889,7 +1889,7 @@ outnotdev:return ret; } -static void __devexit meye_remove(struct pci_dev *pcidev) +static void meye_remove (struct pci_dev *pcidev) {video_unregister_device (meye.vdev);
drivers/media/pci/ngene/ngene-core.c +1 -1
@@ -1636,7 +1636,7 @@ void ngene_shutdown(struct pci_dev *pdev)/* device probe/remove calls ************************************************/ /****************************************************************************/ -void __devexit ngene_remove(struct pci_dev *pdev) +void ngene_remove (struct pci_dev *pdev) {struct ngene *dev =pci_get_drvdata (pdev);int i;
drivers/media/pci/ngene/ngene.h +1 -1
@@ -889,7 +889,7 @@ struct ngene_buffer {/* Provided by ngene-core.c */ int ngene_probe (struct pci_dev *pci_dev,const struct pci_device_id *id); -void __devexit ngene_remove(struct pci_dev *pdev); +void ngene_remove (struct pci_dev *pdev);void ngene_shutdown (struct pci_dev *pdev);int ngene_command (struct ngene *dev,struct ngene_command *com);int ngene_command_gpio_set (struct ngene *dev,u8 select,u8 level);
drivers/media/pci/pluto2/pluto2.c +1 -1
@@ -742,7 +742,7 @@ err_kfree: goto out; } -static void __devexit pluto2_remove(struct pci_dev *pdev) +static void pluto2_remove (struct pci_dev *pdev) {struct pluto *pluto =pci_get_drvdata (pdev);struct dvb_adapter *dvb_adapter = &pluto->dvb_adapter;
drivers/media/pci/pt1/pt1.c +1 -1
@@ -1058,7 +1058,7 @@ static void pt1_i2c_init(struct pt1 *pt1)pt1_i2c_emit (pt1, i,0 ,0 ,1 ,1 ,0 ); } -static void __devexit pt1_remove(struct pci_dev *pdev) +static void pt1_remove (struct pci_dev *pdev) {struct pt1 *pt1;void __iomem *regs;
drivers/media/pci/saa7134/saa7134-core.c +1 -1
@@ -1103,7 +1103,7 @@ static int saa7134_initdev(struct pci_dev *pci_dev,return err; } -static void __devexit saa7134_finidev(struct pci_dev *pci_dev) +static void saa7134_finidev (struct pci_dev *pci_dev) {struct v4l2_device *v4l2_dev =pci_get_drvdata (pci_dev); struct saa7134_dev *dev = container_of(v4l2_dev, struct saa7134_dev, v4l2_dev);
drivers/media/pci/saa7164/saa7164-core.c +1 -1
@@ -1376,7 +1376,7 @@ static void saa7164_shutdown(struct saa7164_dev *dev)dprintk (1 ,"%s()\n" , __func__); } -static void __devexit saa7164_finidev(struct pci_dev *pci_dev) +static void saa7164_finidev (struct pci_dev *pci_dev) {struct saa7164_dev *dev =pci_get_drvdata (pci_dev);
drivers/media/pci/sta2x11/sta2x11_vip.c +1 -1
@@ -1376,7 +1376,7 @@ disable:* free memory * free GPIO pins */ -static void __devexit sta2x11_vip_remove_one(struct pci_dev *pdev) +static void sta2x11_vip_remove_one (struct pci_dev *pdev) {struct v4l2_device *v4l2_dev =pci_get_drvdata (pdev); struct sta2x11_vip *vip =
drivers/media/pci/ttpci/av7110.c +1 -1
@@ -2761,7 +2761,7 @@ err_kfree_0: goto out; } -static int __devexit av7110_detach(struct saa7146_dev* saa) +static int av7110_detach (struct saa7146_dev * saa) {struct av7110 *av7110 = saa->ext_priv;dprintk (4 ,"%p\n" , av7110);
drivers/media/pci/ttpci/av7110_ir.c +1 -1
@@ -385,7 +385,7 @@ int av7110_ir_init(struct av7110 *av7110) } -void __devexit av7110_ir_exit(struct av7110 *av7110) +void av7110_ir_exit (struct av7110 *av7110) {int i;
drivers/media/pci/zoran/zoran_card.c +1 -1
@@ -1083,7 +1083,7 @@ exit_free:return err; } -static void __devexit zoran_remove(struct pci_dev *pdev) +static void zoran_remove (struct pci_dev *pdev) {struct v4l2_device *v4l2_dev =dev_get_drvdata (&pdev->dev);struct zoran *zr =to_zoran (v4l2_dev);
drivers/media/platform/blackfin/bfin_capture.c +1 -1
@@ -1026,7 +1026,7 @@ err_free_dev:return ret; } -static int __devexit bcap_remove(struct platform_device *pdev) +static int bcap_remove (struct platform_device *pdev) {struct v4l2_device *v4l2_dev =platform_get_drvdata (pdev); struct bcap_device *bcap_dev = container_of(v4l2_dev,
drivers/media/platform/davinci/vpfe_capture.c +1 -1
@@ -2038,7 +2038,7 @@ probe_free_dev_mem:/* * vpfe_remove : It un-register device from V4L2 driver */ -static int __devexit vpfe_remove(struct platform_device *pdev) +static int vpfe_remove (struct platform_device *pdev) {struct vpfe_device *vpfe_dev =platform_get_drvdata (pdev);
drivers/media/platform/davinci/vpif.c +1 -1
@@ -457,7 +457,7 @@ fail:return status; } -static int __devexit vpif_remove(struct platform_device *pdev) +static int vpif_remove (struct platform_device *pdev) {if (vpif_clk) {clk_disable (vpif_clk);
drivers/media/platform/davinci/vpss.c +1 -1
@@ -445,7 +445,7 @@ fail1:return status; } -static int __devexit vpss_remove(struct platform_device *pdev) +static int vpss_remove (struct platform_device *pdev) {struct resource *res;
drivers/media/platform/exynos-gsc/gsc-core.c +1 -1
@@ -1149,7 +1149,7 @@ err_clk:return ret; } -static int __devexit gsc_remove(struct platform_device *pdev) +static int gsc_remove (struct platform_device *pdev) {struct gsc_dev *gsc =platform_get_drvdata (pdev);
drivers/media/platform/fsl-viu.c +1 -1
@@ -1617,7 +1617,7 @@ err:return ret; } -static int __devexit viu_of_remove(struct platform_device *op) +static int viu_of_remove (struct platform_device *op) {struct v4l2_device *v4l2_dev =dev_get_drvdata (&op->dev); struct viu_dev *dev = container_of(v4l2_dev, struct viu_dev, v4l2_dev);
drivers/media/platform/omap3isp/isp.c +1 -1
@@ -1978,7 +1978,7 @@ error_csiphy:* * Always returns 0. */ -static int __devexit isp_remove(struct platform_device *pdev) +static int isp_remove (struct platform_device *pdev) {struct isp_device *isp =platform_get_drvdata (pdev);int i;
drivers/media/platform/s5p-fimc/fimc-core.c +1 -1
@@ -1035,7 +1035,7 @@ static int fimc_suspend(struct device *dev) }#endif /* CONFIG_PM_SLEEP */ -static int __devexit fimc_remove(struct platform_device *pdev) +static int fimc_remove (struct platform_device *pdev) {struct fimc_dev *fimc =platform_get_drvdata (pdev);
drivers/media/platform/s5p-fimc/fimc-lite.c +1 -1
@@ -1543,7 +1543,7 @@ static int fimc_lite_suspend(struct device *dev) }#endif /* CONFIG_PM_SLEEP */ -static int __devexit fimc_lite_remove(struct platform_device *pdev) +static int fimc_lite_remove (struct platform_device *pdev) {struct fimc_lite *fimc =platform_get_drvdata (pdev);struct device *dev = &pdev->dev;
drivers/media/platform/s5p-fimc/fimc-mdevice.c +1 -1
@@ -1001,7 +1001,7 @@ err_md:return ret; } -static int __devexit fimc_md_remove(struct platform_device *pdev) +static int fimc_md_remove (struct platform_device *pdev) {struct fimc_md *fmd =platform_get_drvdata (pdev);
drivers/media/platform/s5p-fimc/mipi-csis.c +1 -1
@@ -851,7 +851,7 @@ static int s5pcsis_runtime_resume(struct device *dev) }#endif -static int __devexit s5pcsis_remove(struct platform_device *pdev) +static int s5pcsis_remove (struct platform_device *pdev) {struct v4l2_subdev *sd =platform_get_drvdata (pdev);struct csis_state *state =sd_to_csis_state (sd);
drivers/media/platform/s5p-mfc/s5p_mfc.c +1 -1
@@ -1206,7 +1206,7 @@ err_res: }/* Remove the driver */ -static int __devexit s5p_mfc_remove(struct platform_device *pdev) +static int s5p_mfc_remove (struct platform_device *pdev) {struct s5p_mfc_dev *dev =platform_get_drvdata (pdev);
drivers/media/platform/s5p-tv/hdmi_drv.c +1 -1
@@ -979,7 +979,7 @@ fail:return ret; } -static int __devexit hdmi_remove(struct platform_device *pdev) +static int hdmi_remove (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct v4l2_subdev *sd =dev_get_drvdata (dev);
drivers/media/platform/s5p-tv/hdmiphy_drv.c +1 -1
@@ -295,7 +295,7 @@ static int hdmiphy_probe(struct i2c_client *client,return 0 ; } -static int __devexit hdmiphy_remove(struct i2c_client *client) +static int hdmiphy_remove (struct i2c_client *client) {struct v4l2_subdev *sd =i2c_get_clientdata (client);struct hdmiphy_ctx *ctx =sd_to_ctx (sd);
drivers/media/platform/s5p-tv/mixer_drv.c +1 -1
@@ -431,7 +431,7 @@ fail:return ret; } -static int __devexit mxr_remove(struct platform_device *pdev) +static int mxr_remove (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct mxr_device *mdev =to_mdev (dev);
drivers/media/platform/s5p-tv/sdo_drv.c +1 -1
@@ -419,7 +419,7 @@ fail:return ret; } -static int __devexit sdo_remove(struct platform_device *pdev) +static int sdo_remove (struct platform_device *pdev) {struct v4l2_subdev *sd =dev_get_drvdata (&pdev->dev);struct sdo_device *sdev =sd_to_sdev (sd);
drivers/media/platform/s5p-tv/sii9234_drv.c +1 -1
@@ -378,7 +378,7 @@ fail:return ret; } -static int __devexit sii9234_remove(struct i2c_client *client) +static int sii9234_remove (struct i2c_client *client) {struct device *dev = &client->dev;struct v4l2_subdev *sd =i2c_get_clientdata (client);
drivers/media/platform/sh_vou.c +1 -1
@@ -1460,7 +1460,7 @@ ereqmemreg:return ret; } -static int __devexit sh_vou_remove(struct platform_device *pdev) +static int sh_vou_remove (struct platform_device *pdev) {int irq =platform_get_irq (pdev,0 );struct v4l2_device *v4l2_dev =platform_get_drvdata (pdev);
drivers/media/platform/soc_camera/atmel-isi.c +1 -1
@@ -897,7 +897,7 @@ static struct soc_camera_host_ops isi_soc_camera_host_ops = { };/* -----------------------------------------------------------------------*/ -static int __devexit atmel_isi_remove(struct platform_device *pdev) +static int atmel_isi_remove (struct platform_device *pdev) {struct soc_camera_host *soc_host =to_soc_camera_host (&pdev->dev); struct atmel_isi *isi = container_of(soc_host,
drivers/media/platform/soc_camera/mx2_camera.c +1 -1
@@ -1863,7 +1863,7 @@ exit:return err; } -static int __devexit mx2_camera_remove(struct platform_device *pdev) +static int mx2_camera_remove (struct platform_device *pdev) {struct soc_camera_host *soc_host =to_soc_camera_host (&pdev->dev); struct mx2_camera_dev *pcdev = container_of(soc_host,
drivers/media/platform/soc_camera/mx3_camera.c +1 -1
@@ -1245,7 +1245,7 @@ egetres:return err; } -static int __devexit mx3_camera_remove(struct platform_device *pdev) +static int mx3_camera_remove (struct platform_device *pdev) {struct soc_camera_host *soc_host =to_soc_camera_host (&pdev->dev); struct mx3_camera_dev *mx3_cam = container_of(soc_host,
drivers/media/platform/soc_camera/pxa_camera.c +1 -1
@@ -1801,7 +1801,7 @@ exit:return err; } -static int __devexit pxa_camera_remove(struct platform_device *pdev) +static int pxa_camera_remove (struct platform_device *pdev) {struct soc_camera_host *soc_host =to_soc_camera_host (&pdev->dev); struct pxa_camera_dev *pcdev = container_of(soc_host,
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c +1 -1
@@ -2257,7 +2257,7 @@ exit:return err; } -static int __devexit sh_mobile_ceu_remove(struct platform_device *pdev) +static int sh_mobile_ceu_remove (struct platform_device *pdev) {struct soc_camera_host *soc_host =to_soc_camera_host (&pdev->dev); struct sh_mobile_ceu_dev *pcdev = container_of(soc_host,
drivers/media/platform/soc_camera/sh_mobile_csi2.c +1 -1
@@ -366,7 +366,7 @@ ereqreg:return ret; } -static __devexit int sh_csi2_remove(struct platform_device *pdev) +static int sh_csi2_remove (struct platform_device *pdev) {struct sh_csi2 *priv =platform_get_drvdata (pdev);struct resource *res =platform_get_resource (pdev,IORESOURCE_MEM ,0 );
drivers/media/platform/soc_camera/soc_camera.c +1 -1
@@ -1554,7 +1554,7 @@ static int soc_camera_pdrv_probe(struct platform_device *pdev)* hot-pluggable. Now we know, that all our users - hosts and devices have * been unloaded already */ -static int __devexit soc_camera_pdrv_remove(struct platform_device *pdev) +static int soc_camera_pdrv_remove (struct platform_device *pdev) {struct soc_camera_device *icd =platform_get_drvdata (pdev);
drivers/media/platform/timblogiw.c +1 -1
@@ -848,7 +848,7 @@ err:return err; } -static int __devexit timblogiw_remove(struct platform_device *pdev) +static int timblogiw_remove (struct platform_device *pdev) {struct timblogiw *lw =platform_get_drvdata (pdev);
drivers/media/platform/via-camera.c +1 -1
@@ -1490,7 +1490,7 @@ out_unregister:return ret; } -static __devexit int viacam_remove(struct platform_device *pdev) +static int viacam_remove (struct platform_device *pdev) {struct via_camera *cam = via_cam_info;struct viafb_dev *viadev = pdev->dev.platform_data;
drivers/media/radio/radio-maxiradio.c +1 -1
@@ -172,7 +172,7 @@ errfr:return retval; } -static void __devexit maxiradio_remove(struct pci_dev *pdev) +static void maxiradio_remove (struct pci_dev *pdev) {struct v4l2_device *v4l2_dev =dev_get_drvdata (&pdev->dev);struct maxiradio *dev =to_maxiradio (v4l2_dev);
drivers/media/radio/radio-sf16fmr2.c +3 -3
@@ -285,7 +285,7 @@ static int fmr2_pnp_probe(struct pnp_dev *pdev,return 0 ; } -static void __devexit fmr2_remove(struct fmr2 *fmr2) +static void fmr2_remove (struct fmr2 *fmr2) {snd_tea575x_exit (&fmr2->tea);release_region (fmr2->io,2 );
@@ -293,7 +293,7 @@ static void __devexit fmr2_remove(struct fmr2 *fmr2)kfree (fmr2); } -static int __devexit fmr2_isa_remove(struct device *pdev, unsigned int ndev) +static int fmr2_isa_remove (struct device *pdev,unsigned int ndev) {fmr2_remove (dev_get_drvdata (pdev));dev_set_drvdata (pdev,NULL );
@@ -301,7 +301,7 @@ static int __devexit fmr2_isa_remove(struct device *pdev, unsigned int ndev)return 0 ; } -static void __devexit fmr2_pnp_remove(struct pnp_dev *pdev) +static void fmr2_pnp_remove (struct pnp_dev *pdev) {fmr2_remove (pnp_get_drvdata (pdev));pnp_set_drvdata (pdev,NULL );
drivers/media/radio/radio-tea5764.c +1 -1
@@ -552,7 +552,7 @@ errfr:return ret; } -static int __devexit tea5764_i2c_remove(struct i2c_client *client) +static int tea5764_i2c_remove (struct i2c_client *client) {struct tea5764_device *radio =i2c_get_clientdata (client);
drivers/media/radio/radio-timb.c +1 -1
@@ -201,7 +201,7 @@ err:return err; } -static int __devexit timbradio_remove(struct platform_device *pdev) +static int timbradio_remove (struct platform_device *pdev) {struct timbradio *tr =platform_get_drvdata (pdev);
drivers/media/radio/saa7706h.c +1 -1
@@ -418,7 +418,7 @@ err:return err; } -static int __devexit saa7706h_remove(struct i2c_client *client) +static int saa7706h_remove (struct i2c_client *client) {struct v4l2_subdev *sd =i2c_get_clientdata (client);
drivers/media/radio/si470x/radio-si470x-i2c.c +1 -1
@@ -451,7 +451,7 @@ err_initial:/* * si470x_i2c_remove - remove the device */ -static __devexit int si470x_i2c_remove(struct i2c_client *client) +static int si470x_i2c_remove (struct i2c_client *client) {struct si470x_device *radio =i2c_get_clientdata (client);
drivers/media/radio/tef6862.c +1 -1
@@ -189,7 +189,7 @@ static int tef6862_probe(struct i2c_client *client,return 0 ; } -static int __devexit tef6862_remove(struct i2c_client *client) +static int tef6862_remove (struct i2c_client *client) {struct v4l2_subdev *sd =i2c_get_clientdata (client);
drivers/media/rc/fintek-cir.c +1 -1
@@ -590,7 +590,7 @@ failure:return ret; } -static void __devexit fintek_remove(struct pnp_dev *pdev) +static void fintek_remove (struct pnp_dev *pdev) {struct fintek_dev *fintek =pnp_get_drvdata (pdev);unsigned long flags;
drivers/media/rc/gpio-ir-recv.c +1 -1
@@ -140,7 +140,7 @@ err_allocate_device:return rc; } -static int __devexit gpio_ir_recv_remove(struct platform_device *pdev) +static int gpio_ir_recv_remove (struct platform_device *pdev) {struct gpio_rc_dev *gpio_dev =platform_get_drvdata (pdev);
drivers/media/rc/iguanair.c +1 -1
@@ -538,7 +538,7 @@ out:return ret; } -static void __devexit iguanair_disconnect(struct usb_interface *intf) +static void iguanair_disconnect (struct usb_interface *intf) {struct iguanair *ir =usb_get_intfdata (intf);
drivers/media/rc/imon.c +1 -1
@@ -2376,7 +2376,7 @@ fail:/** * Callback function for USB core API: disconnect */ -static void __devexit imon_disconnect(struct usb_interface *interface) +static void imon_disconnect (struct usb_interface *interface) {struct imon_context *ictx;struct device *dev;
drivers/media/rc/ite-cir.c +1 -1
@@ -1620,7 +1620,7 @@ failure:return ret; } -static void __devexit ite_remove(struct pnp_dev *pdev) +static void ite_remove (struct pnp_dev *pdev) {struct ite_dev *dev =pnp_get_drvdata (pdev);unsigned long flags;
drivers/media/rc/mceusb.c +1 -1
@@ -1393,7 +1393,7 @@ mem_alloc_fail: } -static void __devexit mceusb_dev_disconnect(struct usb_interface *intf) +static void mceusb_dev_disconnect (struct usb_interface *intf) {struct usb_device *dev =interface_to_usbdev (intf);struct mceusb_dev *ir =usb_get_intfdata (intf);
drivers/media/rc/nuvoton-cir.c +1 -1
@@ -1116,7 +1116,7 @@ failure:return ret; } -static void __devexit nvt_remove(struct pnp_dev *pdev) +static void nvt_remove (struct pnp_dev *pdev) {struct nvt_dev *nvt =pnp_get_drvdata (pdev);unsigned long flags;
drivers/media/rc/redrat3.c +1 -1
@@ -1241,7 +1241,7 @@ no_endpoints:return retval; } -static void __devexit redrat3_dev_disconnect(struct usb_interface *intf) +static void redrat3_dev_disconnect (struct usb_interface *intf) {struct usb_device *udev =interface_to_usbdev (intf);struct redrat3_dev *rr3 =usb_get_intfdata (intf);
drivers/media/rc/ttusbir.c +1 -1
@@ -367,7 +367,7 @@ out:return ret; } -static void __devexit ttusbir_disconnect(struct usb_interface *intf) +static void ttusbir_disconnect (struct usb_interface *intf) {struct ttusbir *tt =usb_get_intfdata (intf);struct usb_device *udev = tt->udev;
drivers/media/rc/winbond-cir.c +1 -1
@@ -1086,7 +1086,7 @@ exit:return err; } -static void __devexit +static void wbcir_remove (struct pnp_dev *device) {struct wbcir_data *data =pnp_get_drvdata (device);
drivers/media/usb/usbvision/usbvision-video.c +1 -1
@@ -1619,7 +1619,7 @@ static int usbvision_probe(struct usb_interface *intf,* with no ill consequences. * */ -static void __devexit usbvision_disconnect(struct usb_interface *intf) +static void usbvision_disconnect (struct usb_interface *intf) {struct usb_usbvision *usbvision =to_usbvision (usb_get_intfdata (intf));
Signature · 1 line
1.8.0
PATCH 444/493 media: remove use of __devexit
Quoted 11 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.drivers/media/platform/sh_vou.c | 2 +- drivers/media/platform/soc_camera/atmel-isi.c | 2 +- drivers/media/platform/soc_camera/mx2_camera.c | 2 +- drivers/media/platform/soc_camera/mx3_camera.c | 2 +- drivers/media/platform/soc_camera/pxa_camera.c | 2 +- drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/platform/soc_camera/sh_mobile_csi2.c | 2 +- drivers/media/platform/soc_camera/soc_camera.c | 2 +-
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
PATCH 444/493 media: remove use of __devexit
In reply to Bill PembertonQuoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devexitis no longer needed.
[snip]
...
Quoted 3 lines
drivers/media/platform/davinci/vpfe_capture.c | 2 +- drivers/media/platform/davinci/vpif.c | 2 +- drivers/media/platform/davinci/vpss.c | 2 +-
Regards,
--Prabhakar
[snip]
Quoted 7 lines
--
1.8.0--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 446/493 video: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/video/arcfb.c | 2 +- drivers/video/arkfb.c | 2 +- drivers/video/asiliantfb.c | 2 +- drivers/video/aty/aty128fb.c | 2 +- drivers/video/aty/atyfb_base.c | 4 ++-- drivers/video/aty/radeon_base.c | 2 +- drivers/video/au1200fb.c | 2 +- drivers/video/auo_k1900fb.c | 2 +- drivers/video/auo_k1901fb.c | 2 +- drivers/video/auo_k190x.c | 2 +- drivers/video/bf537-lq035.c | 4 ++-- drivers/video/bf54x-lq043fb.c | 2 +- drivers/video/bfin-lq035q1-fb.c | 2 +- drivers/video/bfin-t350mcqb-fb.c | 2 +- drivers/video/bfin_adv7393fb.c | 2 +- drivers/video/broadsheetfb.c | 2 +- drivers/video/bw2.c | 2 +- drivers/video/carminefb.c | 2 +- drivers/video/cg14.c | 2 +- drivers/video/cg3.c | 2 +- drivers/video/cg6.c | 2 +- drivers/video/chipsfb.c | 2 +- drivers/video/cirrusfb.c | 6 +++--- drivers/video/cobalt_lcdfb.c | 2 +- drivers/video/console/sticore.c | 2 +- drivers/video/cyber2000fb.c | 4 ++-- drivers/video/da8xx-fb.c | 2 +- drivers/video/ep93xx-fb.c | 2 +- drivers/video/exynos/exynos_dp_core.c | 2 +- drivers/video/exynos/exynos_mipi_dsi.c | 2 +- drivers/video/ffb.c | 2 +- drivers/video/gbefb.c | 4 ++-- drivers/video/geode/gx1fb_core.c | 4 ++-- drivers/video/geode/gxfb_core.c | 2 +- drivers/video/geode/lxfb_core.c | 2 +- drivers/video/grvga.c | 2 +- drivers/video/gxt4500.c | 2 +- drivers/video/hecubafb.c | 2 +- drivers/video/hgafb.c | 2 +- drivers/video/hitfb.c | 2 +- drivers/video/hpfb.c | 2 +- drivers/video/i740fb.c | 2 +- drivers/video/imsttfb.c | 2 +- drivers/video/imxfb.c | 2 +- drivers/video/intelfb/intelfbdrv.c | 4 ++-- drivers/video/jz4740_fb.c | 2 +- drivers/video/kyro/fbdev.c | 2 +- drivers/video/leo.c | 2 +- drivers/video/mb862xx/mb862xxfbdrv.c | 4 ++-- drivers/video/mbx/mbxdebugfs.c | 2 +- drivers/video/mbx/mbxfb.c | 2 +- drivers/video/metronomefb.c | 2 +- drivers/video/mxsfb.c | 4 ++-- drivers/video/neofb.c | 2 +- drivers/video/nvidia/nvidia.c | 2 +- drivers/video/omap2/displays/panel-lgphilips-lb035q02.c | 2 +- drivers/video/omap2/displays/panel-tpo-td043mtea1.c | 2 +- drivers/video/p9100.c | 2 +- drivers/video/platinumfb.c | 2 +- drivers/video/pm2fb.c | 2 +- drivers/video/pm3fb.c | 2 +- drivers/video/pvr2fb.c | 2 +- drivers/video/pxa168fb.c | 2 +- drivers/video/pxa3xx-gcu.c | 2 +- drivers/video/pxafb.c | 4 ++-- drivers/video/riva/fbdev.c | 2 +- drivers/video/s3c-fb.c | 2 +- drivers/video/s3c2410fb.c | 2 +- drivers/video/s3fb.c | 2 +- drivers/video/savage/savagefb_driver.c | 2 +- drivers/video/sgivwfb.c | 2 +- drivers/video/sh7760fb.c | 2 +- drivers/video/sh_mipi_dsi.c | 2 +- drivers/video/sis/sis_main.c | 2 +- drivers/video/skeletonfb.c | 4 ++-- drivers/video/sstfb.c | 6 +++--- drivers/video/sunxvr1000.c | 2 +- drivers/video/sunxvr2500.c | 2 +- drivers/video/sunxvr500.c | 2 +- drivers/video/tcx.c | 2 +- drivers/video/tdfxfb.c | 4 ++-- drivers/video/tgafb.c | 14 +++++++------- drivers/video/tmiofb.c | 2 +- drivers/video/tridentfb.c | 2 +- drivers/video/uvesafb.c | 2 +- drivers/video/vermilion/vermilion.c | 2 +- drivers/video/vga16fb.c | 2 +- drivers/video/via/via-core.c | 2 +- drivers/video/via/viafbdev.c | 2 +- drivers/video/vt8500lcdfb.c | 2 +- drivers/video/vt8623fb.c | 2 +- drivers/video/w100fb.c | 2 +- drivers/video/wm8505fb.c | 2 +- drivers/video/wmt_ge_rops.c | 2 +- drivers/video/xilinxfb.c | 2 +- 95 files changed, 116 insertions(+), 116 deletions(-)
drivers/video/arcfb.c +1 -1
@@ -587,7 +587,7 @@ err:return retval; } -static int __devexit arcfb_remove(struct platform_device *dev) +static int arcfb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);
drivers/video/arkfb.c +1 -1
@@ -1086,7 +1086,7 @@ err_enable_device:/* PCI remove */ -static void __devexit ark_pci_remove(struct pci_dev *dev) +static void ark_pci_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);
drivers/video/asiliantfb.c +1 -1
@@ -581,7 +581,7 @@ asiliantfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)return 0 ; } -static void __devexit asiliantfb_remove(struct pci_dev *dp) +static void asiliantfb_remove (struct pci_dev *dp) {struct fb_info *p =pci_get_drvdata (dp);
drivers/video/aty/aty128fb.c +1 -1
@@ -2156,7 +2156,7 @@ err_free_fb:return -ENODEV ; } -static void __devexit aty128_remove(struct pci_dev *pdev) +static void aty128_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct aty128fb_par *par;
drivers/video/aty/atyfb_base.c +2 -2
@@ -3714,7 +3714,7 @@ static int __init atyfb_atari_probe(void)#ifdef CONFIG_PCI -static void __devexit atyfb_remove(struct fb_info *info) +static void atyfb_remove (struct fb_info *info) {struct atyfb_par *par = (struct atyfb_par *) info->par;
@@ -3762,7 +3762,7 @@ static void __devexit atyfb_remove(struct fb_info *info) } -static void __devexit atyfb_pci_remove(struct pci_dev *pdev) +static void atyfb_pci_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);
drivers/video/aty/radeon_base.c +1 -1
@@ -2407,7 +2407,7 @@ err_out: -static void __devexit radeonfb_pci_unregister (struct pci_dev *pdev) +static void radeonfb_pci_unregister (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct radeonfb_info *rinfo = info->par;
drivers/video/au1200fb.c +1 -1
@@ -1798,7 +1798,7 @@ failed:return ret; } -static int __devexit au1200fb_drv_remove(struct platform_device *dev) +static int au1200fb_drv_remove (struct platform_device *dev) {struct au1200fb_platdata *pd =platform_get_drvdata (dev);struct au1200fb_device *fbdev;
drivers/video/auo_k1900fb.c +1 -1
@@ -177,7 +177,7 @@ static int auok1900fb_probe(struct platform_device *pdev)return auok190x_common_probe (pdev, &init); } -static int __devexit auok1900fb_remove(struct platform_device *pdev) +static int auok1900fb_remove (struct platform_device *pdev) {return auok190x_common_remove (pdev); }
drivers/video/auo_k1901fb.c +1 -1
@@ -230,7 +230,7 @@ static int auok1901fb_probe(struct platform_device *pdev)return auok190x_common_probe (pdev, &init); } -static int __devexit auok1901fb_remove(struct platform_device *pdev) +static int auok1901fb_remove (struct platform_device *pdev) {return auok190x_common_remove (pdev); }
drivers/video/auo_k190x.c +1 -1
@@ -1006,7 +1006,7 @@ err_reg: }EXPORT_SYMBOL_GPL (auok190x_common_probe); -int __devexit auok190x_common_remove(struct platform_device *pdev) +int auok190x_common_remove (struct platform_device *pdev) {struct fb_info *info =platform_get_drvdata (pdev);struct auok190xfb_par *par = info->par;
drivers/video/bf537-lq035.c +2 -2
@@ -108,7 +108,7 @@ static int ad5280_probe(struct i2c_client *client,return 0 ; } -static int __devexit ad5280_remove(struct i2c_client *client) +static int ad5280_remove (struct i2c_client *client) { ad5280_client =NULL ;return 0 ;
@@ -816,7 +816,7 @@ out_ports:return ret; } -static int __devexit bfin_lq035_remove(struct platform_device *pdev) +static int bfin_lq035_remove (struct platform_device *pdev) {if (fb_buffer !=NULL )dma_free_coherent (NULL ,TOTAL_VIDEO_MEM_SIZE , fb_buffer,0 );
drivers/video/bf54x-lq043fb.c +1 -1
@@ -686,7 +686,7 @@ out1:return ret; } -static int __devexit bfin_bf54x_remove(struct platform_device *pdev) +static int bfin_bf54x_remove (struct platform_device *pdev) {struct fb_info *fbinfo =platform_get_drvdata (pdev);
drivers/video/bfin-lq035q1-fb.c +1 -1
@@ -764,7 +764,7 @@ static int bfin_lq035q1_probe(struct platform_device *pdev)return ret; } -static int __devexit bfin_lq035q1_remove(struct platform_device *pdev) +static int bfin_lq035q1_remove (struct platform_device *pdev) {struct fb_info *fbinfo =platform_get_drvdata (pdev);struct bfin_lq035q1fb_info *info = fbinfo->par;
drivers/video/bfin-t350mcqb-fb.c +1 -1
@@ -583,7 +583,7 @@ out1:return ret; } -static int __devexit bfin_t350mcqb_remove(struct platform_device *pdev) +static int bfin_t350mcqb_remove (struct platform_device *pdev) {struct fb_info *fbinfo =platform_get_drvdata (pdev);
drivers/video/bfin_adv7393fb.c +1 -1
@@ -719,7 +719,7 @@ static int bfin_adv7393_fb_setcolreg(u_int regno, u_int red, u_int green,return 0 ; } -static int __devexit bfin_adv7393_fb_remove(struct i2c_client *client) +static int bfin_adv7393_fb_remove (struct i2c_client *client) {struct adv7393fb_device *fbdev =i2c_get_clientdata (client);
drivers/video/broadsheetfb.c +1 -1
@@ -1190,7 +1190,7 @@ err: } -static int __devexit broadsheetfb_remove(struct platform_device *dev) +static int broadsheetfb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);
drivers/video/bw2.c +1 -1
@@ -352,7 +352,7 @@ out_err:return err; } -static int __devexit bw2_remove(struct platform_device *op) +static int bw2_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct bw2_par *par = info->par;
drivers/video/carminefb.c +1 -1
@@ -721,7 +721,7 @@ err_enable_pci:return ret; } -static void __devexit carminefb_remove(struct pci_dev *dev) +static void carminefb_remove (struct pci_dev *dev) {struct carmine_hw *hw =pci_get_drvdata (dev);struct fb_fix_screeninfo fix;
drivers/video/cg14.c +1 -1
@@ -571,7 +571,7 @@ out_err:return err; } -static int __devexit cg14_remove(struct platform_device *op) +static int cg14_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct cg14_par *par = info->par;
drivers/video/cg3.c +1 -1
@@ -433,7 +433,7 @@ out_err:return err; } -static int __devexit cg3_remove(struct platform_device *op) +static int cg3_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct cg3_par *par = info->par;
drivers/video/cg6.c +1 -1
@@ -827,7 +827,7 @@ out_err:return err; } -static int __devexit cg6_remove(struct platform_device *op) +static int cg6_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct cg6_par *par = info->par;
drivers/video/chipsfb.c +1 -1
@@ -438,7 +438,7 @@ chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)return rc; } -static void __devexit chipsfb_remove(struct pci_dev *dp) +static void chipsfb_remove (struct pci_dev *dp) {struct fb_info *p =pci_get_drvdata (dp);
drivers/video/cirrusfb.c +3 -3
@@ -2096,7 +2096,7 @@ err_dealloc_cmap:return err; } -static void __devexit cirrusfb_cleanup(struct fb_info *info) +static void cirrusfb_cleanup (struct fb_info *info) {struct cirrusfb_info *cinfo = info->par;
@@ -2215,7 +2215,7 @@ err_out:return ret; } -static void __devexit cirrusfb_pci_unregister(struct pci_dev *pdev) +static void cirrusfb_pci_unregister (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);
@@ -2352,7 +2352,7 @@ err_release_fb:return error; } -void __devexit cirrusfb_zorro_unregister(struct zorro_dev *z) +void cirrusfb_zorro_unregister (struct zorro_dev *z) {struct fb_info *info =zorro_get_drvdata (z);
drivers/video/cobalt_lcdfb.c +1 -1
@@ -374,7 +374,7 @@ static int cobalt_lcdfb_probe(struct platform_device *dev)return 0 ; } -static int __devexit cobalt_lcdfb_remove(struct platform_device *dev) +static int cobalt_lcdfb_remove (struct platform_device *dev) {struct fb_info *info;
drivers/video/console/sticore.c +1 -1
@@ -998,7 +998,7 @@ static int sticore_pci_init(struct pci_dev *pd, } -static void __devexit sticore_pci_remove(struct pci_dev *pd) +static void sticore_pci_remove (struct pci_dev *pd) {BUG (); }
drivers/video/cyber2000fb.c +2 -2
@@ -1615,7 +1615,7 @@ failed:return err; } -static void __devexit cyberpro_common_remove(struct cfb_info *cfb) +static void cyberpro_common_remove (struct cfb_info *cfb) {unregister_framebuffer (&cfb->fb);#ifdef CONFIG_FB_CYBER2000_DDC
@@ -1863,7 +1863,7 @@ failed_release:return err; } -static void __devexit cyberpro_pci_remove(struct pci_dev *dev) +static void cyberpro_pci_remove (struct pci_dev *dev) {struct cfb_info *cfb =pci_get_drvdata (dev);
drivers/video/da8xx-fb.c +1 -1
@@ -1012,7 +1012,7 @@ static inline void lcd_da8xx_cpufreq_deregister(struct da8xx_fb_par *par) }#endif -static int __devexit fb_remove(struct platform_device *dev) +static int fb_remove (struct platform_device *dev) {struct fb_info *info =dev_get_drvdata (&dev->dev);
drivers/video/ep93xx-fb.c +1 -1
@@ -599,7 +599,7 @@ failed_cmap:return err; } -static int __devexit ep93xxfb_remove(struct platform_device *pdev) +static int ep93xxfb_remove (struct platform_device *pdev) {struct fb_info *info =platform_get_drvdata (pdev);struct ep93xx_fbi *fbi = info->par;
drivers/video/exynos/exynos_dp_core.c +1 -1
@@ -948,7 +948,7 @@ static int exynos_dp_probe(struct platform_device *pdev)return 0 ; } -static int __devexit exynos_dp_remove(struct platform_device *pdev) +static int exynos_dp_remove (struct platform_device *pdev) {struct exynos_dp_platdata *pdata = pdev->dev.platform_data;struct exynos_dp_device *dp =platform_get_drvdata (pdev);
drivers/video/exynos/exynos_mipi_dsi.c +1 -1
@@ -490,7 +490,7 @@ err_platform_get_irq:return ret; } -static int __devexit exynos_mipi_dsi_remove(struct platform_device *pdev) +static int exynos_mipi_dsi_remove (struct platform_device *pdev) {struct mipi_dsim_device *dsim =platform_get_drvdata (pdev);struct mipi_dsim_ddi *dsim_ddi, *next;
drivers/video/ffb.c +1 -1
@@ -1022,7 +1022,7 @@ out_err:return err; } -static int __devexit ffb_remove(struct platform_device *op) +static int ffb_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct ffb_par *par = info->par;
drivers/video/gbefb.c +2 -2
@@ -1082,7 +1082,7 @@ static ssize_t gbefb_show_rev(struct device *device, struct device_attribute *at static DEVICE_ATTR(revision, S_IRUGO, gbefb_show_rev, NULL); -static void __devexit gbefb_remove_sysfs(struct device *dev) +static void gbefb_remove_sysfs (struct device *dev) {device_remove_file (dev, &dev_attr_size);device_remove_file (dev, &dev_attr_revision);
@@ -1254,7 +1254,7 @@ out_release_framebuffer:return ret; } -static int __devexit gbefb_remove(struct platform_device* p_dev) +static int gbefb_remove (struct platform_device * p_dev) {struct fb_info *info =platform_get_drvdata (p_dev);
drivers/video/geode/gx1fb_core.c +2 -2
@@ -382,7 +382,7 @@ static int gx1fb_probe(struct pci_dev *pdev, const struct pci_device_id *id)return ret; } -static void __devexit gx1fb_remove(struct pci_dev *pdev) +static void gx1fb_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct geodefb_par *par = info->par;
@@ -456,7 +456,7 @@ static int __init gx1fb_init(void)return pci_register_driver (&gx1fb_driver); } -static void __devexit gx1fb_cleanup(void) +static void gx1fb_cleanup (void ) {pci_unregister_driver (&gx1fb_driver); }
drivers/video/geode/gxfb_core.c +1 -1
@@ -455,7 +455,7 @@ static int gxfb_probe(struct pci_dev *pdev,return ret; } -static void __devexit gxfb_remove(struct pci_dev *pdev) +static void gxfb_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct gxfb_par *par = info->par;
drivers/video/geode/lxfb_core.c +1 -1
@@ -590,7 +590,7 @@ err:return ret; } -static void __devexit lxfb_remove(struct pci_dev *pdev) +static void lxfb_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct lxfb_par *par = info->par;
drivers/video/grvga.c +1 -1
@@ -512,7 +512,7 @@ free_fb:return retval; } -static int __devexit grvga_remove(struct platform_device *device) +static int grvga_remove (struct platform_device *device) {struct fb_info *info =dev_get_drvdata (&device->dev);struct grvga_par *par = info->par;
drivers/video/gxt4500.c +1 -1
@@ -720,7 +720,7 @@ static int gxt4500_probe(struct pci_dev *pdev,return -ENODEV ; } -static void __devexit gxt4500_remove(struct pci_dev *pdev) +static void gxt4500_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct gxt4500_par *par;
drivers/video/hecubafb.c +1 -1
@@ -280,7 +280,7 @@ err_videomem_alloc:return retval; } -static int __devexit hecubafb_remove(struct platform_device *dev) +static int hecubafb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);
drivers/video/hgafb.c +1 -1
@@ -592,7 +592,7 @@ static int hgafb_probe(struct platform_device *pdev)return 0 ; } -static int __devexit hgafb_remove(struct platform_device *pdev) +static int hgafb_remove (struct platform_device *pdev) {struct fb_info *info =platform_get_drvdata (pdev);
drivers/video/hitfb.c +1 -1
@@ -417,7 +417,7 @@ err_fb:return ret; } -static int __devexit hitfb_remove(struct platform_device *dev) +static int hitfb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);
drivers/video/hpfb.c +1 -1
@@ -350,7 +350,7 @@ static int hpfb_dio_probe(struct dio_dev * d, const struct dio_device_id * ent)return 0 ; } -static void __devexit hpfb_remove_one(struct dio_dev *d) +static void hpfb_remove_one (struct dio_dev *d) {unregister_framebuffer (&fb_info);if (d->scode >=DIOII_SCBASE )
drivers/video/i740fb.c +1 -1
@@ -1174,7 +1174,7 @@ err_enable_device:return ret; } -static void __devexit i740fb_remove(struct pci_dev *dev) +static void i740fb_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);
drivers/video/imsttfb.c +1 -1
@@ -1534,7 +1534,7 @@ imsttfb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)return 0 ; } -static void __devexit +static void imsttfb_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);
drivers/video/imxfb.c +1 -1
@@ -917,7 +917,7 @@ failed_init:return ret; } -static int __devexit imxfb_remove(struct platform_device *pdev) +static int imxfb_remove (struct platform_device *pdev) {struct imx_fb_platform_data *pdata;struct fb_info *info =platform_get_drvdata (pdev);
drivers/video/intelfb/intelfbdrv.c +2 -2
@@ -164,7 +164,7 @@ static int intelfb_ioctl(struct fb_info *info,static int intelfb_pci_register (struct pci_dev *pdev,const struct pci_device_id *ent); -static void __devexit intelfb_pci_unregister(struct pci_dev *pdev); +static void intelfb_pci_unregister (struct pci_dev *pdev);static int intelfb_set_fbinfo (struct intelfb_info *dinfo);/*
@@ -921,7 +921,7 @@ err_out_cmap:return -ENODEV ; } -static void __devexit +static void intelfb_pci_unregister (struct pci_dev *pdev) {struct intelfb_info *dinfo =pci_get_drvdata (pdev);
drivers/video/jz4740_fb.c +1 -1
@@ -725,7 +725,7 @@ err_framebuffer_release:return ret; } -static int __devexit jzfb_remove(struct platform_device *pdev) +static int jzfb_remove (struct platform_device *pdev) {struct jzfb *jzfb =platform_get_drvdata (pdev);
drivers/video/kyro/fbdev.c +1 -1
@@ -754,7 +754,7 @@ out_unmap:return -EINVAL ; } -static void __devexit kyrofb_remove(struct pci_dev *pdev) +static void kyrofb_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct kyrofb_info *par = info->par;
drivers/video/leo.c +1 -1
@@ -636,7 +636,7 @@ out_err:return err; } -static int __devexit leo_remove(struct platform_device *op) +static int leo_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct leo_par *par = info->par;
drivers/video/mb862xx/mb862xxfbdrv.c +2 -2
@@ -786,7 +786,7 @@ fbrel:return ret; } -static int __devexit of_platform_mb862xx_remove(struct platform_device *ofdev) +static int of_platform_mb862xx_remove (struct platform_device *ofdev) {struct fb_info *fbi =dev_get_drvdata (&ofdev->dev);struct mb862xxfb_par *par = fbi->par;
@@ -1133,7 +1133,7 @@ out:return ret; } -static void __devexit mb862xx_pci_remove(struct pci_dev *pdev) +static void mb862xx_pci_remove (struct pci_dev *pdev) {struct fb_info *fbi =pci_get_drvdata (pdev);struct mb862xxfb_par *par = fbi->par;
drivers/video/mbx/mbxdebugfs.c +1 -1
@@ -236,7 +236,7 @@ static void mbxfb_debugfs_init(struct fb_info *fbi) fbi, &misc_fops); } -static void __devexit mbxfb_debugfs_remove(struct fb_info *fbi) +static void mbxfb_debugfs_remove (struct fb_info *fbi) {struct mbxfb_info *mfbi = fbi->par;struct mbxfb_debugfs_data *dbg = mfbi->debugfs_data;
drivers/video/mbx/mbxfb.c +1 -1
@@ -1006,7 +1006,7 @@ err1:return ret; } -static int __devexit mbxfb_remove(struct platform_device *dev) +static int mbxfb_remove (struct platform_device *dev) {struct fb_info *fbi =platform_get_drvdata (dev);
drivers/video/metronomefb.c +1 -1
@@ -741,7 +741,7 @@ err:return retval; } -static int __devexit metronomefb_remove(struct platform_device *dev) +static int metronomefb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);
drivers/video/mxsfb.c +2 -2
@@ -739,7 +739,7 @@ static int mxsfb_init_fbinfo(struct mxsfb_info *host)return 0 ; } -static void __devexit mxsfb_free_videomem(struct mxsfb_info *host) +static void mxsfb_free_videomem (struct mxsfb_info *host) {struct fb_info *fb_info = &host->fb_info;
@@ -912,7 +912,7 @@ error_alloc_info:return ret; } -static int __devexit mxsfb_remove(struct platform_device *pdev) +static int mxsfb_remove (struct platform_device *pdev) {struct fb_info *fb_info =platform_get_drvdata (pdev);struct mxsfb_info *host =to_imxfb_host (fb_info);
drivers/video/neofb.c +1 -1
@@ -2128,7 +2128,7 @@ err_map_mmio:return err; } -static void __devexit neofb_remove(struct pci_dev *dev) +static void neofb_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);
drivers/video/nvidia/nvidia.c +1 -1
@@ -1438,7 +1438,7 @@ err_out:return -ENODEV ; } -static void __devexit nvidiafb_remove(struct pci_dev *pd) +static void nvidiafb_remove (struct pci_dev *pd) {struct fb_info *info =pci_get_drvdata (pd);struct nvidia_par *par = info->par;
drivers/video/omap2/displays/panel-lgphilips-lb035q02.c +1 -1
@@ -256,7 +256,7 @@ static int lb035q02_panel_spi_probe(struct spi_device *spi)return omap_dss_register_driver (&lb035q02_driver); } -static int __devexit lb035q02_panel_spi_remove(struct spi_device *spi) +static int lb035q02_panel_spi_remove (struct spi_device *spi) {omap_dss_unregister_driver (&lb035q02_driver);return 0 ;
drivers/video/omap2/displays/panel-tpo-td043mtea1.c +1 -1
@@ -548,7 +548,7 @@ static int tpo_td043_spi_probe(struct spi_device *spi)return 0 ; } -static int __devexit tpo_td043_spi_remove(struct spi_device *spi) +static int tpo_td043_spi_remove (struct spi_device *spi) {struct tpo_td043_device *tpo_td043 =dev_get_drvdata (&spi->dev);
drivers/video/p9100.c +1 -1
@@ -326,7 +326,7 @@ out_err:return err; } -static int __devexit p9100_remove(struct platform_device *op) +static int p9100_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct p9100_par *par = info->par;
drivers/video/platinumfb.c +1 -1
@@ -645,7 +645,7 @@ static int platinumfb_probe(struct platform_device* odev)return rc; } -static int __devexit platinumfb_remove(struct platform_device* odev) +static int platinumfb_remove (struct platform_device * odev) {struct fb_info *info =dev_get_drvdata (&odev->dev);struct fb_info_platinum *pinfo = info->par;
drivers/video/pm2fb.c +1 -1
@@ -1727,7 +1727,7 @@ static int pm2fb_probe(struct pci_dev *pdev,* * @param pdev PCI device to clean up. */ -static void __devexit pm2fb_remove(struct pci_dev *pdev) +static void pm2fb_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct fb_fix_screeninfo *fix = &info->fix;
drivers/video/pm3fb.c +1 -1
@@ -1469,7 +1469,7 @@ static int pm3fb_probe(struct pci_dev *dev,/* * Cleanup */ -static void __devexit pm3fb_remove(struct pci_dev *dev) +static void pm3fb_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);
drivers/video/pvr2fb.c +1 -1
@@ -953,7 +953,7 @@ static int pvr2fb_pci_probe(struct pci_dev *pdev,return pvr2fb_common_init (); } -static void __devexit pvr2fb_pci_remove(struct pci_dev *pdev) +static void pvr2fb_pci_remove (struct pci_dev *pdev) {if (fb_info->screen_base) {iounmap (fb_info->screen_base);
drivers/video/pxa168fb.c +1 -1
@@ -783,7 +783,7 @@ failed_put_clk:return ret; } -static int __devexit pxa168fb_remove(struct platform_device *pdev) +static int pxa168fb_remove (struct platform_device *pdev) {struct pxa168fb_info *fbi =platform_get_drvdata (pdev);struct fb_info *info;
drivers/video/pxa3xx-gcu.c +1 -1
@@ -714,7 +714,7 @@ err_free_priv:return ret; } -static int __devexit +static int pxa3xx_gcu_remove (struct platform_device *dev) {struct pxa3xx_gcu_priv *priv =platform_get_drvdata (dev);
drivers/video/pxafb.c +2 -2
@@ -959,7 +959,7 @@ static void pxafb_overlay_init(struct pxafb_info *fbi)pr_info ("PXA Overlay driver loaded successfully!\n" ); } -static void __devexit pxafb_overlay_exit(struct pxafb_info *fbi) +static void pxafb_overlay_exit (struct pxafb_info *fbi) {int i;
@@ -2263,7 +2263,7 @@ failed:return ret; } -static int __devexit pxafb_remove(struct platform_device *dev) +static int pxafb_remove (struct platform_device *dev) {struct pxafb_info *fbi =platform_get_drvdata (dev);struct resource *r;
drivers/video/riva/fbdev.c +1 -1
@@ -2105,7 +2105,7 @@ err_ret:return ret; } -static void __devexit rivafb_remove(struct pci_dev *pd) +static void rivafb_remove (struct pci_dev *pd) {struct fb_info *info =pci_get_drvdata (pd);struct riva_par *par = info->par;
drivers/video/s3c-fb.c +1 -1
@@ -1519,7 +1519,7 @@ err_bus_clk:* Shutdown and then release all the resources that the driver allocated * on initialisation. */ -static int __devexit s3c_fb_remove(struct platform_device *pdev) +static int s3c_fb_remove (struct platform_device *pdev) {struct s3c_fb *sfb =platform_get_drvdata (pdev);int win;
drivers/video/s3c2410fb.c +1 -1
@@ -1024,7 +1024,7 @@ static int s3c2412fb_probe(struct platform_device *pdev)/* * Cleanup */ -static int __devexit s3c2410fb_remove(struct platform_device *pdev) +static int s3c2410fb_remove (struct platform_device *pdev) {struct fb_info *fbinfo =platform_get_drvdata (pdev);struct s3c2410fb_info *info = fbinfo->par;
drivers/video/s3fb.c +1 -1
@@ -1403,7 +1403,7 @@ err_enable_device:/* PCI remove */ -static void __devexit s3_pci_remove(struct pci_dev *dev) +static void s3_pci_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);struct s3fb_info __maybe_unused *par = info->par;
drivers/video/savage/savagefb_driver.c +1 -1
@@ -2340,7 +2340,7 @@ static int savagefb_probe(struct pci_dev* dev,return err; } -static void __devexit savagefb_remove(struct pci_dev *dev) +static void savagefb_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);
drivers/video/sgivwfb.c +1 -1
@@ -825,7 +825,7 @@ fail_ioremap_regs:return -ENXIO ; } -static int __devexit sgivwfb_remove(struct platform_device *dev) +static int sgivwfb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);
drivers/video/sh7760fb.c +1 -1
@@ -557,7 +557,7 @@ out_fb:return ret; } -static int __devexit sh7760fb_remove(struct platform_device *dev) +static int sh7760fb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);struct sh7760fb_par *par = info->par;
drivers/video/sh_mipi_dsi.c +1 -1
@@ -550,7 +550,7 @@ efindslot:return ret; } -static int __devexit sh_mipi_remove(struct platform_device *pdev) +static int sh_mipi_remove (struct platform_device *pdev) {struct resource *res =platform_get_resource (pdev,IORESOURCE_MEM ,0 );struct resource *res2 =platform_get_resource (pdev,IORESOURCE_MEM ,1 );
drivers/video/sis/sis_main.c +1 -1
@@ -6528,7 +6528,7 @@ error_3: vfree(ivideo->bios_abase);/* PCI DEVICE HANDLING */ /*****************************************************/ -static void __devexit sisfb_remove(struct pci_dev *pdev) +static void sisfb_remove (struct pci_dev *pdev) {struct sis_video_info *ivideo =pci_get_drvdata (pdev);struct fb_info *sis_fb_info = ivideo->memyselfandi;
drivers/video/skeletonfb.c +2 -2
@@ -835,8 +835,8 @@ static int xxxfb_probe(struct pci_dev *dev,/* * Cleanup */ -/* static void __devexit xxxfb_remove(struct platform_device *pdev) */ -static void __devexit xxxfb_remove(struct pci_dev *dev) +/* static void xxxfb_remove(struct platform_device *pdev) */ +static void xxxfb_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);/* or platform_get_drvdata(pdev); */
drivers/video/sstfb.c +3 -3
@@ -1239,7 +1239,7 @@ static int sst_init(struct fb_info *info, struct sstfb_par *par)return 1 ; } -static void __devexit sst_shutdown(struct fb_info *info) +static void sst_shutdown (struct fb_info *info) {struct sstfb_par *par = info->par;struct pci_dev *dev = par->dev;
@@ -1458,7 +1458,7 @@ fail_mmio_mem:return -ENXIO ;/* no voodoo detected */ } -static void __devexit sstfb_remove(struct pci_dev *pdev) +static void sstfb_remove (struct pci_dev *pdev) {struct sstfb_par *par;struct fb_info *info;
@@ -1505,7 +1505,7 @@ static int sstfb_init(void)return pci_register_driver (&sstfb_driver); } -static void __devexit sstfb_exit(void) +static void sstfb_exit (void ) {pci_unregister_driver (&sstfb_driver); }
drivers/video/sunxvr1000.c +1 -1
@@ -173,7 +173,7 @@ err_out:return err; } -static int __devexit gfb_remove(struct platform_device *op) +static int gfb_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct gfb_info *gp = info->par;
drivers/video/sunxvr2500.c +1 -1
@@ -219,7 +219,7 @@ err_out:return err; } -static void __devexit s3d_pci_unregister(struct pci_dev *pdev) +static void s3d_pci_unregister (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct s3d_info *sp = info->par;
drivers/video/sunxvr500.c +1 -1
@@ -392,7 +392,7 @@ err_out:return err; } -static void __devexit e3d_pci_unregister(struct pci_dev *pdev) +static void e3d_pci_unregister (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct e3d_info *ep = info->par;
drivers/video/tcx.c +1 -1
@@ -486,7 +486,7 @@ out_err:return err; } -static int __devexit tcx_remove(struct platform_device *op) +static int tcx_remove (struct platform_device *op) {struct fb_info *info =dev_get_drvdata (&op->dev);struct tcx_par *par = info->par;
drivers/video/tdfxfb.c +2 -2
@@ -137,7 +137,7 @@ static struct fb_var_screeninfo tdfx_var = {*/ static int tdfxfb_probe (struct pci_dev *pdev,const struct pci_device_id *id); -static void __devexit tdfxfb_remove(struct pci_dev *pdev); +static void tdfxfb_remove (struct pci_dev *pdev);static struct pci_device_id tdfxfb_id_table[] = { {PCI_VENDOR_ID_3DFX ,PCI_DEVICE_ID_3DFX_BANSHEE ,
@@ -1626,7 +1626,7 @@ static void __init tdfxfb_setup(char *options)* lifetime for the PCI device @pdev. * */ -static void __devexit tdfxfb_remove(struct pci_dev *pdev) +static void tdfxfb_remove (struct pci_dev *pdev) {struct fb_info *info =pci_get_drvdata (pdev);struct tdfx_par *par = info->par;
drivers/video/tgafb.c +7 -7
@@ -62,7 +62,7 @@ static void tgafb_copyarea(struct fb_info *, const struct fb_copyarea *);static int tgafb_pan_display (struct fb_var_screeninfo *var,struct fb_info *info);static int tgafb_register (struct device *dev); -static void __devexit tgafb_unregister(struct device *dev); +static void tgafb_unregister (struct device *dev);static const char *mode_option;static const char *mode_option_pci ="640x480 at 60" ;
@@ -95,7 +95,7 @@ static struct fb_ops tgafb_ops = {*/ static int tgafb_pci_register (struct pci_dev *,const struct pci_device_id *); -static void __devexit tgafb_pci_unregister(struct pci_dev *); +static void tgafb_pci_unregister (struct pci_dev *);static struct pci_device_id const tgafb_pci_table[] = { {PCI_DEVICE (PCI_VENDOR_ID_DEC ,PCI_DEVICE_ID_DEC_TGA ) },
@@ -116,7 +116,7 @@ tgafb_pci_register(struct pci_dev *pdev, const struct pci_device_id *ent)return tgafb_register (&pdev->dev); } -static void __devexit +static void tgafb_pci_unregister (struct pci_dev *pdev) {tgafb_unregister (&pdev->dev);
@@ -128,7 +128,7 @@ tgafb_pci_unregister(struct pci_dev *pdev)* TC registration operations */ static int tgafb_tc_register (struct device *); -static int __devexit tgafb_tc_unregister(struct device *); +static int tgafb_tc_unregister (struct device *);static struct tc_device_id const tgafb_tc_table[] = { {"DEC " ,"PMAGD-AA" },
@@ -156,7 +156,7 @@ tgafb_tc_register(struct device *dev)return status; } -static int __devexit +static int tgafb_tc_unregister (struct device *dev) {put_device (dev);
@@ -1692,7 +1692,7 @@ tgafb_register(struct device *dev)return ret; } -static void __devexit +static void tgafb_unregister (struct device *dev) {resource_size_t bar0_start =0 , bar0_len =0 ;
@@ -1721,7 +1721,7 @@ tgafb_unregister(struct device *dev)framebuffer_release (info); } -static void __devexit +static void tgafb_exit (void ) {tc_unregister_driver (&tgafb_tc_driver);
drivers/video/tmiofb.c +1 -1
@@ -807,7 +807,7 @@ err_ioremap_ccr:return retval; } -static int __devexit tmiofb_remove(struct platform_device *dev) +static int tmiofb_remove (struct platform_device *dev) {const struct mfd_cell *cell =mfd_get_cell (dev);struct fb_info *info =platform_get_drvdata (dev);
drivers/video/tridentfb.c +1 -1
@@ -1543,7 +1543,7 @@ out_unmap1:return err; } -static void __devexit trident_pci_remove(struct pci_dev *dev) +static void trident_pci_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);struct tridentfb_par *par = info->par;
drivers/video/uvesafb.c +1 -1
@@ -1994,7 +1994,7 @@ static int uvesafb_init(void)module_init (uvesafb_init); -static void __devexit uvesafb_exit(void) +static void uvesafb_exit (void ) {struct uvesafb_ktask *task;
drivers/video/vermilion/vermilion.c +1 -1
@@ -393,7 +393,7 @@ static void vmlfb_release_devices(struct vml_par *par)* Free up allocated resources for a device. */ -static void __devexit vml_pci_remove(struct pci_dev *dev) +static void vml_pci_remove (struct pci_dev *dev) {struct fb_info *info;struct vml_info *vinfo;
drivers/video/vga16fb.c +1 -1
@@ -1395,7 +1395,7 @@ static int vga16fb_probe(struct platform_device *dev)return ret; } -static int __devexit vga16fb_remove(struct platform_device *dev) +static int vga16fb_remove (struct platform_device *dev) {struct fb_info *info =platform_get_drvdata (dev);
drivers/video/via/via-core.c +1 -1
@@ -716,7 +716,7 @@ out_disable:return ret; } -static void __devexit via_pci_remove(struct pci_dev *pdev) +static void via_pci_remove (struct pci_dev *pdev) {via_teardown_subdevs ();via_fb_pci_remove (pdev);
drivers/video/via/viafbdev.c +1 -1
@@ -1945,7 +1945,7 @@ out_fb_release:return rc; } -void __devexit via_fb_pci_remove(struct pci_dev *pdev) +void via_fb_pci_remove (struct pci_dev *pdev) {DEBUG_MSG (KERN_INFO "via_pci_remove!\n" );fb_dealloc_cmap (&viafbinfo->cmap);
drivers/video/vt8500lcdfb.c +1 -1
@@ -469,7 +469,7 @@ failed:return ret; } -static int __devexit vt8500lcd_remove(struct platform_device *pdev) +static int vt8500lcd_remove (struct platform_device *pdev) {struct vt8500lcd_info *fbi =platform_get_drvdata (pdev);struct resource *res;
drivers/video/vt8623fb.c +1 -1
@@ -807,7 +807,7 @@ err_enable_device:/* PCI remove */ -static void __devexit vt8623_pci_remove(struct pci_dev *dev) +static void vt8623_pci_remove (struct pci_dev *dev) {struct fb_info *info =pci_get_drvdata (dev);
drivers/video/w100fb.c +1 -1
@@ -783,7 +783,7 @@ out: } -static int __devexit w100fb_remove(struct platform_device *pdev) +static int w100fb_remove (struct platform_device *pdev) {struct fb_info *info =platform_get_drvdata (pdev);struct w100fb_par *par=info->par;
drivers/video/wm8505fb.c +1 -1
@@ -431,7 +431,7 @@ failed:return ret; } -static int __devexit wm8505fb_remove(struct platform_device *pdev) +static int wm8505fb_remove (struct platform_device *pdev) {struct wm8505fb_info *fbi =platform_get_drvdata (pdev);struct resource *res;
drivers/video/wmt_ge_rops.c +1 -1
@@ -152,7 +152,7 @@ static int wmt_ge_rops_probe(struct platform_device *pdev)return 0 ; } -static int __devexit wmt_ge_rops_remove(struct platform_device *pdev) +static int wmt_ge_rops_remove (struct platform_device *pdev) {iounmap (regbase);return 0 ;
drivers/video/xilinxfb.c +1 -1
@@ -485,7 +485,7 @@ static int xilinxfb_of_probe(struct platform_device *op)return -ENODEV ; } -static int __devexit xilinxfb_of_remove(struct platform_device *op) +static int xilinxfb_of_remove (struct platform_device *op) {return xilinxfb_release (&op->dev); }
Signature · 1 line
1.8.0
PATCH 448/493 staging: iio: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/staging/iio/accel/adis16201_core.c | 2 +- drivers/staging/iio/accel/adis16203_core.c | 2 +- drivers/staging/iio/accel/adis16204_core.c | 2 +- drivers/staging/iio/accel/adis16209_core.c | 2 +- drivers/staging/iio/accel/adis16220_core.c | 2 +- drivers/staging/iio/accel/adis16240_core.c | 2 +- drivers/staging/iio/accel/kxsd9.c | 2 +- drivers/staging/iio/accel/lis3l02dq_core.c | 2 +- drivers/staging/iio/accel/sca3000_core.c | 2 +- drivers/staging/iio/adc/ad7192.c | 2 +- drivers/staging/iio/adc/ad7280a.c | 2 +- drivers/staging/iio/adc/ad7291.c | 2 +- drivers/staging/iio/adc/ad7298_core.c | 2 +- drivers/staging/iio/adc/ad7606_par.c | 2 +- drivers/staging/iio/adc/ad7606_spi.c | 2 +- drivers/staging/iio/adc/ad7780.c | 2 +- drivers/staging/iio/adc/ad7793.c | 2 +- drivers/staging/iio/adc/ad7816.c | 2 +- drivers/staging/iio/adc/ad799x_core.c | 2 +- drivers/staging/iio/adc/adt7410.c | 6 +++--- drivers/staging/iio/adc/lpc32xx_adc.c | 2 +- drivers/staging/iio/adc/mxs-lradc.c | 2 +- drivers/staging/iio/adc/spear_adc.c | 2 +- drivers/staging/iio/addac/adt7316-i2c.c | 2 +- drivers/staging/iio/addac/adt7316-spi.c | 2 +- drivers/staging/iio/addac/adt7316.c | 2 +- drivers/staging/iio/cdc/ad7150.c | 2 +- drivers/staging/iio/cdc/ad7152.c | 2 +- drivers/staging/iio/cdc/ad7746.c | 2 +- drivers/staging/iio/frequency/ad5930.c | 2 +- drivers/staging/iio/frequency/ad9832.c | 2 +- drivers/staging/iio/frequency/ad9834.c | 2 +- drivers/staging/iio/frequency/ad9850.c | 2 +- drivers/staging/iio/frequency/ad9852.c | 2 +- drivers/staging/iio/frequency/ad9910.c | 2 +- drivers/staging/iio/frequency/ad9951.c | 2 +- drivers/staging/iio/gyro/adis16060_core.c | 4 ++-- drivers/staging/iio/gyro/adis16080_core.c | 2 +- drivers/staging/iio/gyro/adis16130_core.c | 2 +- drivers/staging/iio/gyro/adis16260_core.c | 2 +- drivers/staging/iio/gyro/adxrs450_core.c | 2 +- drivers/staging/iio/iio_hwmon.c | 2 +- drivers/staging/iio/impedance-analyzer/ad5933.c | 2 +- drivers/staging/iio/imu/adis16400_core.c | 2 +- drivers/staging/iio/light/isl29018.c | 2 +- drivers/staging/iio/light/isl29028.c | 2 +- drivers/staging/iio/light/tsl2563.c | 2 +- drivers/staging/iio/light/tsl2583.c | 2 +- drivers/staging/iio/light/tsl2x7x_core.c | 2 +- drivers/staging/iio/magnetometer/ak8975.c | 2 +- drivers/staging/iio/magnetometer/hmc5843.c | 2 +- drivers/staging/iio/meter/ade7753.c | 2 +- drivers/staging/iio/meter/ade7754.c | 2 +- drivers/staging/iio/meter/ade7758_core.c | 2 +- drivers/staging/iio/meter/ade7759.c | 2 +- drivers/staging/iio/meter/ade7854-i2c.c | 2 +- drivers/staging/iio/meter/ade7854-spi.c | 2 +- drivers/staging/iio/resolver/ad2s1200.c | 2 +- drivers/staging/iio/resolver/ad2s1210.c | 2 +- drivers/staging/iio/resolver/ad2s90.c | 2 +- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +- drivers/staging/iio/trigger/iio-trig-gpio.c | 2 +- drivers/staging/iio/trigger/iio-trig-periodic-rtc.c | 2 +- 63 files changed, 66 insertions(+), 66 deletions(-)
drivers/staging/iio/accel/adis16201_core.c +1 -1
@@ -567,7 +567,7 @@ error_ret:return ret; } -static int __devexit adis16201_remove(struct spi_device *spi) +static int adis16201_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/accel/adis16203_core.c +1 -1
@@ -500,7 +500,7 @@ error_ret:return ret; } -static int __devexit adis16203_remove(struct spi_device *spi) +static int adis16203_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/accel/adis16204_core.c +1 -1
@@ -558,7 +558,7 @@ error_ret:return ret; } -static int __devexit adis16204_remove(struct spi_device *spi) +static int adis16204_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/accel/adis16209_core.c +1 -1
@@ -573,7 +573,7 @@ error_ret:return ret; } -static int __devexit adis16209_remove(struct spi_device *spi) +static int adis16209_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/accel/adis16220_core.c +1 -1
@@ -664,7 +664,7 @@ error_ret:return ret; } -static int __devexit adis16220_remove(struct spi_device *spi) +static int adis16220_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/accel/adis16240_core.c +1 -1
@@ -618,7 +618,7 @@ error_ret:return ret; } -static int __devexit adis16240_remove(struct spi_device *spi) +static int adis16240_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/accel/kxsd9.c +1 -1
@@ -261,7 +261,7 @@ error_ret:return ret; } -static int __devexit kxsd9_remove(struct spi_device *spi) +static int kxsd9_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/accel/lis3l02dq_core.c +1 -1
@@ -782,7 +782,7 @@ err_ret: }/* fixme, confirm ordering in this function */ -static int __devexit lis3l02dq_remove(struct spi_device *spi) +static int lis3l02dq_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct lis3l02dq_state *st =iio_priv (indio_dev);
drivers/staging/iio/accel/sca3000_core.c +1 -1
@@ -1233,7 +1233,7 @@ error_ret:return ret; } -static int __devexit sca3000_remove(struct spi_device *spi) +static int sca3000_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct sca3000_state *st =iio_priv (indio_dev);
drivers/staging/iio/adc/ad7192.c +1 -1
@@ -686,7 +686,7 @@ error_put_reg:return ret; } -static int __devexit ad7192_remove(struct spi_device *spi) +static int ad7192_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ad7192_state *st =iio_priv (indio_dev);
drivers/staging/iio/adc/ad7280a.c +1 -1
@@ -950,7 +950,7 @@ error_free_device:return ret; } -static int __devexit ad7280_remove(struct spi_device *spi) +static int ad7280_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ad7280_state *st =iio_priv (indio_dev);
drivers/staging/iio/adc/ad7291.c +1 -1
@@ -674,7 +674,7 @@ error_ret:return ret; } -static int __devexit ad7291_remove(struct i2c_client *client) +static int ad7291_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);struct ad7291_chip_info *chip =iio_priv (indio_dev);
drivers/staging/iio/adc/ad7298_core.c +1 -1
@@ -251,7 +251,7 @@ error_put_reg:return ret; } -static int __devexit ad7298_remove(struct spi_device *spi) +static int ad7298_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ad7298_state *st =iio_priv (indio_dev);
drivers/staging/iio/adc/ad7606_par.c +1 -1
@@ -100,7 +100,7 @@ out1:return ret; } -static int __devexit ad7606_par_remove(struct platform_device *pdev) +static int ad7606_par_remove (struct platform_device *pdev) {struct iio_dev *indio_dev =platform_get_drvdata (pdev);struct resource *res;
drivers/staging/iio/adc/ad7606_spi.c +1 -1
@@ -55,7 +55,7 @@ static int ad7606_spi_probe(struct spi_device *spi)return 0 ; } -static int __devexit ad7606_spi_remove(struct spi_device *spi) +static int ad7606_spi_remove (struct spi_device *spi) {struct iio_dev *indio_dev =dev_get_drvdata (&spi->dev);
drivers/staging/iio/adc/ad7780.c +1 -1
@@ -248,7 +248,7 @@ error_put_reg:return ret; } -static int __devexit ad7780_remove(struct spi_device *spi) +static int ad7780_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ad7780_state *st =iio_priv (indio_dev);
drivers/staging/iio/adc/ad7793.c +1 -1
@@ -522,7 +522,7 @@ error_put_reg:return ret; } -static int __devexit ad7793_remove(struct spi_device *spi) +static int ad7793_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ad7793_state *st =iio_priv (indio_dev);
drivers/staging/iio/adc/ad7816.c +1 -1
@@ -431,7 +431,7 @@ error_ret:return ret; } -static int __devexit ad7816_remove(struct spi_device *spi_dev) +static int ad7816_remove (struct spi_device *spi_dev) {struct iio_dev *indio_dev =dev_get_drvdata (&spi_dev->dev);struct ad7816_chip_info *chip =iio_priv (indio_dev);
drivers/staging/iio/adc/ad799x_core.c +1 -1
@@ -932,7 +932,7 @@ error_put_reg:return ret; } -static __devexit int ad799x_remove(struct i2c_client *client) +static int ad799x_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);struct ad799x_state *st =iio_priv (indio_dev);
drivers/staging/iio/adc/adt7410.c +3 -3
@@ -792,7 +792,7 @@ error_ret:return ret; } -static int __devexit adt7410_remove(struct device *dev, int irq) +static int adt7410_remove (struct device *dev,int irq) {struct iio_dev *indio_dev =dev_get_drvdata (dev);unsigned long *adt7410_platform_data = dev->platform_data;
@@ -883,7 +883,7 @@ static int adt7410_i2c_probe(struct i2c_client *client, &adt7410_i2c_ops); } -static int __devexit adt7410_i2c_remove(struct i2c_client *client) +static int adt7410_i2c_remove (struct i2c_client *client) {return adt7410_remove (&client->dev, client->irq); }
@@ -1036,7 +1036,7 @@ static int adt7310_spi_probe(struct spi_device *spi) spi_get_device_id(spi)->name, &adt7310_spi_ops); } -static int __devexit adt7310_spi_remove(struct spi_device *spi) +static int adt7310_spi_remove (struct spi_device *spi) {return adt7410_remove (&spi->dev, spi->irq); }
drivers/staging/iio/adc/lpc32xx_adc.c +1 -1
@@ -207,7 +207,7 @@ errout1:return retval; } -static int __devexit lpc32xx_adc_remove(struct platform_device *pdev) +static int lpc32xx_adc_remove (struct platform_device *pdev) {struct iio_dev *iodev =platform_get_drvdata (pdev);struct lpc32xx_adc_info *info =iio_priv (iodev);
drivers/staging/iio/adc/mxs-lradc.c +1 -1
@@ -551,7 +551,7 @@ err_addr:return ret; } -static int __devexit mxs_lradc_remove(struct platform_device *pdev) +static int mxs_lradc_remove (struct platform_device *pdev) {struct iio_dev *iio =platform_get_drvdata (pdev);struct mxs_lradc *lradc =iio_priv (iio);
drivers/staging/iio/adc/spear_adc.c +1 -1
@@ -401,7 +401,7 @@ errout1:return ret; } -static int __devexit spear_adc_remove(struct platform_device *pdev) +static int spear_adc_remove (struct platform_device *pdev) {struct iio_dev *iodev =platform_get_drvdata (pdev);struct spear_adc_info *info =iio_priv (iodev);
drivers/staging/iio/addac/adt7316-i2c.c +1 -1
@@ -108,7 +108,7 @@ static int adt7316_i2c_probe(struct i2c_client *client,return adt7316_probe (&client->dev, &bus, id->name); } -static int __devexit adt7316_i2c_remove(struct i2c_client *client) +static int adt7316_i2c_remove (struct i2c_client *client) {return adt7316_remove (&client->dev); }
drivers/staging/iio/addac/adt7316-spi.c +1 -1
@@ -116,7 +116,7 @@ static int adt7316_spi_probe(struct spi_device *spi_dev)return adt7316_probe (&spi_dev->dev, &bus, spi_dev->modalias); } -static int __devexit adt7316_spi_remove(struct spi_device *spi_dev) +static int adt7316_spi_remove (struct spi_device *spi_dev) {return adt7316_remove (&spi_dev->dev); }
drivers/staging/iio/addac/adt7316.c +1 -1
@@ -2216,7 +2216,7 @@ error_ret: }EXPORT_SYMBOL (adt7316_probe); -int __devexit adt7316_remove(struct device *dev) +int adt7316_remove (struct device *dev) {struct iio_dev *indio_dev =dev_get_drvdata (dev);struct adt7316_chip_info *chip =iio_priv (indio_dev);
drivers/staging/iio/cdc/ad7150.c +1 -1
@@ -628,7 +628,7 @@ error_ret:return ret; } -static int __devexit ad7150_remove(struct i2c_client *client) +static int ad7150_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);
drivers/staging/iio/cdc/ad7152.c +1 -1
@@ -518,7 +518,7 @@ error_ret:return ret; } -static int __devexit ad7152_remove(struct i2c_client *client) +static int ad7152_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);
drivers/staging/iio/cdc/ad7746.c +1 -1
@@ -768,7 +768,7 @@ error_ret:return ret; } -static int __devexit ad7746_remove(struct i2c_client *client) +static int ad7746_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);
drivers/staging/iio/frequency/ad5930.c +1 -1
@@ -127,7 +127,7 @@ error_ret:return ret; } -static int __devexit ad5930_remove(struct spi_device *spi) +static int ad5930_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/frequency/ad9832.c +1 -1
@@ -324,7 +324,7 @@ error_put_reg:return ret; } -static int __devexit ad9832_remove(struct spi_device *spi) +static int ad9832_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ad9832_state *st =iio_priv (indio_dev);
drivers/staging/iio/frequency/ad9834.c +1 -1
@@ -424,7 +424,7 @@ error_put_reg:return ret; } -static int __devexit ad9834_remove(struct spi_device *spi) +static int ad9834_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ad9834_state *st =iio_priv (indio_dev);
drivers/staging/iio/frequency/ad9850.c +1 -1
@@ -113,7 +113,7 @@ error_ret:return ret; } -static int __devexit ad9850_remove(struct spi_device *spi) +static int ad9850_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/frequency/ad9852.c +1 -1
@@ -264,7 +264,7 @@ error_ret:return ret; } -static int __devexit ad9852_remove(struct spi_device *spi) +static int ad9852_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/frequency/ad9910.c +1 -1
@@ -397,7 +397,7 @@ error_ret:return ret; } -static int __devexit ad9910_remove(struct spi_device *spi) +static int ad9910_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/frequency/ad9951.c +1 -1
@@ -208,7 +208,7 @@ error_ret:return ret; } -static int __devexit ad9951_remove(struct spi_device *spi) +static int ad9951_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/gyro/adis16060_core.c +2 -2
@@ -184,7 +184,7 @@ error_ret: }/* fixme, confirm ordering in this function */ -static int __devexit adis16060_r_remove(struct spi_device *spi) +static int adis16060_r_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
@@ -210,7 +210,7 @@ error_ret:return ret; } -static int __devexit adis16060_w_remove(struct spi_device *spi) +static int adis16060_w_remove (struct spi_device *spi) {return 0 ; }
drivers/staging/iio/gyro/adis16080_core.c +1 -1
@@ -177,7 +177,7 @@ error_ret: }/* fixme, confirm ordering in this function */ -static int __devexit adis16080_remove(struct spi_device *spi) +static int adis16080_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/gyro/adis16130_core.c +1 -1
@@ -154,7 +154,7 @@ error_ret: }/* fixme, confirm ordering in this function */ -static int __devexit adis16130_remove(struct spi_device *spi) +static int adis16130_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/gyro/adis16260_core.c +1 -1
@@ -703,7 +703,7 @@ error_ret:return ret; } -static int __devexit adis16260_remove(struct spi_device *spi) +static int adis16260_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/gyro/adxrs450_core.c +1 -1
@@ -409,7 +409,7 @@ error_ret:return ret; } -static int __devexit adxrs450_remove(struct spi_device *spi) +static int adxrs450_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/iio_hwmon.c +1 -1
@@ -170,7 +170,7 @@ error_ret:return ret; } -static int __devexit iio_hwmon_remove(struct platform_device *pdev) +static int iio_hwmon_remove (struct platform_device *pdev) {struct iio_hwmon_state *st =platform_get_drvdata (pdev);
drivers/staging/iio/impedance-analyzer/ad5933.c +1 -1
@@ -787,7 +787,7 @@ error_put_reg:return ret; } -static __devexit int ad5933_remove(struct i2c_client *client) +static int ad5933_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);struct ad5933_state *st =iio_priv (indio_dev);
drivers/staging/iio/imu/adis16400_core.c +1 -1
@@ -1273,7 +1273,7 @@ error_ret: }/* fixme, confirm ordering in this function */ -static int __devexit adis16400_remove(struct spi_device *spi) +static int adis16400_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/light/isl29018.c +1 -1
@@ -598,7 +598,7 @@ exit:return err; } -static int __devexit isl29018_remove(struct i2c_client *client) +static int isl29018_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);
drivers/staging/iio/light/isl29028.c +1 -1
@@ -526,7 +526,7 @@ exit_iio_free:return ret; } -static int __devexit isl29028_remove(struct i2c_client *client) +static int isl29028_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);
drivers/staging/iio/light/tsl2563.c +1 -1
@@ -805,7 +805,7 @@ fail1:return err; } -static int __devexit tsl2563_remove(struct i2c_client *client) +static int tsl2563_remove (struct i2c_client *client) {struct tsl2563_chip *chip =i2c_get_clientdata (client);struct iio_dev *indio_dev =iio_priv_to_dev (chip);
drivers/staging/iio/light/tsl2583.c +1 -1
@@ -923,7 +923,7 @@ static SIMPLE_DEV_PM_OPS(taos_pm_ops, taos_suspend, taos_resume);#define TAOS_PM_OPS NULL#endif -static int __devexit taos_remove(struct i2c_client *client) +static int taos_remove (struct i2c_client *client) {iio_device_unregister (i2c_get_clientdata (client));iio_device_free (i2c_get_clientdata (client));
drivers/staging/iio/light/tsl2x7x_core.c +1 -1
@@ -2026,7 +2026,7 @@ static int tsl2x7x_resume(struct device *dev)return ret; } -static int __devexit tsl2x7x_remove(struct i2c_client *client) +static int tsl2x7x_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);
drivers/staging/iio/magnetometer/ak8975.c +1 -1
@@ -475,7 +475,7 @@ exit:return err; } -static int __devexit ak8975_remove(struct i2c_client *client) +static int ak8975_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);struct ak8975_data *data =iio_priv (indio_dev);
drivers/staging/iio/magnetometer/hmc5843.c +1 -1
@@ -704,7 +704,7 @@ exit:return err; } -static int __devexit hmc5843_remove(struct i2c_client *client) +static int hmc5843_remove (struct i2c_client *client) {struct iio_dev *indio_dev =i2c_get_clientdata (client);
drivers/staging/iio/meter/ade7753.c +1 -1
@@ -555,7 +555,7 @@ error_ret: }/* fixme, confirm ordering in this function */ -static int __devexit ade7753_remove(struct spi_device *spi) +static int ade7753_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/meter/ade7754.c +1 -1
@@ -577,7 +577,7 @@ error_ret: }/* fixme, confirm ordering in this function */ -static int __devexit ade7754_remove(struct spi_device *spi) +static int ade7754_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/meter/ade7758_core.c +1 -1
@@ -962,7 +962,7 @@ error_ret:return ret; } -static int __devexit ade7758_remove(struct spi_device *spi) +static int ade7758_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);struct ade7758_state *st =iio_priv (indio_dev);
drivers/staging/iio/meter/ade7759.c +1 -1
@@ -499,7 +499,7 @@ error_ret: }/* fixme, confirm ordering in this function */ -static int __devexit ade7759_remove(struct spi_device *spi) +static int ade7759_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/meter/ade7854-i2c.c +1 -1
@@ -231,7 +231,7 @@ static int ade7854_i2c_probe(struct i2c_client *client,return ret; } -static int __devexit ade7854_i2c_remove(struct i2c_client *client) +static int ade7854_i2c_remove (struct i2c_client *client) {return ade7854_remove (i2c_get_clientdata (client)); }
drivers/staging/iio/meter/ade7854-spi.c +1 -1
@@ -330,7 +330,7 @@ static int ade7854_spi_probe(struct spi_device *spi)return 0 ; } -static int __devexit ade7854_spi_remove(struct spi_device *spi) +static int ade7854_spi_remove (struct spi_device *spi) {ade7854_remove (spi_get_drvdata (spi));
drivers/staging/iio/resolver/ad2s1200.c +1 -1
@@ -149,7 +149,7 @@ error_ret:return ret; } -static int __devexit ad2s1200_remove(struct spi_device *spi) +static int ad2s1200_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/resolver/ad2s1210.c +1 -1
@@ -736,7 +736,7 @@ error_ret:return ret; } -static int __devexit ad2s1210_remove(struct spi_device *spi) +static int ad2s1210_remove (struct spi_device *spi) {struct iio_dev *indio_dev =spi_get_drvdata (spi);
drivers/staging/iio/resolver/ad2s90.c +1 -1
@@ -98,7 +98,7 @@ error_ret:return ret; } -static int __devexit ad2s90_remove(struct spi_device *spi) +static int ad2s90_remove (struct spi_device *spi) {iio_device_unregister (spi_get_drvdata (spi));iio_device_free (spi_get_drvdata (spi));
drivers/staging/iio/trigger/iio-trig-bfin-timer.c +1 -1
@@ -275,7 +275,7 @@ out:return ret; } -static int __devexit iio_bfin_tmr_trigger_remove(struct platform_device *pdev) +static int iio_bfin_tmr_trigger_remove (struct platform_device *pdev) {struct bfin_tmr_state *st =platform_get_drvdata (pdev);
drivers/staging/iio/trigger/iio-trig-gpio.c +1 -1
@@ -130,7 +130,7 @@ error_free_completed_registrations:return ret; } -static int __devexit iio_gpio_trigger_remove(struct platform_device *pdev) +static int iio_gpio_trigger_remove (struct platform_device *pdev) {struct iio_trigger *trig, *trig2;struct iio_gpio_trigger_info *trig_info;
drivers/staging/iio/trigger/iio-trig-periodic-rtc.c +1 -1
@@ -167,7 +167,7 @@ error_free_completed_registrations:return ret; } -static int __devexit iio_trig_periodic_rtc_remove(struct platform_device *dev) +static int iio_trig_periodic_rtc_remove (struct platform_device *dev) {struct iio_trigger *trig, *trig2;struct iio_prtc_trigger_info *trig_info;
Signature · 1 line
1.8.0
PATCH 470/493 ethernet: remove use of __devexit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.
--- drivers/net/ethernet/3com/3c509.c | 6 +++--- drivers/net/ethernet/3com/3c59x.c | 4 ++-- drivers/net/ethernet/3com/typhoon.c | 2 +- drivers/net/ethernet/8390/etherh.c | 2 +- drivers/net/ethernet/8390/hydra.c | 4 ++-- drivers/net/ethernet/8390/ne2k-pci.c | 2 +- drivers/net/ethernet/8390/ne3210.c | 2 +- drivers/net/ethernet/8390/zorro8390.c | 2 +- drivers/net/ethernet/adaptec/starfire.c | 2 +- drivers/net/ethernet/adi/bfin_mac.c | 4 ++-- drivers/net/ethernet/aeroflex/greth.c | 2 +- drivers/net/ethernet/alteon/acenic.c | 2 +- drivers/net/ethernet/amd/a2065.c | 4 ++-- drivers/net/ethernet/amd/amd8111e.c | 2 +- drivers/net/ethernet/amd/ariadne.c | 2 +- drivers/net/ethernet/amd/au1000_eth.c | 2 +- drivers/net/ethernet/amd/depca.c | 4 ++-- drivers/net/ethernet/amd/hplance.c | 4 ++-- drivers/net/ethernet/amd/pcnet32.c | 2 +- drivers/net/ethernet/amd/sunlance.c | 2 +- drivers/net/ethernet/apple/bmac.c | 2 +- drivers/net/ethernet/apple/mace.c | 2 +- drivers/net/ethernet/apple/macmace.c | 2 +- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +- drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +- drivers/net/ethernet/atheros/atlx/atl1.c | 2 +- drivers/net/ethernet/atheros/atlx/atl2.c | 2 +- drivers/net/ethernet/broadcom/b44.c | 2 +- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 4 ++-- drivers/net/ethernet/broadcom/bnx2.c | 2 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +- drivers/net/ethernet/broadcom/tg3.c | 2 +- drivers/net/ethernet/brocade/bna/bnad.c | 2 +- drivers/net/ethernet/cadence/at91_ether.c | 2 +- drivers/net/ethernet/chelsio/cxgb/cxgb2.c | 2 +- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 +- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 2 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +- drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 4 ++-- drivers/net/ethernet/cisco/enic/enic_main.c | 2 +- drivers/net/ethernet/davicom/dm9000.c | 2 +- drivers/net/ethernet/dec/tulip/de2104x.c | 2 +- drivers/net/ethernet/dec/tulip/de4x5.c | 4 ++-- drivers/net/ethernet/dec/tulip/dmfe.c | 2 +- drivers/net/ethernet/dec/tulip/tulip_core.c | 2 +- drivers/net/ethernet/dec/tulip/uli526x.c | 2 +- drivers/net/ethernet/dec/tulip/winbond-840.c | 2 +- drivers/net/ethernet/dec/tulip/xircom_cb.c | 2 +- drivers/net/ethernet/dlink/dl2k.c | 2 +- drivers/net/ethernet/dlink/sundance.c | 2 +- drivers/net/ethernet/dnet.c | 2 +- drivers/net/ethernet/emulex/benet/be_main.c | 2 +- drivers/net/ethernet/ethoc.c | 2 +- drivers/net/ethernet/fealnx.c | 2 +- drivers/net/ethernet/freescale/fec.c | 2 +- drivers/net/ethernet/freescale/xgmac_mdio.c | 2 +- drivers/net/ethernet/hp/hp100.c | 4 ++-- drivers/net/ethernet/i825xx/ether1.c | 2 +- drivers/net/ethernet/i825xx/lasi_82596.c | 2 +- drivers/net/ethernet/i825xx/sni_82596.c | 2 +- drivers/net/ethernet/ibm/ehea/ehea_main.c | 4 ++-- drivers/net/ethernet/ibm/emac/core.c | 2 +- drivers/net/ethernet/ibm/emac/mal.c | 2 +- drivers/net/ethernet/ibm/emac/rgmii.c | 2 +- drivers/net/ethernet/ibm/emac/tah.c | 2 +- drivers/net/ethernet/ibm/emac/zmii.c | 2 +- drivers/net/ethernet/ibm/ibmveth.c | 2 +- drivers/net/ethernet/icplus/ipg.c | 2 +- drivers/net/ethernet/intel/e100.c | 2 +- drivers/net/ethernet/intel/e1000/e1000_main.c | 4 ++-- drivers/net/ethernet/intel/e1000e/netdev.c | 2 +- drivers/net/ethernet/intel/igb/igb_main.c | 4 ++-- drivers/net/ethernet/intel/igbvf/netdev.c | 2 +- drivers/net/ethernet/intel/ixgb/ixgb_main.c | 4 ++-- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +- drivers/net/ethernet/jme.c | 2 +- drivers/net/ethernet/lantiq_etop.c | 2 +- drivers/net/ethernet/marvell/skge.c | 2 +- drivers/net/ethernet/marvell/sky2.c | 2 +- drivers/net/ethernet/micrel/ks8695net.c | 2 +- drivers/net/ethernet/micrel/ks8842.c | 2 +- drivers/net/ethernet/micrel/ks8851.c | 2 +- drivers/net/ethernet/micrel/ks8851_mll.c | 2 +- drivers/net/ethernet/microchip/enc28j60.c | 2 +- drivers/net/ethernet/natsemi/jazzsonic.c | 2 +- drivers/net/ethernet/natsemi/macsonic.c | 2 +- drivers/net/ethernet/natsemi/natsemi.c | 2 +- drivers/net/ethernet/natsemi/ns83820.c | 2 +- drivers/net/ethernet/natsemi/xtsonic.c | 2 +- drivers/net/ethernet/neterion/s2io.c | 2 +- drivers/net/ethernet/neterion/s2io.h | 2 +- drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +- drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +- drivers/net/ethernet/nvidia/forcedeth.c | 2 +- drivers/net/ethernet/octeon/octeon_mgmt.c | 2 +- drivers/net/ethernet/packetengines/hamachi.c | 2 +- drivers/net/ethernet/packetengines/yellowfin.c | 2 +- drivers/net/ethernet/pasemi/pasemi_mac.c | 2 +- drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 4 ++-- drivers/net/ethernet/qlogic/qla3xxx.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 4 ++-- drivers/net/ethernet/qlogic/qlge/qlge_main.c | 2 +- drivers/net/ethernet/rdc/r6040.c | 2 +- drivers/net/ethernet/realtek/8139too.c | 2 +- drivers/net/ethernet/realtek/r8169.c | 2 +- drivers/net/ethernet/s6gmac.c | 2 +- drivers/net/ethernet/seeq/ether3.c | 2 +- drivers/net/ethernet/sgi/ioc3-eth.c | 2 +- drivers/net/ethernet/silan/sc92031.c | 2 +- drivers/net/ethernet/sis/sis190.c | 2 +- drivers/net/ethernet/sis/sis900.c | 2 +- drivers/net/ethernet/smsc/epic100.c | 2 +- drivers/net/ethernet/smsc/smc911x.c | 2 +- drivers/net/ethernet/smsc/smc91x.c | 2 +- drivers/net/ethernet/smsc/smsc911x.c | 2 +- drivers/net/ethernet/smsc/smsc9420.c | 2 +- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 2 +- drivers/net/ethernet/sun/cassini.c | 2 +- drivers/net/ethernet/sun/niu.c | 6 +++--- drivers/net/ethernet/sun/sunbmac.c | 2 +- drivers/net/ethernet/sun/sunhme.c | 4 ++-- drivers/net/ethernet/sun/sunqe.c | 2 +- drivers/net/ethernet/tehuti/tehuti.c | 2 +- drivers/net/ethernet/ti/cpmac.c | 4 ++-- drivers/net/ethernet/ti/cpsw.c | 2 +- drivers/net/ethernet/ti/davinci_emac.c | 2 +- drivers/net/ethernet/ti/davinci_mdio.c | 2 +- drivers/net/ethernet/ti/tlan.c | 2 +- drivers/net/ethernet/toshiba/spider_net.c | 2 +- drivers/net/ethernet/toshiba/tc35815.c | 2 +- drivers/net/ethernet/via/via-rhine.c | 2 +- drivers/net/ethernet/via/via-velocity.c | 2 +- drivers/net/ethernet/wiznet/w5100.c | 2 +- drivers/net/ethernet/wiznet/w5300.c | 2 +- drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +- drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +- drivers/net/ethernet/xscale/ixp4xx_eth.c | 2 +- 139 files changed, 161 insertions(+), 161 deletions(-)
drivers/net/ethernet/3com/3c509.c +3 -3
@@ -341,7 +341,7 @@ static int el3_isa_match(struct device *pdev,return 1 ; } -static int __devexit el3_isa_remove(struct device *pdev, +static int el3_isa_remove (struct device *pdev,unsigned int ndev) {el3_device_remove (pdev);
@@ -445,7 +445,7 @@ static int el3_pnp_probe(struct pnp_dev *pdev,return 0 ; } -static void __devexit el3_pnp_remove(struct pnp_dev *pdev) +static void el3_pnp_remove (struct pnp_dev *pdev) {el3_common_remove (pnp_get_drvdata (pdev));pnp_set_drvdata (pdev,NULL );
@@ -618,7 +618,7 @@ static int __init el3_eisa_probe (struct device *device)/* This remove works for all device types. * * The net dev must be stored in the driver data field */ -static int __devexit el3_device_remove (struct device *device) +static int el3_device_remove (struct device *device) {struct net_device *dev;
drivers/net/ethernet/3com/3c59x.c +2 -2
@@ -931,7 +931,7 @@ static int __init vortex_eisa_probe(struct device *device)return 0 ; } -static int __devexit vortex_eisa_remove(struct device *device) +static int vortex_eisa_remove (struct device *device) {struct eisa_device *edev;struct net_device *dev;
@@ -3222,7 +3222,7 @@ static void acpi_set_WOL(struct net_device *dev) } -static void __devexit vortex_remove_one(struct pci_dev *pdev) +static void vortex_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct vortex_private *vp;
drivers/net/ethernet/3com/typhoon.c +1 -1
@@ -2509,7 +2509,7 @@ error_out:return err; } -static void __devexit +static void typhoon_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/8390/etherh.c +1 -1
@@ -775,7 +775,7 @@ etherh_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit etherh_remove(struct expansion_card *ec) +static void etherh_remove (struct expansion_card *ec) {struct net_device *dev =ecard_get_drvdata (ec);
drivers/net/ethernet/8390/hydra.c +2 -2
@@ -65,7 +65,7 @@ static void hydra_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset);static void hydra_block_output (struct net_device *dev,int count,const unsigned char *buf,int start_page); -static void __devexit hydra_remove_one(struct zorro_dev *z); +static void hydra_remove_one (struct zorro_dev *z);static struct zorro_device_id hydra_zorro_tbl[] = { {ZORRO_PROD_HYDRA_SYSTEMS_AMIGANET },
@@ -247,7 +247,7 @@ static void hydra_block_output(struct net_device *dev, int count,z_memcpy_toio (mem_base+((start_page -NESM_START_PG )<<8 ), buf, count); } -static void __devexit hydra_remove_one(struct zorro_dev *z) +static void hydra_remove_one (struct zorro_dev *z) {struct net_device *dev =zorro_get_drvdata (z);
drivers/net/ethernet/8390/ne2k-pci.c +1 -1
@@ -647,7 +647,7 @@ static const struct ethtool_ops ne2k_pci_ethtool_ops = { .get_drvinfo = ne2k_pci_get_drvinfo, }; -static void __devexit ne2k_pci_remove_one (struct pci_dev *pdev) +static void ne2k_pci_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/8390/ne3210.c +1 -1
@@ -222,7 +222,7 @@ static int __init ne3210_eisa_probe (struct device *device)return retval; } -static int __devexit ne3210_eisa_remove (struct device *device) +static int ne3210_eisa_remove (struct device *device) {struct net_device *dev =dev_get_drvdata (device);unsigned long ioaddr =to_eisa_device (device)->base_addr;
drivers/net/ethernet/8390/zorro8390.c +1 -1
@@ -254,7 +254,7 @@ static int zorro8390_close(struct net_device *dev)return 0 ; } -static void __devexit zorro8390_remove_one(struct zorro_dev *z) +static void zorro8390_remove_one (struct zorro_dev *z) {struct net_device *dev =zorro_get_drvdata (z);
drivers/net/ethernet/adaptec/starfire.c +1 -1
@@ -1990,7 +1990,7 @@ static int starfire_resume(struct pci_dev *pdev)#endif /* CONFIG_PM */ -static void __devexit starfire_remove_one (struct pci_dev *pdev) +static void starfire_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct netdev_private *np =netdev_priv (dev);
drivers/net/ethernet/adi/bfin_mac.c +2 -2
@@ -1727,7 +1727,7 @@ out_err_probe_mac:return rc; } -static int __devexit bfin_mac_remove(struct platform_device *pdev) +static int bfin_mac_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);struct bfin_mac_local *lp =netdev_priv (ndev);
@@ -1864,7 +1864,7 @@ out_err_alloc:return rc; } -static int __devexit bfin_mii_bus_remove(struct platform_device *pdev) +static int bfin_mii_bus_remove (struct platform_device *pdev) {struct mii_bus *miibus =platform_get_drvdata (pdev); struct bfin_mii_bus_platform_data *mii_bus_pd =
drivers/net/ethernet/aeroflex/greth.c +1 -1
@@ -1576,7 +1576,7 @@ error1:return err; } -static int __devexit greth_of_remove(struct platform_device *of_dev) +static int greth_of_remove (struct platform_device *of_dev) {struct net_device *ndev =dev_get_drvdata (&of_dev->dev);struct greth_private *greth =netdev_priv (ndev);
drivers/net/ethernet/alteon/acenic.c +1 -1
@@ -603,7 +603,7 @@ static int acenic_probe_one(struct pci_dev *pdev,return -ENODEV ; } -static void __devexit acenic_remove_one(struct pci_dev *pdev) +static void acenic_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct ace_private *ap =netdev_priv (dev);
drivers/net/ethernet/amd/a2065.c +2 -2
@@ -641,7 +641,7 @@ static void lance_set_multicast(struct net_device *dev)static int a2065_init_one (struct zorro_dev *z,const struct zorro_device_id *ent); -static void __devexit a2065_remove_one(struct zorro_dev *z); +static void a2065_remove_one (struct zorro_dev *z);static struct zorro_device_id a2065_zorro_tbl[] = {
@@ -754,7 +754,7 @@ static int a2065_init_one(struct zorro_dev *z, } -static void __devexit a2065_remove_one(struct zorro_dev *z) +static void a2065_remove_one (struct zorro_dev *z) {struct net_device *dev =zorro_get_drvdata (z);
drivers/net/ethernet/amd/amd8111e.c +1 -1
@@ -1702,7 +1702,7 @@ static int amd8111e_resume(struct pci_dev *pci_dev) } -static void __devexit amd8111e_remove_one(struct pci_dev *pdev) +static void amd8111e_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);if (dev) {
drivers/net/ethernet/amd/ariadne.c +1 -1
@@ -682,7 +682,7 @@ static void set_multicast_list(struct net_device *dev) } -static void __devexit ariadne_remove_one(struct zorro_dev *z) +static void ariadne_remove_one (struct zorro_dev *z) {struct net_device *dev =zorro_get_drvdata (z);
drivers/net/ethernet/amd/au1000_eth.c +1 -1
@@ -1295,7 +1295,7 @@ out:return err; } -static int __devexit au1000_remove(struct platform_device *pdev) +static int au1000_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct au1000_private *aup =netdev_priv (dev);
drivers/net/ethernet/amd/depca.c +2 -2
@@ -345,7 +345,7 @@ static struct eisa_driver depca_eisa_driver = {static int depca_isa_probe (struct platform_device *); -static int __devexit depca_isa_remove(struct platform_device *pdev) +static int depca_isa_remove (struct platform_device *pdev) {return depca_device_remove (&pdev->dev); }
@@ -1412,7 +1412,7 @@ static int __init depca_eisa_probe (struct device *device) }#endif -static int __devexit depca_device_remove (struct device *device) +static int depca_device_remove (struct device *device) {struct net_device *dev;struct depca_private *lp;
drivers/net/ethernet/amd/hplance.c +2 -2
@@ -50,7 +50,7 @@ static int hplance_init_one(struct dio_dev *d, const struct dio_device_id *ent);static void hplance_init (struct net_device *dev,struct dio_dev *d); -static void __devexit hplance_remove_one(struct dio_dev *d); +static void hplance_remove_one (struct dio_dev *d);static void hplance_writerap (void *priv,unsigned short value);static void hplance_writerdp (void *priv,unsigned short value);static unsigned short hplance_readrdp (void *priv);
@@ -118,7 +118,7 @@ static int hplance_init_one(struct dio_dev *d,return err; } -static void __devexit hplance_remove_one(struct dio_dev *d) +static void hplance_remove_one (struct dio_dev *d) {struct net_device *dev =dio_get_drvdata (d);
drivers/net/ethernet/amd/pcnet32.c +1 -1
@@ -2823,7 +2823,7 @@ static int pcnet32_pm_resume(struct pci_dev *pdev)return 0 ; } -static void __devexit pcnet32_remove_one(struct pci_dev *pdev) +static void pcnet32_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/amd/sunlance.c +1 -1
@@ -1504,7 +1504,7 @@ static int sunlance_sbus_probe(struct platform_device *op)return err; } -static int __devexit sunlance_sbus_remove(struct platform_device *op) +static int sunlance_sbus_remove (struct platform_device *op) {struct lance_private *lp =dev_get_drvdata (&op->dev);struct net_device *net_dev = lp->dev;
drivers/net/ethernet/apple/bmac.c +1 -1
@@ -1602,7 +1602,7 @@ bmac_proc_info(char *buffer, char **start, off_t offset, int length) }#endif -static int __devexit bmac_remove(struct macio_dev *mdev) +static int bmac_remove (struct macio_dev *mdev) {struct net_device *dev =macio_get_drvdata (mdev);struct bmac_data *bp =netdev_priv (dev);
drivers/net/ethernet/apple/mace.c +1 -1
@@ -271,7 +271,7 @@ static int mace_probe(struct macio_dev *mdev, const struct of_device_id *match)return rc; } -static int __devexit mace_remove(struct macio_dev *mdev) +static int mace_remove (struct macio_dev *mdev) {struct net_device *dev =macio_get_drvdata (mdev);struct mace_data *mp;
drivers/net/ethernet/apple/macmace.c +1 -1
@@ -746,7 +746,7 @@ MODULE_LICENSE("GPL");MODULE_DESCRIPTION ("Macintosh MACE ethernet driver" );MODULE_ALIAS ("platform:macmace" ); -static int __devexit mac_mace_device_remove (struct platform_device *pdev) +static int mac_mace_device_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct mace_data *mp =netdev_priv (dev);
drivers/net/ethernet/atheros/atl1c/atl1c_main.c +1 -1
@@ -2587,7 +2587,7 @@ err_dma:* Hot-Plug event, or because the driver is going to be removed from * memory. */ -static void __devexit atl1c_remove(struct pci_dev *pdev) +static void atl1c_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct atl1c_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/atheros/atl1e/atl1e_main.c +1 -1
@@ -2387,7 +2387,7 @@ err_dma:* Hot-Plug event, or because the driver is going to be removed from * memory. */ -static void __devexit atl1e_remove(struct pci_dev *pdev) +static void atl1e_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct atl1e_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/atheros/atlx/atl1.c +1 -1
@@ -3113,7 +3113,7 @@ err_request_regions:* Hot-Plug event, or because the driver is going to be removed from * memory. */ -static void __devexit atl1_remove(struct pci_dev *pdev) +static void atl1_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct atl1_adapter *adapter;
drivers/net/ethernet/atheros/atlx/atl2.c +1 -1
@@ -1498,7 +1498,7 @@ err_dma:*/ /* FIXME: write the original MAC address back in case it was changed from a * BIOS-set value, as in atl1 -- CHS */ -static void __devexit atl2_remove(struct pci_dev *pdev) +static void atl2_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct atl2_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/broadcom/b44.c +1 -1
@@ -2249,7 +2249,7 @@ out:return err; } -static void __devexit b44_remove_one(struct ssb_device *sdev) +static void b44_remove_one (struct ssb_device *sdev) {struct net_device *dev =ssb_get_drvdata (sdev);
drivers/net/ethernet/broadcom/bcm63xx_enet.c +2 -2
@@ -1830,7 +1830,7 @@ out:/* * exit func, stops hardware and unregisters netdevice */ -static int __devexit bcm_enet_remove(struct platform_device *pdev) +static int bcm_enet_remove (struct platform_device *pdev) {struct bcm_enet_priv *priv;struct net_device *dev;
@@ -1908,7 +1908,7 @@ static int bcm_enet_shared_probe(struct platform_device *pdev)return 0 ; } -static int __devexit bcm_enet_shared_remove(struct platform_device *pdev) +static int bcm_enet_shared_remove (struct platform_device *pdev) {struct resource *res;
drivers/net/ethernet/broadcom/bnx2.c +1 -1
@@ -8572,7 +8572,7 @@ err_free:return rc; } -static void __devexit +static void bnx2_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +1 -1
@@ -12134,7 +12134,7 @@ init_one_exit:return rc; } -static void __devexit bnx2x_remove_one(struct pci_dev *pdev) +static void bnx2x_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct bnx2x *bp;
drivers/net/ethernet/broadcom/tg3.c +1 -1
@@ -16298,7 +16298,7 @@ err_out_disable_pdev:return err; } -static void __devexit tg3_remove_one(struct pci_dev *pdev) +static void tg3_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/brocade/bna/bnad.c +1 -1
@@ -3426,7 +3426,7 @@ unlock_mutex:return err; } -static void __devexit +static void bnad_pci_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);
drivers/net/ethernet/cadence/at91_ether.c +1 -1
@@ -459,7 +459,7 @@ err_free_dev:return res; } -static int __devexit at91ether_remove(struct platform_device *pdev) +static int at91ether_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct macb *lp =netdev_priv (dev);
drivers/net/ethernet/chelsio/cxgb/cxgb2.c +1 -1
@@ -1332,7 +1332,7 @@ static inline void t1_sw_reset(struct pci_dev *pdev)pci_write_config_dword (pdev,A_PCICFG_PM_CSR ,0 ); } -static void __devexit remove_one(struct pci_dev *pdev) +static void remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct adapter *adapter = dev->ml_priv;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c +1 -1
@@ -3381,7 +3381,7 @@ out:return err; } -static void __devexit remove_one(struct pci_dev *pdev) +static void remove_one (struct pci_dev *pdev) {struct adapter *adapter =pci_get_drvdata (pdev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c +1 -1
@@ -1396,7 +1396,7 @@ void cxgb3_adapter_ofld(struct adapter *adapter)register_tdev (tdev); } -void __devexit cxgb3_adapter_unofld(struct adapter *adapter) +void cxgb3_adapter_unofld (struct adapter *adapter) {struct t3cdev *tdev = &adapter->tdev;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +1 -1
@@ -4640,7 +4640,7 @@ sriov:return err; } -static void __devexit remove_one(struct pci_dev *pdev) +static void remove_one (struct pci_dev *pdev) {struct adapter *adapter =pci_get_drvdata (pdev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c +2 -2
@@ -2769,7 +2769,7 @@ err_disable_device:* "probe" routine and quiesce the device (disable interrupts, etc.). (Note * that this is called "remove_one" in the PF Driver.) */ -static void __devexit cxgb4vf_pci_remove(struct pci_dev *pdev) +static void cxgb4vf_pci_remove (struct pci_dev *pdev) {struct adapter *adapter =pci_get_drvdata (pdev);
@@ -2835,7 +2835,7 @@ static void __devexit cxgb4vf_pci_remove(struct pci_dev *pdev)* "Shutdown" quiesce the device, stopping Ingress Packet and Interrupt * delivery. */ -static void __devexit cxgb4vf_pci_shutdown(struct pci_dev *pdev) +static void cxgb4vf_pci_shutdown (struct pci_dev *pdev) {struct adapter *adapter;int pidx;
drivers/net/ethernet/cisco/enic/enic_main.c +1 -1
@@ -2552,7 +2552,7 @@ err_out_free_netdev:return err; } -static void __devexit enic_remove(struct pci_dev *pdev) +static void enic_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);
drivers/net/ethernet/davicom/dm9000.c +1 -1
@@ -1661,7 +1661,7 @@ static const struct dev_pm_ops dm9000_drv_pm_ops = { .resume = dm9000_drv_resume, }; -static int __devexit +static int dm9000_drv_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);
drivers/net/ethernet/dec/tulip/de2104x.c +1 -1
@@ -2099,7 +2099,7 @@ err_out_free:return rc; } -static void __devexit de_remove_one (struct pci_dev *pdev) +static void de_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct de_private *de =netdev_priv (dev);
drivers/net/ethernet/dec/tulip/de4x5.c +2 -2
@@ -2077,7 +2077,7 @@ static int __init de4x5_eisa_probe (struct device *gendev)return status; } -static int __devexit de4x5_eisa_remove (struct device *device) +static int de4x5_eisa_remove (struct device *device) {struct net_device *dev;u_long iobase;
@@ -2314,7 +2314,7 @@ static int de4x5_pci_probe (struct pci_dev *pdev,return error; } -static void __devexit de4x5_pci_remove (struct pci_dev *pdev) +static void de4x5_pci_remove (struct pci_dev *pdev) {struct net_device *dev;u_long iobase;
drivers/net/ethernet/dec/tulip/dmfe.c +1 -1
@@ -531,7 +531,7 @@ err_out_free: } -static void __devexit dmfe_remove_one (struct pci_dev *pdev) +static void dmfe_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct dmfe_board_info *db =netdev_priv (dev);
drivers/net/ethernet/dec/tulip/tulip_core.c +1 -1
@@ -1927,7 +1927,7 @@ static int tulip_resume(struct pci_dev *pdev)#endif /* CONFIG_PM */ -static void __devexit tulip_remove_one (struct pci_dev *pdev) +static void tulip_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct tulip_private *tp;
drivers/net/ethernet/dec/tulip/uli526x.c +1 -1
@@ -436,7 +436,7 @@ err_out_free: } -static void __devexit uli526x_remove_one (struct pci_dev *pdev) +static void uli526x_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct uli526x_board_info *db =netdev_priv (dev);
drivers/net/ethernet/dec/tulip/winbond-840.c +1 -1
@@ -1532,7 +1532,7 @@ static int netdev_close(struct net_device *dev)return 0 ; } -static void __devexit w840_remove1 (struct pci_dev *pdev) +static void w840_remove1 (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/dec/tulip/xircom_cb.c +1 -1
@@ -312,7 +312,7 @@ err_disable:Interrupts and such are already stopped in the "ifconfig ethX down" code. */ -static void __devexit xircom_remove(struct pci_dev *pdev) +static void xircom_remove (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct xircom_private *card =netdev_priv (dev);
drivers/net/ethernet/dlink/dl2k.c +1 -1
@@ -1727,7 +1727,7 @@ rio_close (struct net_device *dev)return 0 ; } -static void __devexit +static void rio_remove1 (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/dlink/sundance.c +1 -1
@@ -1844,7 +1844,7 @@ static int netdev_close(struct net_device *dev)return 0 ; } -static void __devexit sundance_remove1 (struct pci_dev *pdev) +static void sundance_remove1 (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/dnet.c +1 -1
@@ -945,7 +945,7 @@ err_out:return err; } -static int __devexit dnet_remove(struct platform_device *pdev) +static int dnet_remove (struct platform_device *pdev) {struct net_device *dev;
drivers/net/ethernet/emulex/benet/be_main.c +1 -1
@@ -3766,7 +3766,7 @@ static int be_stats_init(struct be_adapter *adapter)return 0 ; } -static void __devexit be_remove(struct pci_dev *pdev) +static void be_remove (struct pci_dev *pdev) {struct be_adapter *adapter =pci_get_drvdata (pdev);
drivers/net/ethernet/ethoc.c +1 -1
@@ -1143,7 +1143,7 @@ out:* ethoc_remove - shutdown OpenCores ethernet MAC * @pdev: platform device */ -static int __devexit ethoc_remove(struct platform_device *pdev) +static int ethoc_remove (struct platform_device *pdev) {struct net_device *netdev =platform_get_drvdata (pdev);struct ethoc *priv =netdev_priv (netdev);
drivers/net/ethernet/fealnx.c +1 -1
@@ -684,7 +684,7 @@ err_out_res: } -static void __devexit fealnx_remove_one(struct pci_dev *pdev) +static void fealnx_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/freescale/fec.c +1 -1
@@ -1701,7 +1701,7 @@ failed_alloc_etherdev:return ret; } -static int __devexit +static int fec_drv_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);
drivers/net/ethernet/freescale/xgmac_mdio.c +1 -1
@@ -240,7 +240,7 @@ err_ioremap:return ret; } -static int __devexit xgmac_mdio_remove(struct platform_device *pdev) +static int xgmac_mdio_remove (struct platform_device *pdev) {struct mii_bus *bus =dev_get_drvdata (&pdev->dev);
drivers/net/ethernet/hp/hp100.c +2 -2
@@ -2866,7 +2866,7 @@ static int __init hp100_eisa_probe (struct device *gendev)return err; } -static int __devexit hp100_eisa_remove (struct device *gendev) +static int hp100_eisa_remove (struct device *gendev) {struct net_device *dev =dev_get_drvdata (gendev);cleanup_dev (dev);
@@ -2937,7 +2937,7 @@ static int hp100_pci_probe (struct pci_dev *pdev,return err; } -static void __devexit hp100_pci_remove (struct pci_dev *pdev) +static void hp100_pci_remove (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/i825xx/ether1.c +1 -1
@@ -1052,7 +1052,7 @@ ether1_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit ether1_remove(struct expansion_card *ec) +static void ether1_remove (struct expansion_card *ec) {struct net_device *dev =ecard_get_drvdata (ec);
drivers/net/ethernet/i825xx/lasi_82596.c +1 -1
@@ -195,7 +195,7 @@ lan_init_chip(struct parisc_device *dev)return retval; } -static int __devexit lan_remove_chip (struct parisc_device *pdev) +static int lan_remove_chip (struct parisc_device *pdev) {struct net_device *dev =parisc_get_drvdata (pdev);struct i596_private *lp =netdev_priv (dev);
drivers/net/ethernet/i825xx/sni_82596.c +1 -1
@@ -147,7 +147,7 @@ probe_failed_free_mpu:return retval; } -static int __devexit sni_82596_driver_remove(struct platform_device *pdev) +static int sni_82596_driver_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct i596_private *lp =netdev_priv (dev);
drivers/net/ethernet/ibm/ehea/ehea_main.c +2 -2
@@ -101,7 +101,7 @@ static struct ehea_bcmc_reg_array ehea_bcmc_regs;static int ehea_probe_adapter (struct platform_device *dev,const struct of_device_id *id); -static int __devexit ehea_remove(struct platform_device *dev); +static int ehea_remove (struct platform_device *dev);static struct of_device_id ehea_device_table[] = { {
@@ -3364,7 +3364,7 @@ out:return ret; } -static int __devexit ehea_remove(struct platform_device *dev) +static int ehea_remove (struct platform_device *dev) {struct ehea_adapter *adapter =dev_get_drvdata (&dev->dev);int i;
drivers/net/ethernet/ibm/emac/core.c +1 -1
@@ -2930,7 +2930,7 @@ static int emac_probe(struct platform_device *ofdev)return err; } -static int __devexit emac_remove(struct platform_device *ofdev) +static int emac_remove (struct platform_device *ofdev) {struct emac_instance *dev =dev_get_drvdata (&ofdev->dev);
drivers/net/ethernet/ibm/emac/mal.c +1 -1
@@ -729,7 +729,7 @@ static int mal_probe(struct platform_device *ofdev)return err; } -static int __devexit mal_remove(struct platform_device *ofdev) +static int mal_remove (struct platform_device *ofdev) {struct mal_instance *mal =dev_get_drvdata (&ofdev->dev);
drivers/net/ethernet/ibm/emac/rgmii.c +1 -1
@@ -289,7 +289,7 @@ static int rgmii_probe(struct platform_device *ofdev)return rc; } -static int __devexit rgmii_remove(struct platform_device *ofdev) +static int rgmii_remove (struct platform_device *ofdev) {struct rgmii_instance *dev =dev_get_drvdata (&ofdev->dev);
drivers/net/ethernet/ibm/emac/tah.c +1 -1
@@ -135,7 +135,7 @@ static int tah_probe(struct platform_device *ofdev)return rc; } -static int __devexit tah_remove(struct platform_device *ofdev) +static int tah_remove (struct platform_device *ofdev) {struct tah_instance *dev =dev_get_drvdata (&ofdev->dev);
drivers/net/ethernet/ibm/emac/zmii.c +1 -1
@@ -282,7 +282,7 @@ static int zmii_probe(struct platform_device *ofdev)return rc; } -static int __devexit zmii_remove(struct platform_device *ofdev) +static int zmii_remove (struct platform_device *ofdev) {struct zmii_instance *dev =dev_get_drvdata (&ofdev->dev);
drivers/net/ethernet/ibm/ibmveth.c +1 -1
@@ -1426,7 +1426,7 @@ static int ibmveth_probe(struct vio_dev *dev,return 0 ; } -static int __devexit ibmveth_remove(struct vio_dev *dev) +static int ibmveth_remove (struct vio_dev *dev) {struct net_device *netdev =dev_get_drvdata (&dev->dev);struct ibmveth_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/icplus/ipg.c +1 -1
@@ -2167,7 +2167,7 @@ static const struct ethtool_ops ipg_ethtool_ops = { .nway_reset = ipg_nway_reset, }; -static void __devexit ipg_remove(struct pci_dev *pdev) +static void ipg_remove (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct ipg_nic_private *sp =netdev_priv (dev);
drivers/net/ethernet/intel/e100.c +1 -1
@@ -2981,7 +2981,7 @@ err_out_free_dev:return err; } -static void __devexit e100_remove(struct pci_dev *pdev) +static void e100_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);
drivers/net/ethernet/intel/e1000/e1000_main.c +2 -2
@@ -111,7 +111,7 @@ void e1000_update_stats(struct e1000_adapter *adapter);static int e1000_init_module (void );static void e1000_exit_module (void );static int e1000_probe (struct pci_dev *pdev,const struct pci_device_id *ent); -static void __devexit e1000_remove(struct pci_dev *pdev); +static void e1000_remove (struct pci_dev *pdev);static int e1000_alloc_queues (struct e1000_adapter *adapter);static int e1000_sw_init (struct e1000_adapter *adapter);static int e1000_open (struct net_device *netdev);
@@ -1273,7 +1273,7 @@ err_pci_reg:* memory. **/ -static void __devexit e1000_remove(struct pci_dev *pdev) +static void e1000_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct e1000_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/intel/e1000e/netdev.c +1 -1
@@ -6436,7 +6436,7 @@ err_dma:* Hot-Plug event, or because the driver is going to be removed from * memory. **/ -static void __devexit e1000_remove(struct pci_dev *pdev) +static void e1000_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct e1000_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/intel/igb/igb_main.c +2 -2
@@ -118,7 +118,7 @@ static void igb_free_all_tx_resources(struct igb_adapter *);static void igb_free_all_rx_resources (struct igb_adapter *);static void igb_setup_mrqc (struct igb_adapter *);static int igb_probe (struct pci_dev *,const struct pci_device_id *); -static void __devexit igb_remove(struct pci_dev *pdev); +static void igb_remove (struct pci_dev *pdev);static int igb_sw_init (struct igb_adapter *);static int igb_open (struct net_device *);static int igb_close (struct net_device *);
@@ -2186,7 +2186,7 @@ err_dma:* Hot-Plug event, or because the driver is going to be removed from * memory. **/ -static void __devexit igb_remove(struct pci_dev *pdev) +static void igb_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct igb_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/intel/igbvf/netdev.c +1 -1
@@ -2807,7 +2807,7 @@ err_dma:* Hot-Plug event, or because the driver is going to be removed from * memory. **/ -static void __devexit igbvf_remove(struct pci_dev *pdev) +static void igbvf_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct igbvf_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/intel/ixgb/ixgb_main.c +2 -2
@@ -73,7 +73,7 @@ MODULE_DEVICE_TABLE(pci, ixgb_pci_tbl);static int ixgb_init_module (void );static void ixgb_exit_module (void );static int ixgb_probe (struct pci_dev *pdev,const struct pci_device_id *ent); -static void __devexit ixgb_remove(struct pci_dev *pdev); +static void ixgb_remove (struct pci_dev *pdev);static int ixgb_sw_init (struct ixgb_adapter *adapter);static int ixgb_open (struct net_device *netdev);static int ixgb_close (struct net_device *netdev);
@@ -558,7 +558,7 @@ err_dma_mask:* memory. **/ -static void __devexit +static void ixgb_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +1 -1
@@ -7578,7 +7578,7 @@ err_dma:* Hot-Plug event, or because the driver is going to be removed from * memory. **/ -static void __devexit ixgbe_remove(struct pci_dev *pdev) +static void ixgbe_remove (struct pci_dev *pdev) {struct ixgbe_adapter *adapter =pci_get_drvdata (pdev);struct net_device *netdev = adapter->netdev;
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +1 -1
@@ -3443,7 +3443,7 @@ err_dma:* Hot-Plug event, or because the driver is going to be removed from * memory. **/ -static void __devexit ixgbevf_remove(struct pci_dev *pdev) +static void ixgbevf_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct ixgbevf_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/jme.c +1 -1
@@ -3215,7 +3215,7 @@ err_out:return rc; } -static void __devexit +static void jme_remove_one (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);
drivers/net/ethernet/lantiq_etop.c +1 -1
@@ -774,7 +774,7 @@ err_out:return err; } -static int __devexit +static int ltq_etop_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);
drivers/net/ethernet/marvell/skge.c +1 -1
@@ -4012,7 +4012,7 @@ err_out:return err; } -static void __devexit skge_remove(struct pci_dev *pdev) +static void skge_remove (struct pci_dev *pdev) {struct skge_hw *hw =pci_get_drvdata (pdev);struct net_device *dev0, *dev1;
drivers/net/ethernet/marvell/sky2.c +1 -1
@@ -5086,7 +5086,7 @@ err_out:return err; } -static void __devexit sky2_remove(struct pci_dev *pdev) +static void sky2_remove (struct pci_dev *pdev) {struct sky2_hw *hw =pci_get_drvdata (pdev);int i;
drivers/net/ethernet/micrel/ks8695net.c +1 -1
@@ -1597,7 +1597,7 @@ ks8695_drv_resume(struct platform_device *pdev)* * This unregisters and releases a KS8695 ethernet device. */ -static int __devexit +static int ks8695_drv_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);
drivers/net/ethernet/micrel/ks8842.c +1 -1
@@ -1240,7 +1240,7 @@ err_mem_region:return err; } -static int __devexit ks8842_remove(struct platform_device *pdev) +static int ks8842_remove (struct platform_device *pdev) {struct net_device *netdev =platform_get_drvdata (pdev);struct ks8842_adapter *adapter =netdev_priv (netdev);
drivers/net/ethernet/micrel/ks8851.c +1 -1
@@ -1534,7 +1534,7 @@ err_irq:return ret; } -static int __devexit ks8851_remove(struct spi_device *spi) +static int ks8851_remove (struct spi_device *spi) {struct ks8851_net *priv =dev_get_drvdata (&spi->dev);
drivers/net/ethernet/micrel/ks8851_mll.c +1 -1
@@ -1641,7 +1641,7 @@ err_mem_region:return err; } -static int __devexit ks8851_remove(struct platform_device *pdev) +static int ks8851_remove (struct platform_device *pdev) {struct net_device *netdev =platform_get_drvdata (pdev);struct ks_net *ks =netdev_priv (netdev);
drivers/net/ethernet/microchip/enc28j60.c +1 -1
@@ -1617,7 +1617,7 @@ error_alloc:return ret; } -static int __devexit enc28j60_remove(struct spi_device *spi) +static int enc28j60_remove (struct spi_device *spi) {struct enc28j60_net *priv =dev_get_drvdata (&spi->dev);
drivers/net/ethernet/natsemi/jazzsonic.c +1 -1
@@ -270,7 +270,7 @@ MODULE_ALIAS("platform:jazzsonic");#include "sonic.c" -static int __devexit jazz_sonic_device_remove (struct platform_device *pdev) +static int jazz_sonic_device_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct sonic_local * lp =netdev_priv (dev);
drivers/net/ethernet/natsemi/macsonic.c +1 -1
@@ -619,7 +619,7 @@ MODULE_ALIAS("platform:macsonic");#include "sonic.c" -static int __devexit mac_sonic_device_remove (struct platform_device *pdev) +static int mac_sonic_device_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct sonic_local * lp =netdev_priv (dev);
drivers/net/ethernet/natsemi/natsemi.c +1 -1
@@ -3214,7 +3214,7 @@ static int netdev_close(struct net_device *dev) } -static void __devexit natsemi_remove1 (struct pci_dev *pdev) +static void natsemi_remove1 (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);void __iomem * ioaddr =ns_ioaddr (dev);
drivers/net/ethernet/natsemi/ns83820.c +1 -1
@@ -2241,7 +2241,7 @@ out:return err; } -static void __devexit ns83820_remove_one(struct pci_dev *pci_dev) +static void ns83820_remove_one (struct pci_dev *pci_dev) {struct net_device *ndev =pci_get_drvdata (pci_dev);struct ns83820 *dev =PRIV (ndev);/* ok even if NULL */
drivers/net/ethernet/natsemi/xtsonic.c +1 -1
@@ -297,7 +297,7 @@ MODULE_PARM_DESC(sonic_debug, "xtsonic debug level (1-4)");#include "sonic.c" -static int __devexit xtsonic_device_remove (struct platform_device *pdev) +static int xtsonic_device_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct sonic_local *lp =netdev_priv (dev);
drivers/net/ethernet/neterion/s2io.c +1 -1
@@ -8200,7 +8200,7 @@ mem_alloc_failed:* from memory. */ -static void __devexit s2io_rem_nic(struct pci_dev *pdev) +static void s2io_rem_nic (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct s2io_nic *sp;
drivers/net/ethernet/neterion/s2io.h +1 -1
@@ -1077,7 +1077,7 @@ static inline void SPECIAL_REG_WRITE(u64 val, void __iomem *addr, int order)*/ static int s2io_init_nic (struct pci_dev *pdev,const struct pci_device_id *pre); -static void __devexit s2io_rem_nic(struct pci_dev *pdev); +static void s2io_rem_nic (struct pci_dev *pdev);static int init_shared_mem (struct s2io_nic *sp);static void free_shared_mem (struct s2io_nic *sp);static int init_nic (struct s2io_nic *nic);
drivers/net/ethernet/neterion/vxge/vxge-main.c +1 -1
@@ -4764,7 +4764,7 @@ _exit0:* Description: This function is called by the Pci subsystem to release a * PCI device and free up all resource held up by the device. */ -static void __devexit vxge_remove(struct pci_dev *pdev) +static void vxge_remove (struct pci_dev *pdev) {struct __vxge_hw_device *hldev;struct vxgedev *vdev;
drivers/net/ethernet/nuvoton/w90p910_ether.c +1 -1
@@ -1071,7 +1071,7 @@ failed_free:return error; } -static int __devexit w90p910_ether_remove(struct platform_device *pdev) +static int w90p910_ether_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct w90p910_ether *ether =netdev_priv (dev);
drivers/net/ethernet/nvidia/forcedeth.c +1 -1
@@ -5995,7 +5995,7 @@ static void nv_restore_mac_addr(struct pci_dev *pci_dev) base + NvRegTransmitPoll); } -static void __devexit nv_remove(struct pci_dev *pci_dev) +static void nv_remove (struct pci_dev *pci_dev) {struct net_device *dev =pci_get_drvdata (pci_dev);
drivers/net/ethernet/octeon/octeon_mgmt.c +1 -1
@@ -1559,7 +1559,7 @@ err:return result; } -static int __devexit octeon_mgmt_remove(struct platform_device *pdev) +static int octeon_mgmt_remove (struct platform_device *pdev) {struct net_device *netdev =dev_get_drvdata (&pdev->dev);
drivers/net/ethernet/packetengines/hamachi.c +1 -1
@@ -1894,7 +1894,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) } -static void __devexit hamachi_remove_one (struct pci_dev *pdev) +static void hamachi_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
drivers/net/ethernet/packetengines/yellowfin.c +1 -1
@@ -1372,7 +1372,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) } -static void __devexit yellowfin_remove_one (struct pci_dev *pdev) +static void yellowfin_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct yellowfin_private *np;
drivers/net/ethernet/pasemi/pasemi_mac.c +1 -1
@@ -1849,7 +1849,7 @@ out_disable_device: } -static void __devexit pasemi_mac_remove(struct pci_dev *pdev) +static void pasemi_mac_remove (struct pci_dev *pdev) {struct net_device *netdev =pci_get_drvdata (pdev);struct pasemi_mac *mac;
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c +2 -2
@@ -62,7 +62,7 @@ MODULE_PARM_DESC(auto_fw_reset,"Auto firmware reset (0=disabled, 1=enabled");static int netxen_nic_probe (struct pci_dev *pdev,const struct pci_device_id *ent); -static void __devexit netxen_nic_remove(struct pci_dev *pdev); +static void netxen_nic_remove (struct pci_dev *pdev);static int netxen_nic_open (struct net_device *netdev);static int netxen_nic_close (struct net_device *netdev); static netdev_tx_t netxen_nic_xmit_frame(struct sk_buff *,
@@ -1569,7 +1569,7 @@ void netxen_cleanup_minidump(struct netxen_adapter *adapter) } } -static void __devexit netxen_nic_remove(struct pci_dev *pdev) +static void netxen_nic_remove (struct pci_dev *pdev) {struct netxen_adapter *adapter;struct net_device *netdev;
drivers/net/ethernet/qlogic/qla3xxx.c +1 -1
@@ -3925,7 +3925,7 @@ err_out:return err; } -static void __devexit ql3xxx_remove(struct pci_dev *pdev) +static void ql3xxx_remove (struct pci_dev *pdev) {struct net_device *ndev =pci_get_drvdata (pdev);struct ql3_adapter *qdev =netdev_priv (ndev);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +2 -2
@@ -56,7 +56,7 @@ MODULE_PARM_DESC(qlcnic_config_npars, "Configure NPARs (0=disabled, 1=enabled");static int qlcnic_probe (struct pci_dev *pdev,const struct pci_device_id *ent); -static void __devexit qlcnic_remove(struct pci_dev *pdev); +static void qlcnic_remove (struct pci_dev *pdev);static int qlcnic_open (struct net_device *netdev);static int qlcnic_close (struct net_device *netdev);static void qlcnic_tx_timeout (struct net_device *netdev);
@@ -1724,7 +1724,7 @@ err_out_maintenance_mode:return 0 ; } -static void __devexit qlcnic_remove(struct pci_dev *pdev) +static void qlcnic_remove (struct pci_dev *pdev) {struct qlcnic_adapter *adapter;struct net_device *netdev;
drivers/net/ethernet/qlogic/qlge/qlge_main.c +1 -1
@@ -4729,7 +4729,7 @@ int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget)return ql_clean_inbound_rx_ring (rx_ring, budget); } -static void __devexit qlge_remove(struct pci_dev *pdev) +static void qlge_remove (struct pci_dev *pdev) {struct net_device *ndev =pci_get_drvdata (pdev);struct ql_adapter *qdev =netdev_priv (ndev);
drivers/net/ethernet/rdc/r6040.c +1 -1
@@ -1246,7 +1246,7 @@ err_out:return err; } -static void __devexit r6040_remove_one(struct pci_dev *pdev) +static void r6040_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct r6040_private *lp =netdev_priv (dev);
drivers/net/ethernet/realtek/8139too.c +1 -1
@@ -1103,7 +1103,7 @@ err_out: } -static void __devexit rtl8139_remove_one (struct pci_dev *pdev) +static void rtl8139_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct rtl8139_private *tp =netdev_priv (dev);
drivers/net/ethernet/realtek/r8169.c +1 -1
@@ -6610,7 +6610,7 @@ static void rtl_shutdown(struct pci_dev *pdev)pm_runtime_put_noidle (d); } -static void __devexit rtl_remove_one(struct pci_dev *pdev) +static void rtl_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct rtl8169_private *tp =netdev_priv (dev);
drivers/net/ethernet/s6gmac.c +1 -1
@@ -1030,7 +1030,7 @@ errirq:return res; } -static int __devexit s6gmac_remove(struct platform_device *pdev) +static int s6gmac_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);if (dev) {
drivers/net/ethernet/seeq/ether3.c +1 -1
@@ -864,7 +864,7 @@ ether3_probe(struct expansion_card *ec, const struct ecard_id *id)return ret; } -static void __devexit ether3_remove(struct expansion_card *ec) +static void ether3_remove (struct expansion_card *ec) {struct net_device *dev =ecard_get_drvdata (ec);
drivers/net/ethernet/sgi/ioc3-eth.c +1 -1
@@ -1368,7 +1368,7 @@ out:return err; } -static void __devexit ioc3_remove_one (struct pci_dev *pdev) +static void ioc3_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct ioc3_private *ip =netdev_priv (dev);
drivers/net/ethernet/silan/sc92031.c +1 -1
@@ -1489,7 +1489,7 @@ out_enable_device:return err; } -static void __devexit sc92031_remove(struct pci_dev *pdev) +static void sc92031_remove (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct sc92031_priv *priv =netdev_priv (dev);
drivers/net/ethernet/sis/sis190.c +1 -1
@@ -1916,7 +1916,7 @@ err_release_board: goto out; } -static void __devexit sis190_remove_one(struct pci_dev *pdev) +static void sis190_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct sis190_private *tp =netdev_priv (dev);
drivers/net/ethernet/sis/sis900.c +1 -1
@@ -2410,7 +2410,7 @@ static void sis900_reset(struct net_device *net_dev)* remove and release SiS900 net device */ -static void __devexit sis900_remove(struct pci_dev *pci_dev) +static void sis900_remove (struct pci_dev *pci_dev) {struct net_device *net_dev =pci_get_drvdata (pci_dev);struct sis900_private *sis_priv =netdev_priv (net_dev);
drivers/net/ethernet/smsc/epic100.c +1 -1
@@ -1524,7 +1524,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) } -static void __devexit epic_remove_one(struct pci_dev *pdev) +static void epic_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct epic_private *ep =netdev_priv (dev);
drivers/net/ethernet/smsc/smc911x.c +1 -1
@@ -2115,7 +2115,7 @@ out:return ret; } -static int __devexit smc911x_drv_remove(struct platform_device *pdev) +static int smc911x_drv_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);struct smc911x_local *lp =netdev_priv (ndev);
drivers/net/ethernet/smsc/smc91x.c +1 -1
@@ -2324,7 +2324,7 @@ static int smc_drv_probe(struct platform_device *pdev)return ret; } -static int __devexit smc_drv_remove(struct platform_device *pdev) +static int smc_drv_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);struct smc_local *lp =netdev_priv (ndev);
drivers/net/ethernet/smsc/smsc911x.c +1 -1
@@ -2231,7 +2231,7 @@ static int smsc911x_init(struct net_device *dev)return 0 ; } -static int __devexit smsc911x_drv_remove(struct platform_device *pdev) +static int smsc911x_drv_remove (struct platform_device *pdev) {struct net_device *dev;struct smsc911x_data *pdata;
drivers/net/ethernet/smsc/smsc9420.c +1 -1
@@ -1702,7 +1702,7 @@ out_0:return -ENODEV ; } -static void __devexit smsc9420_remove(struct pci_dev *pdev) +static void smsc9420_remove (struct pci_dev *pdev) {struct net_device *dev;struct smsc9420_pdata *pd;
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c +1 -1
@@ -130,7 +130,7 @@ err_out_req_reg_failed:* Description: this function calls the main to free the net resources * and releases the PCI resources. */ -static void __devexit stmmac_pci_remove(struct pci_dev *pdev) +static void stmmac_pci_remove (struct pci_dev *pdev) {struct net_device *ndev =pci_get_drvdata (pdev);struct stmmac_priv *priv =netdev_priv (ndev);
drivers/net/ethernet/sun/cassini.c +1 -1
@@ -5175,7 +5175,7 @@ err_out_disable_pdev:return -ENODEV ; } -static void __devexit cas_remove_one(struct pci_dev *pdev) +static void cas_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct cas *cp;
drivers/net/ethernet/sun/niu.c +3 -3
@@ -9225,7 +9225,7 @@ static int niu_ldg_init(struct niu *np)return 0 ; } -static void __devexit niu_ldg_free(struct niu *np) +static void niu_ldg_free (struct niu *np) {if (np->flags &NIU_FLAGS_MSIX )pci_disable_msix (np->pdev);
@@ -9895,7 +9895,7 @@ err_out_disable_pdev:return err; } -static void __devexit niu_pci_remove_one(struct pci_dev *pdev) +static void niu_pci_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);
@@ -10158,7 +10158,7 @@ err_out:return err; } -static int __devexit niu_of_remove(struct platform_device *op) +static int niu_of_remove (struct platform_device *op) {struct net_device *dev =dev_get_drvdata (&op->dev);
drivers/net/ethernet/sun/sunbmac.c +1 -1
@@ -1243,7 +1243,7 @@ static int bigmac_sbus_probe(struct platform_device *op)return bigmac_ether_init (op, qec_op); } -static int __devexit bigmac_sbus_remove(struct platform_device *op) +static int bigmac_sbus_remove (struct platform_device *op) {struct bigmac *bp =dev_get_drvdata (&op->dev);struct device *parent = op->dev.parent;
drivers/net/ethernet/sun/sunhme.c +2 -2
@@ -3162,7 +3162,7 @@ err_out:return err; } -static void __devexit happy_meal_pci_remove(struct pci_dev *pdev) +static void happy_meal_pci_remove (struct pci_dev *pdev) {struct happy_meal *hp =dev_get_drvdata (&pdev->dev);struct net_device *net_dev = hp->dev;
@@ -3234,7 +3234,7 @@ static int hme_sbus_probe(struct platform_device *op)return happy_meal_sbus_probe_one (op, is_qfe); } -static int __devexit hme_sbus_remove(struct platform_device *op) +static int hme_sbus_remove (struct platform_device *op) {struct happy_meal *hp =dev_get_drvdata (&op->dev);struct net_device *net_dev = hp->dev;
drivers/net/ethernet/sun/sunqe.c +1 -1
@@ -934,7 +934,7 @@ static int qec_sbus_probe(struct platform_device *op)return qec_ether_init (op); } -static int __devexit qec_sbus_remove(struct platform_device *op) +static int qec_sbus_remove (struct platform_device *op) {struct sunqe *qp =dev_get_drvdata (&op->dev);struct net_device *net_dev = qp->dev;
drivers/net/ethernet/tehuti/tehuti.c +1 -1
@@ -2427,7 +2427,7 @@ static void bdx_set_ethtool_ops(struct net_device *netdev)* Hot-Plug event, or because the driver is going to be removed from * memory. **/ -static void __devexit bdx_remove(struct pci_dev *pdev) +static void bdx_remove (struct pci_dev *pdev) {struct pci_nic *nic =pci_get_drvdata (pdev);struct net_device *ndev;
drivers/net/ethernet/ti/cpmac.c +2 -2
@@ -1204,7 +1204,7 @@ fail:return rc; } -static int __devexit cpmac_remove(struct platform_device *pdev) +static int cpmac_remove (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);unregister_netdev (dev);
@@ -1290,7 +1290,7 @@ fail_alloc:return res; } -void __devexit cpmac_exit(void) +void cpmac_exit (void ) {platform_driver_unregister (&cpmac_driver);mdiobus_unregister (cpmac_mii);
drivers/net/ethernet/ti/cpsw.c +1 -1
@@ -1423,7 +1423,7 @@ clean_ndev_ret:return ret; } -static int __devexit cpsw_remove(struct platform_device *pdev) +static int cpsw_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);struct cpsw_priv *priv =netdev_priv (ndev);
drivers/net/ethernet/ti/davinci_emac.c +1 -1
@@ -2039,7 +2039,7 @@ no_ndev:* Called when removing the device driver. We disable clock usage and release * the resources taken up by the driver and unregister network device */ -static int __devexit davinci_emac_remove(struct platform_device *pdev) +static int davinci_emac_remove (struct platform_device *pdev) {struct resource *res;struct net_device *ndev =platform_get_drvdata (pdev);
drivers/net/ethernet/ti/davinci_mdio.c +1 -1
@@ -416,7 +416,7 @@ bail_out:return ret; } -static int __devexit davinci_mdio_remove(struct platform_device *pdev) +static int davinci_mdio_remove (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct davinci_mdio_data *data =dev_get_drvdata (dev);
drivers/net/ethernet/ti/tlan.c +1 -1
@@ -300,7 +300,7 @@ these functions are more or less common to all linux network drivers.**************************************************************/ -static void __devexit tlan_remove_one(struct pci_dev *pdev) +static void tlan_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct tlan_priv *priv =netdev_priv (dev);
drivers/net/ethernet/toshiba/spider_net.c +1 -1
@@ -2531,7 +2531,7 @@ out:* spider_net_remove is called to remove the device and unregisters the * net_device **/ -static void __devexit +static void spider_net_remove (struct pci_dev *pdev) {struct net_device *netdev;
drivers/net/ethernet/toshiba/tc35815.c +1 -1
@@ -878,7 +878,7 @@ err_out: } -static void __devexit tc35815_remove_one(struct pci_dev *pdev) +static void tc35815_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct tc35815_local *lp =netdev_priv (dev);
drivers/net/ethernet/via/via-rhine.c +1 -1
@@ -2232,7 +2232,7 @@ static int rhine_close(struct net_device *dev) } -static void __devexit rhine_remove_one(struct pci_dev *pdev) +static void rhine_remove_one (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct rhine_private *rp =netdev_priv (dev);
drivers/net/ethernet/via/via-velocity.c +1 -1
@@ -392,7 +392,7 @@ static const char *get_chip_name(enum chip_type chip_id)* unload for each active device that is present. Disconnects * the device from the network layer and frees all the resources */ -static void __devexit velocity_remove1(struct pci_dev *pdev) +static void velocity_remove1 (struct pci_dev *pdev) {struct net_device *dev =pci_get_drvdata (pdev);struct velocity_info *vptr =netdev_priv (dev);
drivers/net/ethernet/wiznet/w5100.c +1 -1
@@ -741,7 +741,7 @@ err_register:return err; } -static int __devexit w5100_remove(struct platform_device *pdev) +static int w5100_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);struct w5100_priv *priv =netdev_priv (ndev);
drivers/net/ethernet/wiznet/w5300.c +1 -1
@@ -653,7 +653,7 @@ err_register:return err; } -static int __devexit w5300_remove(struct platform_device *pdev) +static int w5300_remove (struct platform_device *pdev) {struct net_device *ndev =platform_get_drvdata (pdev);struct w5300_priv *priv =netdev_priv (ndev);
drivers/net/ethernet/xilinx/ll_temac_main.c +1 -1
@@ -1144,7 +1144,7 @@ static int temac_of_probe(struct platform_device *op)return rc; } -static int __devexit temac_of_remove(struct platform_device *op) +static int temac_of_remove (struct platform_device *op) {struct net_device *ndev =dev_get_drvdata (&op->dev);struct temac_local *lp =netdev_priv (ndev);
drivers/net/ethernet/xilinx/xilinx_axienet_main.c +1 -1
@@ -1630,7 +1630,7 @@ nodev:return ret; } -static int __devexit axienet_of_remove(struct platform_device *op) +static int axienet_of_remove (struct platform_device *op) {struct net_device *ndev =dev_get_drvdata (&op->dev);struct axienet_local *lp =netdev_priv (ndev);
drivers/net/ethernet/xilinx/xilinx_emaclite.c +1 -1
@@ -1229,7 +1229,7 @@ error2:* * Return: 0, always. */ -static int __devexit xemaclite_of_remove(struct platform_device *of_dev) +static int xemaclite_of_remove (struct platform_device *of_dev) {struct device *dev = &of_dev->dev;struct net_device *ndev =dev_get_drvdata (dev);
drivers/net/ethernet/xscale/ixp4xx_eth.c +1 -1
@@ -1478,7 +1478,7 @@ err_free:return err; } -static int __devexit eth_remove_one(struct platform_device *pdev) +static int eth_remove_one (struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct port *port =netdev_priv (dev);
Signature · 1 line
1.8.0