diff options
Diffstat (limited to 'dev_removal.patch')
| -rw-r--r-- | dev_removal.patch | 2307 |
1 files changed, 2307 insertions, 0 deletions
diff --git a/dev_removal.patch b/dev_removal.patch new file mode 100644 index 00000000000000..5aa627d8f859c0 --- /dev/null +++ b/dev_removal.patch @@ -0,0 +1,2307 @@ +From foo@baz Wed Dec 12 11:06:35 PST 2012 +Date: Wed, 12 Dec 2012 11:06:35 -0800 +To: Greg KH <gregkh@linuxfoundation.org> +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Subject: [PATCH] remove unneeded __dev* markings + + +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> + +--- + drivers/ide/aec62xx.c | 8 ++-- + drivers/ide/alim15x3.c | 10 +++--- + drivers/ide/cs5520.c | 4 +- + drivers/ide/cs5535.c | 5 +-- + drivers/ide/hpt366.c | 42 +++++++++++++------------- + drivers/ide/it8213.c | 4 +- + drivers/ide/it821x.c | 10 +++--- + drivers/ide/jmicron.c | 4 +- + drivers/ide/ns87415.c | 8 ++-- + drivers/ide/pdc202xx_new.c | 10 +++--- + drivers/ide/pdc202xx_old.c | 8 ++-- + drivers/ide/scc_pata.c | 20 +++++------- + drivers/ide/serverworks.c | 4 +- + drivers/ide/sgiioc4.c | 13 +++----- + drivers/ide/sis5513.c | 10 +++--- + drivers/ide/sl82c105.c | 4 +- + drivers/ide/triflex.c | 5 +-- + drivers/ide/trm290.c | 6 +-- + drivers/ide/via82cxxx.c | 8 ++-- + drivers/iio/accel/hid-sensor-accel-3d.c | 4 +- + drivers/iio/adc/ad7266.c | 8 ++-- + drivers/iio/adc/ad7298.c | 6 +-- + drivers/iio/adc/ad7476.c | 6 +-- + drivers/iio/adc/ad7791.c | 10 +++--- + drivers/iio/adc/ad7887.c | 6 +-- + drivers/iio/adc/at91_adc.c | 6 +-- + drivers/iio/adc/lp8788_adc.c | 6 +-- + drivers/iio/adc/max1363.c | 10 +++--- + drivers/iio/amplifiers/ad8366.c | 6 +-- + drivers/iio/dac/ad5064.c | 18 +++++------ + drivers/iio/dac/ad5360.c | 8 ++-- + drivers/iio/dac/ad5380.c | 22 ++++++------- + drivers/iio/dac/ad5421.c | 6 +-- + drivers/iio/dac/ad5446.c | 18 +++++------ + drivers/iio/dac/ad5449.c | 6 +-- + drivers/iio/dac/ad5504.c | 6 +-- + drivers/iio/dac/ad5624r_spi.c | 6 +-- + drivers/iio/dac/ad5686.c | 6 +-- + drivers/iio/dac/ad5755.c | 16 ++++----- + drivers/iio/dac/ad5764.c | 6 +-- + drivers/iio/dac/ad5791.c | 6 +-- + drivers/iio/dac/max517.c | 6 +-- + drivers/iio/dac/mcp4725.c | 8 ++-- + drivers/iio/frequency/ad9523.c | 6 +-- + drivers/iio/frequency/adf4350.c | 6 +-- + drivers/iio/gyro/hid-sensor-gyro-3d.c | 4 +- + drivers/iio/light/adjd_s311.c | 8 ++-- + drivers/iio/light/hid-sensor-als.c | 4 +- + drivers/iio/light/lm3533-als.c | 19 +++++------ + drivers/iio/light/vcnl4000.c | 8 ++-- + drivers/iio/magnetometer/hid-sensor-magn-3d.c | 4 +- + drivers/memory/tegra20-mc.c | 4 +- + drivers/memory/tegra30-mc.c | 4 +- + drivers/scsi/a100u2w.c | 8 ++-- + drivers/scsi/aacraid/linit.c | 15 ++------- + drivers/scsi/aic94xx/aic94xx_init.c | 23 ++++++-------- + drivers/scsi/arm/cumana_2.c | 8 ++-- + 57 files changed, 248 insertions(+), 262 deletions(-) + +--- a/drivers/ide/aec62xx.c ++++ b/drivers/ide/aec62xx.c +@@ -181,7 +181,7 @@ static const struct ide_port_ops atp86x_ + .cable_detect = atp86x_cable_detect, + }; + +-static const struct ide_port_info aec62xx_chipsets[] __devinitconst = { ++static const struct ide_port_info aec62xx_chipsets[] = { + { /* 0: AEC6210 */ + .name = DRV_NAME, + .init_chipset = init_chipset_aec62xx, +@@ -251,7 +251,7 @@ static const struct ide_port_info aec62x + * chips, pass a local copy of 'struct ide_port_info' down the call chain. + */ + +-static int __devinit aec62xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int aec62xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + const struct chipset_bus_clock_list_entry *bus_clock; + struct ide_port_info d; +@@ -287,7 +287,7 @@ static int __devinit aec62xx_init_one(st + return err; + } + +-static void __devexit aec62xx_remove(struct pci_dev *dev) ++static void aec62xx_remove(struct pci_dev *dev) + { + ide_pci_remove(dev); + pci_disable_device(dev); +@@ -307,7 +307,7 @@ static struct pci_driver aec62xx_pci_dri + .name = "AEC62xx_IDE", + .id_table = aec62xx_pci_tbl, + .probe = aec62xx_init_one, +- .remove = __devexit_p(aec62xx_remove), ++ .remove = aec62xx_remove, + .suspend = ide_pci_suspend, + .resume = ide_pci_resume, + }; +--- a/drivers/ide/alim15x3.c ++++ b/drivers/ide/alim15x3.c +@@ -415,7 +415,7 @@ static u8 ali_cable_detect(ide_hwif_t *h + * Sparc systems. + */ + +-static void __devinit init_hwif_ali15x3 (ide_hwif_t *hwif) ++static void init_hwif_ali15x3(ide_hwif_t *hwif) + { + u8 ideic, inmir; + s8 irq_routing_table[] = { -1, 9, 3, 10, 4, 5, 7, 6, +@@ -464,8 +464,7 @@ static void __devinit init_hwif_ali15x3 + * Set up the DMA functionality on the ALi 15x3. + */ + +-static int __devinit init_dma_ali15x3(ide_hwif_t *hwif, +- const struct ide_port_info *d) ++static int init_dma_ali15x3(ide_hwif_t *hwif, const struct ide_port_info *d) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); + unsigned long base = ide_pci_dma_base(hwif, d); +@@ -512,7 +511,7 @@ static const struct ide_dma_ops ali_dma_ + .dma_sff_read_status = ide_dma_sff_read_status, + }; + +-static const struct ide_port_info ali15x3_chipset __devinitconst = { ++static const struct ide_port_info ali15x3_chipset = { + .name = DRV_NAME, + .init_chipset = init_chipset_ali15x3, + .init_hwif = init_hwif_ali15x3, +@@ -532,7 +531,8 @@ static const struct ide_port_info ali15x + * hot plug layer. + */ + +-static int __devinit alim15x3_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int alim15x3_init_one(struct pci_dev *dev, ++ const struct pci_device_id *id) + { + struct ide_port_info d = ali15x3_chipset; + u8 rev = dev->revision, idx = id->driver_data; +--- a/drivers/ide/cs5520.c ++++ b/drivers/ide/cs5520.c +@@ -94,7 +94,7 @@ static const struct ide_port_ops cs5520_ + .set_dma_mode = cs5520_set_dma_mode, + }; + +-static const struct ide_port_info cyrix_chipset __devinitconst = { ++static const struct ide_port_info cyrix_chipset = { + .name = DRV_NAME, + .enablebits = { { 0x60, 0x01, 0x01 }, { 0x60, 0x02, 0x02 } }, + .port_ops = &cs5520_port_ops, +@@ -108,7 +108,7 @@ static const struct ide_port_info cyrix_ + * work longhand. + */ + +-static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int cs5520_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + const struct ide_port_info *d = &cyrix_chipset; + struct ide_hw hw[2], *hws[] = { NULL, NULL }; +--- a/drivers/ide/cs5535.c ++++ b/drivers/ide/cs5535.c +@@ -170,7 +170,7 @@ static const struct ide_port_ops cs5535_ + .cable_detect = cs5535_cable_detect, + }; + +-static const struct ide_port_info cs5535_chipset __devinitconst = { ++static const struct ide_port_info cs5535_chipset = { + .name = DRV_NAME, + .port_ops = &cs5535_port_ops, + .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_POST_SET_MODE, +@@ -179,8 +179,7 @@ static const struct ide_port_info cs5535 + .udma_mask = ATA_UDMA4, + }; + +-static int __devinit cs5535_init_one(struct pci_dev *dev, +- const struct pci_device_id *id) ++static int cs5535_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + return ide_pci_init_one(dev, &cs5535_chipset, NULL); + } +--- a/drivers/ide/hpt366.c ++++ b/drivers/ide/hpt366.c +@@ -443,7 +443,7 @@ static struct hpt_timings hpt37x_timings + } + }; + +-static const struct hpt_info hpt36x __devinitconst = { ++static const struct hpt_info hpt36x = { + .chip_name = "HPT36x", + .chip_type = HPT36x, + .udma_mask = HPT366_ALLOW_ATA66_3 ? (HPT366_ALLOW_ATA66_4 ? ATA_UDMA4 : ATA_UDMA3) : ATA_UDMA2, +@@ -451,7 +451,7 @@ static const struct hpt_info hpt36x __de + .timings = &hpt36x_timings + }; + +-static const struct hpt_info hpt370 __devinitconst = { ++static const struct hpt_info hpt370 = { + .chip_name = "HPT370", + .chip_type = HPT370, + .udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4, +@@ -459,7 +459,7 @@ static const struct hpt_info hpt370 __de + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt370a __devinitconst = { ++static const struct hpt_info hpt370a = { + .chip_name = "HPT370A", + .chip_type = HPT370A, + .udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4, +@@ -467,7 +467,7 @@ static const struct hpt_info hpt370a __d + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt374 __devinitconst = { ++static const struct hpt_info hpt374 = { + .chip_name = "HPT374", + .chip_type = HPT374, + .udma_mask = ATA_UDMA5, +@@ -475,7 +475,7 @@ static const struct hpt_info hpt374 __de + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt372 __devinitconst = { ++static const struct hpt_info hpt372 = { + .chip_name = "HPT372", + .chip_type = HPT372, + .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, +@@ -483,7 +483,7 @@ static const struct hpt_info hpt372 __de + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt372a __devinitconst = { ++static const struct hpt_info hpt372a = { + .chip_name = "HPT372A", + .chip_type = HPT372A, + .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, +@@ -491,7 +491,7 @@ static const struct hpt_info hpt372a __d + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt302 __devinitconst = { ++static const struct hpt_info hpt302 = { + .chip_name = "HPT302", + .chip_type = HPT302, + .udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, +@@ -499,7 +499,7 @@ static const struct hpt_info hpt302 __de + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt371 __devinitconst = { ++static const struct hpt_info hpt371 = { + .chip_name = "HPT371", + .chip_type = HPT371, + .udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, +@@ -507,7 +507,7 @@ static const struct hpt_info hpt371 __de + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt372n __devinitconst = { ++static const struct hpt_info hpt372n = { + .chip_name = "HPT372N", + .chip_type = HPT372N, + .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, +@@ -515,7 +515,7 @@ static const struct hpt_info hpt372n __d + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt302n __devinitconst = { ++static const struct hpt_info hpt302n = { + .chip_name = "HPT302N", + .chip_type = HPT302N, + .udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, +@@ -523,7 +523,7 @@ static const struct hpt_info hpt302n __d + .timings = &hpt37x_timings + }; + +-static const struct hpt_info hpt371n __devinitconst = { ++static const struct hpt_info hpt371n = { + .chip_name = "HPT371N", + .chip_type = HPT371N, + .udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, +@@ -1197,7 +1197,7 @@ static u8 hpt3xx_cable_detect(ide_hwif_t + return (scr1 & ata66) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; + } + +-static void __devinit init_hwif_hpt366(ide_hwif_t *hwif) ++static void init_hwif_hpt366(ide_hwif_t *hwif) + { + struct hpt_info *info = hpt3xx_get_info(hwif->dev); + u8 chip_type = info->chip_type; +@@ -1221,7 +1221,7 @@ static void __devinit init_hwif_hpt366(i + } + } + +-static int __devinit init_dma_hpt366(ide_hwif_t *hwif, ++static int init_dma_hpt366(ide_hwif_t *hwif, + const struct ide_port_info *d) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); +@@ -1265,7 +1265,7 @@ static int __devinit init_dma_hpt366(ide + return 0; + } + +-static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) ++static void hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) + { + if (dev2->irq != dev->irq) { + /* FIXME: we need a core pci_set_interrupt() */ +@@ -1275,7 +1275,7 @@ static void __devinit hpt374_init(struct + } + } + +-static void __devinit hpt371_init(struct pci_dev *dev) ++static void hpt371_init(struct pci_dev *dev) + { + u8 mcr1 = 0; + +@@ -1290,7 +1290,7 @@ static void __devinit hpt371_init(struct + pci_write_config_byte(dev, 0x50, mcr1 & ~0x04); + } + +-static int __devinit hpt36x_init(struct pci_dev *dev, struct pci_dev *dev2) ++static int hpt36x_init(struct pci_dev *dev, struct pci_dev *dev2) + { + u8 mcr1 = 0, pin1 = 0, pin2 = 0; + +@@ -1361,7 +1361,7 @@ static const struct ide_dma_ops hpt36x_d + .dma_sff_read_status = ide_dma_sff_read_status, + }; + +-static const struct ide_port_info hpt366_chipsets[] __devinitconst = { ++static const struct ide_port_info hpt366_chipsets[] = { + { /* 0: HPT36x */ + .name = DRV_NAME, + .init_chipset = init_chipset_hpt366, +@@ -1402,7 +1402,7 @@ static const struct ide_port_info hpt366 + * Called when the PCI registration layer (or the IDE initialization) + * finds a device matching our IDE device tables. + */ +-static int __devinit hpt366_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int hpt366_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + const struct hpt_info *info = NULL; + struct hpt_info *dyn_info; +@@ -1499,7 +1499,7 @@ static int __devinit hpt366_init_one(str + return ret; + } + +-static void __devexit hpt366_remove(struct pci_dev *dev) ++static void hpt366_remove(struct pci_dev *dev) + { + struct ide_host *host = pci_get_drvdata(dev); + struct ide_info *info = host->host_priv; +@@ -1510,7 +1510,7 @@ static void __devexit hpt366_remove(stru + kfree(info); + } + +-static const struct pci_device_id hpt366_pci_tbl[] __devinitconst = { ++static const struct pci_device_id hpt366_pci_tbl[] = { + { PCI_VDEVICE(TTI, PCI_DEVICE_ID_TTI_HPT366), 0 }, + { PCI_VDEVICE(TTI, PCI_DEVICE_ID_TTI_HPT372), 1 }, + { PCI_VDEVICE(TTI, PCI_DEVICE_ID_TTI_HPT302), 2 }, +@@ -1525,7 +1525,7 @@ static struct pci_driver hpt366_pci_driv + .name = "HPT366_IDE", + .id_table = hpt366_pci_tbl, + .probe = hpt366_init_one, +- .remove = __devexit_p(hpt366_remove), ++ .remove = hpt366_remove, + .suspend = ide_pci_suspend, + .resume = ide_pci_resume, + }; +--- a/drivers/ide/it8213.c ++++ b/drivers/ide/it8213.c +@@ -156,7 +156,7 @@ static const struct ide_port_ops it8213_ + .cable_detect = it8213_cable_detect, + }; + +-static const struct ide_port_info it8213_chipset __devinitconst = { ++static const struct ide_port_info it8213_chipset = { + .name = DRV_NAME, + .enablebits = { {0x41, 0x80, 0x80} }, + .port_ops = &it8213_port_ops, +@@ -177,7 +177,7 @@ static const struct ide_port_info it8213 + * standard helper functions to do almost all the work for us. + */ + +-static int __devinit it8213_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int it8213_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + return ide_pci_init_one(dev, &it8213_chipset, NULL); + } +--- a/drivers/ide/it821x.c ++++ b/drivers/ide/it821x.c +@@ -528,7 +528,7 @@ static struct ide_dma_ops it821x_pass_th + * ide DMA handlers appropriately + */ + +-static void __devinit init_hwif_it821x(ide_hwif_t *hwif) ++static void init_hwif_it821x(ide_hwif_t *hwif) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); + struct ide_host *host = pci_get_drvdata(dev); +@@ -630,7 +630,7 @@ static const struct ide_port_ops it821x_ + .cable_detect = it821x_cable_detect, + }; + +-static const struct ide_port_info it821x_chipset __devinitconst = { ++static const struct ide_port_info it821x_chipset = { + .name = DRV_NAME, + .init_chipset = init_chipset_it821x, + .init_hwif = init_hwif_it821x, +@@ -647,7 +647,7 @@ static const struct ide_port_info it821x + * We then use the IDE PCI generic helper to do most of the work. + */ + +-static int __devinit it821x_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int it821x_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + struct it821x_dev *itdevs; + int rc; +@@ -667,7 +667,7 @@ static int __devinit it821x_init_one(str + return rc; + } + +-static void __devexit it821x_remove(struct pci_dev *dev) ++static void it821x_remove(struct pci_dev *dev) + { + struct ide_host *host = pci_get_drvdata(dev); + struct it821x_dev *itdevs = host->host_priv; +@@ -689,7 +689,7 @@ static struct pci_driver it821x_pci_driv + .name = "ITE821x IDE", + .id_table = it821x_pci_tbl, + .probe = it821x_init_one, +- .remove = __devexit_p(it821x_remove), ++ .remove = it821x_remove, + .suspend = ide_pci_suspend, + .resume = ide_pci_resume, + }; +--- a/drivers/ide/jmicron.c ++++ b/drivers/ide/jmicron.c +@@ -102,7 +102,7 @@ static const struct ide_port_ops jmicron + .cable_detect = jmicron_cable_detect, + }; + +-static const struct ide_port_info jmicron_chipset __devinitconst = { ++static const struct ide_port_info jmicron_chipset = { + .name = DRV_NAME, + .enablebits = { { 0x40, 0x01, 0x01 }, { 0x40, 0x10, 0x10 } }, + .port_ops = &jmicron_port_ops, +@@ -120,7 +120,7 @@ static const struct ide_port_info jmicro + * We then use the IDE PCI generic helper to do most of the work. + */ + +-static int __devinit jmicron_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int jmicron_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + return ide_pci_init_one(dev, &jmicron_chipset, NULL); + } +--- a/drivers/ide/ns87415.c ++++ b/drivers/ide/ns87415.c +@@ -96,7 +96,7 @@ static const struct ide_tp_ops superio_t + .output_data = ide_output_data, + }; + +-static void __devinit superio_init_iops(struct hwif_s *hwif) ++static void superio_init_iops(struct hwif_s *hwif) + { + struct pci_dev *pdev = to_pci_dev(hwif->dev); + u32 dma_stat; +@@ -201,7 +201,7 @@ static int ns87415_dma_end(ide_drive_t * + return (dma_stat & 7) != 4; + } + +-static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif) ++static void init_hwif_ns87415 (ide_hwif_t *hwif) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); + unsigned int ctrl, using_inta; +@@ -293,7 +293,7 @@ static const struct ide_dma_ops ns87415_ + .dma_sff_read_status = superio_dma_sff_read_status, + }; + +-static const struct ide_port_info ns87415_chipset __devinitconst = { ++static const struct ide_port_info ns87415_chipset = { + .name = DRV_NAME, + .init_hwif = init_hwif_ns87415, + .tp_ops = &ns87415_tp_ops, +@@ -302,7 +302,7 @@ static const struct ide_port_info ns8741 + IDE_HFLAG_NO_ATAPI_DMA, + }; + +-static int __devinit ns87415_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int ns87415_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + struct ide_port_info d = ns87415_chipset; + +--- a/drivers/ide/pdc202xx_new.c ++++ b/drivers/ide/pdc202xx_new.c +@@ -422,7 +422,7 @@ static int init_chipset_pdcnew(struct pc + return 0; + } + +-static struct pci_dev * __devinit pdc20270_get_dev2(struct pci_dev *dev) ++static struct pci_dev *pdc20270_get_dev2(struct pci_dev *dev) + { + struct pci_dev *dev2; + +@@ -465,7 +465,7 @@ static const struct ide_port_ops pdcnew_ + .udma_mask = udma, \ + } + +-static const struct ide_port_info pdcnew_chipsets[] __devinitconst = { ++static const struct ide_port_info pdcnew_chipsets[] = { + /* 0: PDC202{68,70} */ DECLARE_PDCNEW_DEV(ATA_UDMA5), + /* 1: PDC202{69,71,75,76,77} */ DECLARE_PDCNEW_DEV(ATA_UDMA6), + }; +@@ -479,7 +479,7 @@ static const struct ide_port_info pdcnew + * finds a device matching our IDE device tables. + */ + +-static int __devinit pdc202new_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int pdc202new_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + const struct ide_port_info *d = &pdcnew_chipsets[id->driver_data]; + struct pci_dev *bridge = dev->bus->self; +@@ -514,7 +514,7 @@ static int __devinit pdc202new_init_one( + return ide_pci_init_one(dev, d, NULL); + } + +-static void __devexit pdc202new_remove(struct pci_dev *dev) ++static void pdc202new_remove(struct pci_dev *dev) + { + struct ide_host *host = pci_get_drvdata(dev); + struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; +@@ -539,7 +539,7 @@ static struct pci_driver pdc202new_pci_d + .name = "Promise_IDE", + .id_table = pdc202new_pci_tbl, + .probe = pdc202new_init_one, +- .remove = __devexit_p(pdc202new_remove), ++ .remove = pdc202new_remove, + .suspend = ide_pci_suspend, + .resume = ide_pci_resume, + }; +--- a/drivers/ide/pdc202xx_old.c ++++ b/drivers/ide/pdc202xx_old.c +@@ -211,8 +211,7 @@ out: + return 0; + } + +-static void __devinit pdc202ata4_fixup_irq(struct pci_dev *dev, +- const char *name) ++static void pdc202ata4_fixup_irq(struct pci_dev *dev, const char *name) + { + if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE) { + u8 irq = 0, irq2 = 0; +@@ -270,7 +269,7 @@ static const struct ide_dma_ops pdc2026x + .max_sectors = sectors, \ + } + +-static const struct ide_port_info pdc202xx_chipsets[] __devinitconst = { ++static const struct ide_port_info pdc202xx_chipsets[] = { + { /* 0: PDC20246 */ + .name = DRV_NAME, + .init_chipset = init_chipset_pdc202xx, +@@ -297,7 +296,8 @@ static const struct ide_port_info pdc202 + * finds a device matching our IDE device tables. + */ + +-static int __devinit pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int pdc202xx_init_one(struct pci_dev *dev, ++ const struct pci_device_id *id) + { + const struct ide_port_info *d; + u8 idx = id->driver_data; +--- a/drivers/ide/scc_pata.c ++++ b/drivers/ide/scc_pata.c +@@ -585,8 +585,7 @@ static int scc_ide_setup_pci_device(stru + * Perform the initial set up for this device. + */ + +-static int __devinit init_setup_scc(struct pci_dev *dev, +- const struct ide_port_info *d) ++static int init_setup_scc(struct pci_dev *dev, const struct ide_port_info *d) + { + unsigned long ctl_base; + unsigned long dma_base; +@@ -718,7 +717,7 @@ static void scc_output_data(ide_drive_t + * + */ + +-static void __devinit init_mmio_iops_scc(ide_hwif_t *hwif) ++static void init_mmio_iops_scc(ide_hwif_t *hwif) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); + struct scc_ports *ports = pci_get_drvdata(dev); +@@ -738,7 +737,7 @@ static void __devinit init_mmio_iops_scc + * and then do the MMIO setup. + */ + +-static void __devinit init_iops_scc(ide_hwif_t *hwif) ++static void init_iops_scc(ide_hwif_t *hwif) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); + +@@ -748,8 +747,7 @@ static void __devinit init_iops_scc(ide_ + init_mmio_iops_scc(hwif); + } + +-static int __devinit scc_init_dma(ide_hwif_t *hwif, +- const struct ide_port_info *d) ++static int scc_init_dma(ide_hwif_t *hwif, const struct ide_port_info *d) + { + return ide_allocate_dma_engine(hwif); + } +@@ -768,7 +766,7 @@ static u8 scc_cable_detect(ide_hwif_t *h + * ide DMA handlers appropriately. + */ + +-static void __devinit init_hwif_scc(ide_hwif_t *hwif) ++static void init_hwif_scc(ide_hwif_t *hwif) + { + /* PTERADD */ + out_be32((void __iomem *)(hwif->dma_base + 0x018), hwif->dmatable_dma); +@@ -811,7 +809,7 @@ static const struct ide_dma_ops scc_dma_ + .dma_sff_read_status = scc_dma_sff_read_status, + }; + +-static const struct ide_port_info scc_chipset __devinitconst = { ++static const struct ide_port_info scc_chipset = { + .name = "sccIDE", + .init_iops = init_iops_scc, + .init_dma = scc_init_dma, +@@ -834,7 +832,7 @@ static const struct ide_port_info scc_ch + * We then use the IDE PCI generic helper to do most of the work. + */ + +-static int __devinit scc_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int scc_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + return init_setup_scc(dev, &scc_chipset); + } +@@ -846,7 +844,7 @@ static int __devinit scc_init_one(struct + * Called by the PCI code when it removes an SCC PATA controller. + */ + +-static void __devexit scc_remove(struct pci_dev *dev) ++static void scc_remove(struct pci_dev *dev) + { + struct scc_ports *ports = pci_get_drvdata(dev); + struct ide_host *host = ports->host; +@@ -869,7 +867,7 @@ static struct pci_driver scc_pci_driver + .name = "SCC IDE", + .id_table = scc_pci_tbl, + .probe = scc_init_one, +- .remove = __devexit_p(scc_remove), ++ .remove = scc_remove, + }; + + static int __init scc_ide_init(void) +--- a/drivers/ide/serverworks.c ++++ b/drivers/ide/serverworks.c +@@ -337,7 +337,7 @@ static const struct ide_port_ops svwks_p + .cable_detect = svwks_cable_detect, + }; + +-static const struct ide_port_info serverworks_chipsets[] __devinitconst = { ++static const struct ide_port_info serverworks_chipsets[] = { + { /* 0: OSB4 */ + .name = DRV_NAME, + .init_chipset = init_chipset_svwks, +@@ -391,7 +391,7 @@ static const struct ide_port_info server + * finds a device matching our IDE device tables. + */ + +-static int __devinit svwks_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int svwks_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + struct ide_port_info d; + u8 idx = id->driver_data; +--- a/drivers/ide/sgiioc4.c ++++ b/drivers/ide/sgiioc4.c +@@ -307,8 +307,7 @@ static u8 sgiioc4_read_status(ide_hwif_t + } + + /* Creates a DMA map for the scatter-gather list entries */ +-static int __devinit ide_dma_sgiioc4(ide_hwif_t *hwif, +- const struct ide_port_info *d) ++static int ide_dma_sgiioc4(ide_hwif_t *hwif, const struct ide_port_info *d) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); + unsigned long dma_base = pci_resource_start(dev, 0) + IOC4_DMA_OFFSET; +@@ -520,7 +519,7 @@ static const struct ide_dma_ops sgiioc4_ + .dma_lost_irq = sgiioc4_dma_lost_irq, + }; + +-static const struct ide_port_info sgiioc4_port_info __devinitconst = { ++static const struct ide_port_info sgiioc4_port_info = { + .name = DRV_NAME, + .chipset = ide_pci, + .init_dma = ide_dma_sgiioc4, +@@ -532,7 +531,7 @@ static const struct ide_port_info sgiioc + .mwdma_mask = ATA_MWDMA2_ONLY, + }; + +-static int __devinit sgiioc4_ide_setup_pci_device(struct pci_dev *dev) ++static int sgiioc4_ide_setup_pci_device(struct pci_dev *dev) + { + unsigned long cmd_base, irqport; + unsigned long bar0, cmd_phys_base, ctl; +@@ -581,7 +580,7 @@ req_mem_rgn_err: + return rc; + } + +-static unsigned int __devinit pci_init_sgiioc4(struct pci_dev *dev) ++static unsigned int pci_init_sgiioc4(struct pci_dev *dev) + { + int ret; + +@@ -601,7 +600,7 @@ out: + return ret; + } + +-int __devinit ioc4_ide_attach_one(struct ioc4_driver_data *idd) ++int ioc4_ide_attach_one(struct ioc4_driver_data *idd) + { + /* + * PCI-RT does not bring out IDE connection. +@@ -613,7 +612,7 @@ int __devinit ioc4_ide_attach_one(struct + return pci_init_sgiioc4(idd->idd_pdev); + } + +-static struct ioc4_submodule __devinitdata ioc4_ide_submodule = { ++static struct ioc4_submodule ioc4_ide_submodule = { + .is_name = "IOC4_ide", + .is_owner = THIS_MODULE, + .is_probe = ioc4_ide_attach_one, +--- a/drivers/ide/sis5513.c ++++ b/drivers/ide/sis5513.c +@@ -362,7 +362,7 @@ static u8 sis_ata133_udma_filter(ide_dri + return (regdw & 0x08) ? ATA_UDMA6 : ATA_UDMA5; + } + +-static int __devinit sis_find_family(struct pci_dev *dev) ++static int sis_find_family(struct pci_dev *dev) + { + struct pci_dev *host; + int i = 0; +@@ -563,7 +563,7 @@ static const struct ide_port_ops sis_ata + .cable_detect = sis_cable_detect, + }; + +-static const struct ide_port_info sis5513_chipset __devinitconst = { ++static const struct ide_port_info sis5513_chipset = { + .name = DRV_NAME, + .init_chipset = init_chipset_sis5513, + .enablebits = { {0x4a, 0x02, 0x02}, {0x4a, 0x04, 0x04} }, +@@ -572,7 +572,7 @@ static const struct ide_port_info sis551 + .mwdma_mask = ATA_MWDMA2, + }; + +-static int __devinit sis5513_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int sis5513_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + struct ide_port_info d = sis5513_chipset; + u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f }; +@@ -595,7 +595,7 @@ static int __devinit sis5513_init_one(st + return ide_pci_init_one(dev, &d, NULL); + } + +-static void __devexit sis5513_remove(struct pci_dev *dev) ++static void sis5513_remove(struct pci_dev *dev) + { + ide_pci_remove(dev); + pci_disable_device(dev); +@@ -613,7 +613,7 @@ static struct pci_driver sis5513_pci_dri + .name = "SIS_IDE", + .id_table = sis5513_pci_tbl, + .probe = sis5513_init_one, +- .remove = __devexit_p(sis5513_remove), ++ .remove = sis5513_remove, + .suspend = ide_pci_suspend, + .resume = ide_pci_resume, + }; +--- a/drivers/ide/sl82c105.c ++++ b/drivers/ide/sl82c105.c +@@ -299,7 +299,7 @@ static const struct ide_dma_ops sl82c105 + .dma_sff_read_status = ide_dma_sff_read_status, + }; + +-static const struct ide_port_info sl82c105_chipset __devinitconst = { ++static const struct ide_port_info sl82c105_chipset = { + .name = DRV_NAME, + .init_chipset = init_chipset_sl82c105, + .enablebits = {{0x40,0x01,0x01}, {0x40,0x10,0x10}}, +@@ -313,7 +313,7 @@ static const struct ide_port_info sl82c1 + .mwdma_mask = ATA_MWDMA2, + }; + +-static int __devinit sl82c105_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int sl82c105_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + struct ide_port_info d = sl82c105_chipset; + u8 rev = sl82c105_bridge_revision(dev); +--- a/drivers/ide/triflex.c ++++ b/drivers/ide/triflex.c +@@ -92,7 +92,7 @@ static const struct ide_port_ops triflex + .set_dma_mode = triflex_set_mode, + }; + +-static const struct ide_port_info triflex_device __devinitconst = { ++static const struct ide_port_info triflex_device = { + .name = DRV_NAME, + .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, + .port_ops = &triflex_port_ops, +@@ -101,8 +101,7 @@ static const struct ide_port_info trifle + .mwdma_mask = ATA_MWDMA2, + }; + +-static int __devinit triflex_init_one(struct pci_dev *dev, +- const struct pci_device_id *id) ++static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + return ide_pci_init_one(dev, &triflex_device, NULL); + } +--- a/drivers/ide/trm290.c ++++ b/drivers/ide/trm290.c +@@ -231,7 +231,7 @@ static void trm290_dma_host_set(ide_driv + { + } + +-static void __devinit init_hwif_trm290(ide_hwif_t *hwif) ++static void init_hwif_trm290(ide_hwif_t *hwif) + { + struct pci_dev *dev = to_pci_dev(hwif->dev); + unsigned int cfg_base = pci_resource_start(dev, 4); +@@ -324,7 +324,7 @@ static struct ide_dma_ops trm290_dma_ops + .dma_check = trm290_dma_check, + }; + +-static const struct ide_port_info trm290_chipset __devinitconst = { ++static const struct ide_port_info trm290_chipset = { + .name = DRV_NAME, + .init_hwif = init_hwif_trm290, + .tp_ops = &trm290_tp_ops, +@@ -338,7 +338,7 @@ static const struct ide_port_info trm290 + IDE_HFLAG_NO_LBA48, + }; + +-static int __devinit trm290_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int trm290_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + return ide_pci_init_one(dev, &trm290_chipset, NULL); + } +--- a/drivers/ide/via82cxxx.c ++++ b/drivers/ide/via82cxxx.c +@@ -403,7 +403,7 @@ static const struct ide_port_ops via_por + .cable_detect = via82cxxx_cable_detect, + }; + +-static const struct ide_port_info via82cxxx_chipset __devinitconst = { ++static const struct ide_port_info via82cxxx_chipset = { + .name = DRV_NAME, + .init_chipset = init_chipset_via82cxxx, + .enablebits = { { 0x40, 0x02, 0x02 }, { 0x40, 0x01, 0x01 } }, +@@ -416,7 +416,7 @@ static const struct ide_port_info via82c + .mwdma_mask = ATA_MWDMA2, + }; + +-static int __devinit via_init_one(struct pci_dev *dev, const struct pci_device_id *id) ++static int via_init_one(struct pci_dev *dev, const struct pci_device_id *id) + { + struct pci_dev *isa = NULL; + struct via_isa_bridge *via_config; +@@ -489,7 +489,7 @@ static int __devinit via_init_one(struct + return rc; + } + +-static void __devexit via_remove(struct pci_dev *dev) ++static void via_remove(struct pci_dev *dev) + { + struct ide_host *host = pci_get_drvdata(dev); + struct via82cxxx_dev *vdev = host->host_priv; +@@ -514,7 +514,7 @@ static struct pci_driver via_pci_driver + .name = "VIA_IDE", + .id_table = via_pci_tbl, + .probe = via_init_one, +- .remove = __devexit_p(via_remove), ++ .remove = via_remove, + .suspend = ide_pci_suspend, + .resume = ide_pci_resume, + }; +--- a/drivers/iio/accel/hid-sensor-accel-3d.c ++++ b/drivers/iio/accel/hid-sensor-accel-3d.c +@@ -278,7 +278,7 @@ static int accel_3d_parse_report(struct + } + + /* Function to initialize the processing for usage id */ +-static int __devinit hid_accel_3d_probe(struct platform_device *pdev) ++static int hid_accel_3d_probe(struct platform_device *pdev) + { + int ret = 0; + static const char *name = "accel_3d"; +@@ -375,7 +375,7 @@ error_ret: + } + + /* Function to deinitialize the processing for usage id */ +-static int __devinit hid_accel_3d_remove(struct platform_device *pdev) ++static int hid_accel_3d_remove(struct platform_device *pdev) + { + struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; + struct iio_dev *indio_dev = platform_get_drvdata(pdev); +--- a/drivers/iio/adc/ad7266.c ++++ b/drivers/iio/adc/ad7266.c +@@ -367,7 +367,7 @@ static const struct ad7266_chan_info ad7 + }, + }; + +-static void __devinit ad7266_init_channels(struct iio_dev *indio_dev) ++static void ad7266_init_channels(struct iio_dev *indio_dev) + { + struct ad7266_state *st = iio_priv(indio_dev); + bool is_differential, is_signed; +@@ -391,7 +391,7 @@ static const char * const ad7266_gpio_la + "AD0", "AD1", "AD2", + }; + +-static int __devinit ad7266_probe(struct spi_device *spi) ++static int ad7266_probe(struct spi_device *spi) + { + struct ad7266_platform_data *pdata = spi->dev.platform_data; + struct iio_dev *indio_dev; +@@ -494,7 +494,7 @@ error_put_reg: + return ret; + } + +-static int __devexit ad7266_remove(struct spi_device *spi) ++static int ad7266_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad7266_state *st = iio_priv(indio_dev); +@@ -525,7 +525,7 @@ static struct spi_driver ad7266_driver = + .owner = THIS_MODULE, + }, + .probe = ad7266_probe, +- .remove = __devexit_p(ad7266_remove), ++ .remove = ad7266_remove, + .id_table = ad7266_id, + }; + module_spi_driver(ad7266_driver); +--- a/drivers/iio/adc/ad7298.c ++++ b/drivers/iio/adc/ad7298.c +@@ -292,7 +292,7 @@ static const struct iio_info ad7298_info + .driver_module = THIS_MODULE, + }; + +-static int __devinit ad7298_probe(struct spi_device *spi) ++static int ad7298_probe(struct spi_device *spi) + { + struct ad7298_platform_data *pdata = spi->dev.platform_data; + struct ad7298_state *st; +@@ -370,7 +370,7 @@ error_free: + 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); +@@ -398,7 +398,7 @@ static struct spi_driver ad7298_driver = + .owner = THIS_MODULE, + }, + .probe = ad7298_probe, +- .remove = __devexit_p(ad7298_remove), ++ .remove = ad7298_remove, + .id_table = ad7298_id, + }; + module_spi_driver(ad7298_driver); +--- a/drivers/iio/adc/ad7476.c ++++ b/drivers/iio/adc/ad7476.c +@@ -207,7 +207,7 @@ static const struct iio_info ad7476_info + .read_raw = &ad7476_read_raw, + }; + +-static int __devinit ad7476_probe(struct spi_device *spi) ++static int ad7476_probe(struct spi_device *spi) + { + struct ad7476_state *st; + struct iio_dev *indio_dev; +@@ -277,7 +277,7 @@ error_ret: + return ret; + } + +-static int __devexit ad7476_remove(struct spi_device *spi) ++static int ad7476_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad7476_state *st = iio_priv(indio_dev); +@@ -322,7 +322,7 @@ static struct spi_driver ad7476_driver = + .owner = THIS_MODULE, + }, + .probe = ad7476_probe, +- .remove = __devexit_p(ad7476_remove), ++ .remove = ad7476_remove, + .id_table = ad7476_id, + }; + module_spi_driver(ad7476_driver); +--- a/drivers/iio/adc/ad7791.c ++++ b/drivers/iio/adc/ad7791.c +@@ -325,8 +325,8 @@ static const struct iio_info ad7791_no_f + .driver_module = THIS_MODULE, + }; + +-static int __devinit ad7791_setup(struct ad7791_state *st, +- struct ad7791_platform_data *pdata) ++static int ad7791_setup(struct ad7791_state *st, ++ struct ad7791_platform_data *pdata) + { + /* Set to poweron-reset default values */ + st->mode = AD7791_MODE_BUFFER; +@@ -349,7 +349,7 @@ static int __devinit ad7791_setup(struct + st->mode); + } + +-static int __devinit ad7791_probe(struct spi_device *spi) ++static int ad7791_probe(struct spi_device *spi) + { + struct ad7791_platform_data *pdata = spi->dev.platform_data; + struct iio_dev *indio_dev; +@@ -418,7 +418,7 @@ err_iio_free: + return ret; + } + +-static int __devexit ad7791_remove(struct spi_device *spi) ++static int ad7791_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad7791_state *st = iio_priv(indio_dev); +@@ -450,7 +450,7 @@ static struct spi_driver ad7791_driver = + .owner = THIS_MODULE, + }, + .probe = ad7791_probe, +- .remove = __devexit_p(ad7791_remove), ++ .remove = ad7791_remove, + .id_table = ad7791_spi_ids, + }; + module_spi_driver(ad7791_driver); +--- a/drivers/iio/adc/ad7887.c ++++ b/drivers/iio/adc/ad7887.c +@@ -233,7 +233,7 @@ static const struct iio_info ad7887_info + .driver_module = THIS_MODULE, + }; + +-static int __devinit ad7887_probe(struct spi_device *spi) ++static int ad7887_probe(struct spi_device *spi) + { + struct ad7887_platform_data *pdata = spi->dev.platform_data; + struct ad7887_state *st; +@@ -340,7 +340,7 @@ error_free: + return ret; + } + +-static int __devexit ad7887_remove(struct spi_device *spi) ++static int ad7887_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad7887_state *st = iio_priv(indio_dev); +@@ -368,7 +368,7 @@ static struct spi_driver ad7887_driver = + .owner = THIS_MODULE, + }, + .probe = ad7887_probe, +- .remove = __devexit_p(ad7887_remove), ++ .remove = ad7887_remove, + .id_table = ad7887_id, + }; + module_spi_driver(ad7887_driver); +--- a/drivers/iio/adc/at91_adc.c ++++ b/drivers/iio/adc/at91_adc.c +@@ -514,7 +514,7 @@ static const struct iio_info at91_adc_in + .read_raw = &at91_adc_read_raw, + }; + +-static int __devinit at91_adc_probe(struct platform_device *pdev) ++static int at91_adc_probe(struct platform_device *pdev) + { + unsigned int prsc, mstrclk, ticks, adc_clk; + int ret; +@@ -678,7 +678,7 @@ error_ret: + return ret; + } + +-static int __devexit at91_adc_remove(struct platform_device *pdev) ++static int at91_adc_remove(struct platform_device *pdev) + { + struct iio_dev *idev = platform_get_drvdata(pdev); + struct at91_adc_state *st = iio_priv(idev); +@@ -702,7 +702,7 @@ MODULE_DEVICE_TABLE(of, at91_adc_dt_ids) + + static struct platform_driver at91_adc_driver = { + .probe = at91_adc_probe, +- .remove = __devexit_p(at91_adc_remove), ++ .remove = at91_adc_remove, + .driver = { + .name = "at91_adc", + .of_match_table = of_match_ptr(at91_adc_dt_ids), +--- a/drivers/iio/adc/lp8788_adc.c ++++ b/drivers/iio/adc/lp8788_adc.c +@@ -193,7 +193,7 @@ static inline void lp8788_iio_map_unregi + iio_map_array_unregister(indio_dev, adc->map); + } + +-static int __devinit lp8788_adc_probe(struct platform_device *pdev) ++static int lp8788_adc_probe(struct platform_device *pdev) + { + struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); + struct iio_dev *indio_dev; +@@ -236,7 +236,7 @@ err_iio_map: + return ret; + } + +-static int __devexit lp8788_adc_remove(struct platform_device *pdev) ++static int lp8788_adc_remove(struct platform_device *pdev) + { + struct iio_dev *indio_dev = platform_get_drvdata(pdev); + struct lp8788_adc *adc = iio_priv(indio_dev); +@@ -250,7 +250,7 @@ static int __devexit lp8788_adc_remove(s + + static struct platform_driver lp8788_adc_driver = { + .probe = lp8788_adc_probe, +- .remove = __devexit_p(lp8788_adc_remove), ++ .remove = lp8788_adc_remove, + .driver = { + .name = LP8788_DEV_ADC, + .owner = THIS_MODULE, +--- a/drivers/iio/adc/max1363.c ++++ b/drivers/iio/adc/max1363.c +@@ -1402,7 +1402,7 @@ static int max1363_initial_setup(struct + return max1363_set_scan_mode(st); + } + +-static int __devinit max1363_alloc_scan_masks(struct iio_dev *indio_dev) ++static int max1363_alloc_scan_masks(struct iio_dev *indio_dev) + { + struct max1363_state *st = iio_priv(indio_dev); + unsigned long *masks; +@@ -1525,8 +1525,8 @@ static void max1363_buffer_cleanup(struc + iio_kfifo_free(indio_dev->buffer); + } + +-static int __devinit max1363_probe(struct i2c_client *client, +- const struct i2c_device_id *id) ++static int max1363_probe(struct i2c_client *client, ++ const struct i2c_device_id *id) + { + int ret; + struct max1363_state *st; +@@ -1624,7 +1624,7 @@ error_out: + return ret; + } + +-static int __devexit max1363_remove(struct i2c_client *client) ++static int max1363_remove(struct i2c_client *client) + { + struct iio_dev *indio_dev = i2c_get_clientdata(client); + struct max1363_state *st = iio_priv(indio_dev); +@@ -1690,7 +1690,7 @@ static struct i2c_driver max1363_driver + .name = "max1363", + }, + .probe = max1363_probe, +- .remove = __devexit_p(max1363_remove), ++ .remove = max1363_remove, + .id_table = max1363_id, + }; + module_i2c_driver(max1363_driver); +--- a/drivers/iio/amplifiers/ad8366.c ++++ b/drivers/iio/amplifiers/ad8366.c +@@ -133,7 +133,7 @@ static const struct iio_chan_spec ad8366 + AD8366_CHAN(1), + }; + +-static int __devinit ad8366_probe(struct spi_device *spi) ++static int ad8366_probe(struct spi_device *spi) + { + struct iio_dev *indio_dev; + struct ad8366_state *st; +@@ -182,7 +182,7 @@ error_put_reg: + return ret; + } + +-static int __devexit ad8366_remove(struct spi_device *spi) ++static int ad8366_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad8366_state *st = iio_priv(indio_dev); +@@ -211,7 +211,7 @@ static struct spi_driver ad8366_driver = + .owner = THIS_MODULE, + }, + .probe = ad8366_probe, +- .remove = __devexit_p(ad8366_remove), ++ .remove = ad8366_remove, + .id_table = ad8366_id, + }; + +--- a/drivers/iio/dac/ad5064.c ++++ b/drivers/iio/dac/ad5064.c +@@ -424,8 +424,8 @@ static const char * const ad5064_vref_na + return st->chip_info->shared_vref ? "vref" : ad5064_vref_names[vref]; + } + +-static int __devinit ad5064_probe(struct device *dev, enum ad5064_type type, +- const char *name, ad5064_write_func write) ++static int ad5064_probe(struct device *dev, enum ad5064_type type, ++ const char *name, ad5064_write_func write) + { + struct iio_dev *indio_dev; + struct ad5064_state *st; +@@ -495,7 +495,7 @@ error_free: + return ret; + } + +-static int __devexit ad5064_remove(struct device *dev) ++static int ad5064_remove(struct device *dev) + { + struct iio_dev *indio_dev = dev_get_drvdata(dev); + struct ad5064_state *st = iio_priv(indio_dev); +@@ -523,7 +523,7 @@ static int ad5064_spi_write(struct ad506 + return spi_write(spi, &st->data.spi, sizeof(st->data.spi)); + } + +-static int __devinit ad5064_spi_probe(struct spi_device *spi) ++static int ad5064_spi_probe(struct spi_device *spi) + { + const struct spi_device_id *id = spi_get_device_id(spi); + +@@ -531,7 +531,7 @@ static int __devinit ad5064_spi_probe(st + ad5064_spi_write); + } + +-static int __devexit ad5064_spi_remove(struct spi_device *spi) ++static int ad5064_spi_remove(struct spi_device *spi) + { + return ad5064_remove(&spi->dev); + } +@@ -563,7 +563,7 @@ static struct spi_driver ad5064_spi_driv + .owner = THIS_MODULE, + }, + .probe = ad5064_spi_probe, +- .remove = __devexit_p(ad5064_spi_remove), ++ .remove = ad5064_spi_remove, + .id_table = ad5064_spi_ids, + }; + +@@ -596,14 +596,14 @@ static int ad5064_i2c_write(struct ad506 + return i2c_master_send(i2c, st->data.i2c, 3); + } + +-static int __devinit ad5064_i2c_probe(struct i2c_client *i2c, ++static int ad5064_i2c_probe(struct i2c_client *i2c, + const struct i2c_device_id *id) + { + return ad5064_probe(&i2c->dev, id->driver_data, id->name, + ad5064_i2c_write); + } + +-static int __devexit ad5064_i2c_remove(struct i2c_client *i2c) ++static int ad5064_i2c_remove(struct i2c_client *i2c) + { + return ad5064_remove(&i2c->dev); + } +@@ -625,7 +625,7 @@ static struct i2c_driver ad5064_i2c_driv + .owner = THIS_MODULE, + }, + .probe = ad5064_i2c_probe, +- .remove = __devexit_p(ad5064_i2c_remove), ++ .remove = ad5064_i2c_remove, + .id_table = ad5064_i2c_ids, + }; + +--- a/drivers/iio/dac/ad5360.c ++++ b/drivers/iio/dac/ad5360.c +@@ -433,7 +433,7 @@ static const char * const ad5360_vref_na + "vref0", "vref1", "vref2" + }; + +-static int __devinit ad5360_alloc_channels(struct iio_dev *indio_dev) ++static int ad5360_alloc_channels(struct iio_dev *indio_dev) + { + struct ad5360_state *st = iio_priv(indio_dev); + struct iio_chan_spec *channels; +@@ -456,7 +456,7 @@ static int __devinit ad5360_alloc_channe + return 0; + } + +-static int __devinit ad5360_probe(struct spi_device *spi) ++static int ad5360_probe(struct spi_device *spi) + { + enum ad5360_type type = spi_get_device_id(spi)->driver_data; + struct iio_dev *indio_dev; +@@ -524,7 +524,7 @@ error_free: + return ret; + } + +-static int __devexit ad5360_remove(struct spi_device *spi) ++static int ad5360_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad5360_state *st = iio_priv(indio_dev); +@@ -560,7 +560,7 @@ static struct spi_driver ad5360_driver = + .owner = THIS_MODULE, + }, + .probe = ad5360_probe, +- .remove = __devexit_p(ad5360_remove), ++ .remove = ad5360_remove, + .id_table = ad5360_ids, + }; + module_spi_driver(ad5360_driver); +--- a/drivers/iio/dac/ad5380.c ++++ b/drivers/iio/dac/ad5380.c +@@ -338,7 +338,7 @@ static const struct ad5380_chip_info ad5 + }, + }; + +-static int __devinit ad5380_alloc_channels(struct iio_dev *indio_dev) ++static int ad5380_alloc_channels(struct iio_dev *indio_dev) + { + struct ad5380_state *st = iio_priv(indio_dev); + struct iio_chan_spec *channels; +@@ -361,8 +361,8 @@ static int __devinit ad5380_alloc_channe + return 0; + } + +-static int __devinit ad5380_probe(struct device *dev, struct regmap *regmap, +- enum ad5380_type type, const char *name) ++static int ad5380_probe(struct device *dev, struct regmap *regmap, ++ enum ad5380_type type, const char *name) + { + struct iio_dev *indio_dev; + struct ad5380_state *st; +@@ -441,7 +441,7 @@ error_out: + return ret; + } + +-static int __devexit ad5380_remove(struct device *dev) ++static int ad5380_remove(struct device *dev) + { + struct iio_dev *indio_dev = dev_get_drvdata(dev); + struct ad5380_state *st = iio_priv(indio_dev); +@@ -478,7 +478,7 @@ static const struct regmap_config ad5380 + + #if IS_ENABLED(CONFIG_SPI_MASTER) + +-static int __devinit ad5380_spi_probe(struct spi_device *spi) ++static int ad5380_spi_probe(struct spi_device *spi) + { + const struct spi_device_id *id = spi_get_device_id(spi); + struct regmap *regmap; +@@ -491,7 +491,7 @@ static int __devinit ad5380_spi_probe(st + return ad5380_probe(&spi->dev, regmap, id->driver_data, id->name); + } + +-static int __devexit ad5380_spi_remove(struct spi_device *spi) ++static int ad5380_spi_remove(struct spi_device *spi) + { + return ad5380_remove(&spi->dev); + } +@@ -523,7 +523,7 @@ static struct spi_driver ad5380_spi_driv + .owner = THIS_MODULE, + }, + .probe = ad5380_spi_probe, +- .remove = __devexit_p(ad5380_spi_remove), ++ .remove = ad5380_spi_remove, + .id_table = ad5380_spi_ids, + }; + +@@ -552,8 +552,8 @@ static inline void ad5380_spi_unregister + + #if IS_ENABLED(CONFIG_I2C) + +-static int __devinit ad5380_i2c_probe(struct i2c_client *i2c, +- const struct i2c_device_id *id) ++static int ad5380_i2c_probe(struct i2c_client *i2c, ++ const struct i2c_device_id *id) + { + struct regmap *regmap; + +@@ -565,7 +565,7 @@ static int __devinit ad5380_i2c_probe(st + return ad5380_probe(&i2c->dev, regmap, id->driver_data, id->name); + } + +-static int __devexit ad5380_i2c_remove(struct i2c_client *i2c) ++static int ad5380_i2c_remove(struct i2c_client *i2c) + { + return ad5380_remove(&i2c->dev); + } +@@ -597,7 +597,7 @@ static struct i2c_driver ad5380_i2c_driv + .owner = THIS_MODULE, + }, + .probe = ad5380_i2c_probe, +- .remove = __devexit_p(ad5380_i2c_remove), ++ .remove = ad5380_i2c_remove, + .id_table = ad5380_i2c_ids, + }; + +--- a/drivers/iio/dac/ad5421.c ++++ b/drivers/iio/dac/ad5421.c +@@ -449,7 +449,7 @@ static const struct iio_info ad5421_info + .driver_module = THIS_MODULE, + }; + +-static int __devinit ad5421_probe(struct spi_device *spi) ++static int ad5421_probe(struct spi_device *spi) + { + struct ad5421_platform_data *pdata = dev_get_platdata(&spi->dev); + struct iio_dev *indio_dev; +@@ -516,7 +516,7 @@ error_free: + return ret; + } + +-static int __devexit ad5421_remove(struct spi_device *spi) ++static int ad5421_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + +@@ -534,7 +534,7 @@ static struct spi_driver ad5421_driver = + .owner = THIS_MODULE, + }, + .probe = ad5421_probe, +- .remove = __devexit_p(ad5421_remove), ++ .remove = ad5421_remove, + }; + module_spi_driver(ad5421_driver); + +--- a/drivers/iio/dac/ad5446.c ++++ b/drivers/iio/dac/ad5446.c +@@ -212,8 +212,8 @@ static const struct iio_info ad5446_info + .driver_module = THIS_MODULE, + }; + +-static int __devinit ad5446_probe(struct device *dev, const char *name, +- const struct ad5446_chip_info *chip_info) ++static int ad5446_probe(struct device *dev, const char *name, ++ const struct ad5446_chip_info *chip_info) + { + struct ad5446_state *st; + struct iio_dev *indio_dev; +@@ -461,7 +461,7 @@ static const struct spi_device_id ad5446 + }; + MODULE_DEVICE_TABLE(spi, ad5446_spi_ids); + +-static int __devinit ad5446_spi_probe(struct spi_device *spi) ++static int ad5446_spi_probe(struct spi_device *spi) + { + const struct spi_device_id *id = spi_get_device_id(spi); + +@@ -469,7 +469,7 @@ static int __devinit ad5446_spi_probe(st + &ad5446_spi_chip_info[id->driver_data]); + } + +-static int __devexit ad5446_spi_remove(struct spi_device *spi) ++static int ad5446_spi_remove(struct spi_device *spi) + { + return ad5446_remove(&spi->dev); + } +@@ -480,7 +480,7 @@ static struct spi_driver ad5446_spi_driv + .owner = THIS_MODULE, + }, + .probe = ad5446_spi_probe, +- .remove = __devexit_p(ad5446_spi_remove), ++ .remove = ad5446_spi_remove, + .id_table = ad5446_spi_ids, + }; + +@@ -539,14 +539,14 @@ static const struct ad5446_chip_info ad5 + }, + }; + +-static int __devinit ad5446_i2c_probe(struct i2c_client *i2c, +- const struct i2c_device_id *id) ++static int ad5446_i2c_probe(struct i2c_client *i2c, ++ const struct i2c_device_id *id) + { + return ad5446_probe(&i2c->dev, id->name, + &ad5446_i2c_chip_info[id->driver_data]); + } + +-static int __devexit ad5446_i2c_remove(struct i2c_client *i2c) ++static int ad5446_i2c_remove(struct i2c_client *i2c) + { + return ad5446_remove(&i2c->dev); + } +@@ -568,7 +568,7 @@ static struct i2c_driver ad5446_i2c_driv + .owner = THIS_MODULE, + }, + .probe = ad5446_i2c_probe, +- .remove = __devexit_p(ad5446_i2c_remove), ++ .remove = ad5446_i2c_remove, + .id_table = ad5446_i2c_ids, + }; + +--- a/drivers/iio/dac/ad5449.c ++++ b/drivers/iio/dac/ad5449.c +@@ -266,7 +266,7 @@ static const char *ad5449_vref_name(stru + return "VREFB"; + } + +-static int __devinit ad5449_spi_probe(struct spi_device *spi) ++static int ad5449_spi_probe(struct spi_device *spi) + { + struct ad5449_platform_data *pdata = spi->dev.platform_data; + const struct spi_device_id *id = spi_get_device_id(spi); +@@ -333,7 +333,7 @@ error_free: + return ret; + } + +-static int __devexit ad5449_spi_remove(struct spi_device *spi) ++static int ad5449_spi_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad5449 *st = iio_priv(indio_dev); +@@ -366,7 +366,7 @@ static struct spi_driver ad5449_spi_driv + .owner = THIS_MODULE, + }, + .probe = ad5449_spi_probe, +- .remove = __devexit_p(ad5449_spi_remove), ++ .remove = ad5449_spi_remove, + .id_table = ad5449_spi_ids, + }; + module_spi_driver(ad5449_spi_driver); +--- a/drivers/iio/dac/ad5504.c ++++ b/drivers/iio/dac/ad5504.c +@@ -277,7 +277,7 @@ static const struct iio_chan_spec ad5504 + AD5504_CHANNEL(3), + }; + +-static int __devinit ad5504_probe(struct spi_device *spi) ++static int ad5504_probe(struct spi_device *spi) + { + struct ad5504_platform_data *pdata = spi->dev.platform_data; + struct iio_dev *indio_dev; +@@ -352,7 +352,7 @@ error_ret: + return ret; + } + +-static int __devexit ad5504_remove(struct spi_device *spi) ++static int ad5504_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad5504_state *st = iio_priv(indio_dev); +@@ -383,7 +383,7 @@ static struct spi_driver ad5504_driver = + .owner = THIS_MODULE, + }, + .probe = ad5504_probe, +- .remove = __devexit_p(ad5504_remove), ++ .remove = ad5504_remove, + .id_table = ad5504_id, + }; + module_spi_driver(ad5504_driver); +--- a/drivers/iio/dac/ad5624r_spi.c ++++ b/drivers/iio/dac/ad5624r_spi.c +@@ -220,7 +220,7 @@ static const struct ad5624r_chip_info ad + }, + }; + +-static int __devinit ad5624r_probe(struct spi_device *spi) ++static int ad5624r_probe(struct spi_device *spi) + { + struct ad5624r_state *st; + struct iio_dev *indio_dev; +@@ -282,7 +282,7 @@ error_ret: + return ret; + } + +-static int __devexit ad5624r_remove(struct spi_device *spi) ++static int ad5624r_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad5624r_state *st = iio_priv(indio_dev); +@@ -314,7 +314,7 @@ static struct spi_driver ad5624r_driver + .owner = THIS_MODULE, + }, + .probe = ad5624r_probe, +- .remove = __devexit_p(ad5624r_remove), ++ .remove = ad5624r_remove, + .id_table = ad5624r_id, + }; + module_spi_driver(ad5624r_driver); +--- a/drivers/iio/dac/ad5686.c ++++ b/drivers/iio/dac/ad5686.c +@@ -313,7 +313,7 @@ static const struct ad5686_chip_info ad5 + }; + + +-static int __devinit ad5686_probe(struct spi_device *spi) ++static int ad5686_probe(struct spi_device *spi) + { + struct ad5686_state *st; + struct iio_dev *indio_dev; +@@ -379,7 +379,7 @@ error_put_reg: + return ret; + } + +-static int __devexit ad5686_remove(struct spi_device *spi) ++static int ad5686_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad5686_state *st = iio_priv(indio_dev); +@@ -408,7 +408,7 @@ static struct spi_driver ad5686_driver = + .owner = THIS_MODULE, + }, + .probe = ad5686_probe, +- .remove = __devexit_p(ad5686_remove), ++ .remove = ad5686_remove, + .id_table = ad5686_id, + }; + module_spi_driver(ad5686_driver); +--- a/drivers/iio/dac/ad5755.c ++++ b/drivers/iio/dac/ad5755.c +@@ -447,8 +447,8 @@ static bool ad5755_is_valid_mode(struct + } + } + +-static int __devinit ad5755_setup_pdata(struct iio_dev *indio_dev, +- const struct ad5755_platform_data *pdata) ++static int ad5755_setup_pdata(struct iio_dev *indio_dev, ++ const struct ad5755_platform_data *pdata) + { + struct ad5755_state *st = iio_priv(indio_dev); + unsigned int val; +@@ -503,7 +503,7 @@ static int __devinit ad5755_setup_pdata( + return 0; + } + +-static bool __devinit ad5755_is_voltage_mode(enum ad5755_mode mode) ++static bool ad5755_is_voltage_mode(enum ad5755_mode mode) + { + switch (mode) { + case AD5755_MODE_VOLTAGE_0V_5V: +@@ -516,8 +516,8 @@ static bool __devinit ad5755_is_voltage_ + } + } + +-static int __devinit ad5755_init_channels(struct iio_dev *indio_dev, +- const struct ad5755_platform_data *pdata) ++static int ad5755_init_channels(struct iio_dev *indio_dev, ++ const struct ad5755_platform_data *pdata) + { + struct ad5755_state *st = iio_priv(indio_dev); + struct iio_chan_spec *channels = st->channels; +@@ -562,7 +562,7 @@ static const struct ad5755_platform_data + }, + }; + +-static int __devinit ad5755_probe(struct spi_device *spi) ++static int ad5755_probe(struct spi_device *spi) + { + enum ad5755_type type = spi_get_device_id(spi)->driver_data; + const struct ad5755_platform_data *pdata = dev_get_platdata(&spi->dev); +@@ -614,7 +614,7 @@ error_free: + return ret; + } + +-static int __devexit ad5755_remove(struct spi_device *spi) ++static int ad5755_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + +@@ -640,7 +640,7 @@ static struct spi_driver ad5755_driver = + .owner = THIS_MODULE, + }, + .probe = ad5755_probe, +- .remove = __devexit_p(ad5755_remove), ++ .remove = ad5755_remove, + .id_table = ad5755_id, + }; + module_spi_driver(ad5755_driver); +--- a/drivers/iio/dac/ad5764.c ++++ b/drivers/iio/dac/ad5764.c +@@ -273,7 +273,7 @@ static const struct iio_info ad5764_info + .driver_module = THIS_MODULE, + }; + +-static int __devinit ad5764_probe(struct spi_device *spi) ++static int ad5764_probe(struct spi_device *spi) + { + enum ad5764_type type = spi_get_device_id(spi)->driver_data; + struct iio_dev *indio_dev; +@@ -340,7 +340,7 @@ error_free: + return ret; + } + +-static int __devexit ad5764_remove(struct spi_device *spi) ++static int ad5764_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad5764_state *st = iio_priv(indio_dev); +@@ -372,7 +372,7 @@ static struct spi_driver ad5764_driver = + .owner = THIS_MODULE, + }, + .probe = ad5764_probe, +- .remove = __devexit_p(ad5764_remove), ++ .remove = ad5764_remove, + .id_table = ad5764_ids, + }; + module_spi_driver(ad5764_driver); +--- a/drivers/iio/dac/ad5791.c ++++ b/drivers/iio/dac/ad5791.c +@@ -346,7 +346,7 @@ static const struct iio_info ad5791_info + .driver_module = THIS_MODULE, + }; + +-static int __devinit ad5791_probe(struct spi_device *spi) ++static int ad5791_probe(struct spi_device *spi) + { + struct ad5791_platform_data *pdata = spi->dev.platform_data; + struct iio_dev *indio_dev; +@@ -439,7 +439,7 @@ error_ret: + return ret; + } + +-static int __devexit ad5791_remove(struct spi_device *spi) ++static int ad5791_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad5791_state *st = iio_priv(indio_dev); +@@ -475,7 +475,7 @@ static struct spi_driver ad5791_driver = + .owner = THIS_MODULE, + }, + .probe = ad5791_probe, +- .remove = __devexit_p(ad5791_remove), ++ .remove = ad5791_remove, + .id_table = ad5791_id, + }; + module_spi_driver(ad5791_driver); +--- a/drivers/iio/dac/max517.c ++++ b/drivers/iio/dac/max517.c +@@ -156,7 +156,7 @@ static const struct iio_chan_spec max517 + MAX517_CHANNEL(1) + }; + +-static int __devinit max517_probe(struct i2c_client *client, ++static int max517_probe(struct i2c_client *client, + const struct i2c_device_id *id) + { + struct max517_data *data; +@@ -210,7 +210,7 @@ exit: + return err; + } + +-static int __devexit max517_remove(struct i2c_client *client) ++static int max517_remove(struct i2c_client *client) + { + iio_device_unregister(i2c_get_clientdata(client)); + iio_device_free(i2c_get_clientdata(client)); +@@ -232,7 +232,7 @@ static struct i2c_driver max517_driver = + .pm = MAX517_PM_OPS, + }, + .probe = max517_probe, +- .remove = __devexit_p(max517_remove), ++ .remove = max517_remove, + .id_table = max517_id, + }; + module_i2c_driver(max517_driver); +--- a/drivers/iio/dac/mcp4725.c ++++ b/drivers/iio/dac/mcp4725.c +@@ -141,8 +141,8 @@ static const struct iio_info mcp4725_inf + .driver_module = THIS_MODULE, + }; + +-static int __devinit mcp4725_probe(struct i2c_client *client, +- const struct i2c_device_id *id) ++static int mcp4725_probe(struct i2c_client *client, ++ const struct i2c_device_id *id) + { + struct mcp4725_data *data; + struct iio_dev *indio_dev; +@@ -195,7 +195,7 @@ exit: + return err; + } + +-static int __devexit mcp4725_remove(struct i2c_client *client) ++static int mcp4725_remove(struct i2c_client *client) + { + struct iio_dev *indio_dev = i2c_get_clientdata(client); + +@@ -217,7 +217,7 @@ static struct i2c_driver mcp4725_driver + .pm = MCP4725_PM_OPS, + }, + .probe = mcp4725_probe, +- .remove = __devexit_p(mcp4725_remove), ++ .remove = mcp4725_remove, + .id_table = mcp4725_id, + }; + module_i2c_driver(mcp4725_driver); +--- a/drivers/iio/frequency/ad9523.c ++++ b/drivers/iio/frequency/ad9523.c +@@ -959,7 +959,7 @@ static int ad9523_setup(struct iio_dev * + return 0; + } + +-static int __devinit ad9523_probe(struct spi_device *spi) ++static int ad9523_probe(struct spi_device *spi) + { + struct ad9523_platform_data *pdata = spi->dev.platform_data; + struct iio_dev *indio_dev; +@@ -1020,7 +1020,7 @@ error_put_reg: + return ret; + } + +-static int __devexit ad9523_remove(struct spi_device *spi) ++static int ad9523_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ad9523_state *st = iio_priv(indio_dev); +@@ -1049,7 +1049,7 @@ static struct spi_driver ad9523_driver = + .owner = THIS_MODULE, + }, + .probe = ad9523_probe, +- .remove = __devexit_p(ad9523_remove), ++ .remove = ad9523_remove, + .id_table = ad9523_id, + }; + module_spi_driver(ad9523_driver); +--- a/drivers/iio/frequency/adf4350.c ++++ b/drivers/iio/frequency/adf4350.c +@@ -355,7 +355,7 @@ static const struct iio_info adf4350_inf + .driver_module = THIS_MODULE, + }; + +-static int __devinit adf4350_probe(struct spi_device *spi) ++static int adf4350_probe(struct spi_device *spi) + { + struct adf4350_platform_data *pdata = spi->dev.platform_data; + struct iio_dev *indio_dev; +@@ -440,7 +440,7 @@ error_put_reg: + return ret; + } + +-static int __devexit adf4350_remove(struct spi_device *spi) ++static int adf4350_remove(struct spi_device *spi) + { + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct adf4350_state *st = iio_priv(indio_dev); +@@ -476,7 +476,7 @@ static struct spi_driver adf4350_driver + .owner = THIS_MODULE, + }, + .probe = adf4350_probe, +- .remove = __devexit_p(adf4350_remove), ++ .remove = adf4350_remove, + .id_table = adf4350_id, + }; + module_spi_driver(adf4350_driver); +--- a/drivers/iio/gyro/hid-sensor-gyro-3d.c ++++ b/drivers/iio/gyro/hid-sensor-gyro-3d.c +@@ -278,7 +278,7 @@ static int gyro_3d_parse_report(struct p + } + + /* Function to initialize the processing for usage id */ +-static int __devinit hid_gyro_3d_probe(struct platform_device *pdev) ++static int hid_gyro_3d_probe(struct platform_device *pdev) + { + int ret = 0; + static const char *name = "gyro_3d"; +@@ -375,7 +375,7 @@ error_ret: + } + + /* Function to deinitialize the processing for usage id */ +-static int __devinit hid_gyro_3d_remove(struct platform_device *pdev) ++static int hid_gyro_3d_remove(struct platform_device *pdev) + { + struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; + struct iio_dev *indio_dev = platform_get_drvdata(pdev); +--- a/drivers/iio/light/adjd_s311.c ++++ b/drivers/iio/light/adjd_s311.c +@@ -286,8 +286,8 @@ static const struct iio_info adjd_s311_i + .driver_module = THIS_MODULE, + }; + +-static int __devinit adjd_s311_probe(struct i2c_client *client, +- const struct i2c_device_id *id) ++static int adjd_s311_probe(struct i2c_client *client, ++ const struct i2c_device_id *id) + { + struct adjd_s311_data *data; + struct iio_dev *indio_dev; +@@ -330,7 +330,7 @@ exit: + return err; + } + +-static int __devexit adjd_s311_remove(struct i2c_client *client) ++static int adjd_s311_remove(struct i2c_client *client) + { + struct iio_dev *indio_dev = i2c_get_clientdata(client); + struct adjd_s311_data *data = iio_priv(indio_dev); +@@ -354,7 +354,7 @@ static struct i2c_driver adjd_s311_drive + .name = ADJD_S311_DRV_NAME, + }, + .probe = adjd_s311_probe, +- .remove = __devexit_p(adjd_s311_remove), ++ .remove = adjd_s311_remove, + .id_table = adjd_s311_id, + }; + module_i2c_driver(adjd_s311_driver); +--- a/drivers/iio/light/hid-sensor-als.c ++++ b/drivers/iio/light/hid-sensor-als.c +@@ -245,7 +245,7 @@ static int als_parse_report(struct platf + } + + /* Function to initialize the processing for usage id */ +-static int __devinit hid_als_probe(struct platform_device *pdev) ++static int hid_als_probe(struct platform_device *pdev) + { + int ret = 0; + static const char *name = "als"; +@@ -341,7 +341,7 @@ error_ret: + } + + /* Function to deinitialize the processing for usage id */ +-static int __devinit hid_als_remove(struct platform_device *pdev) ++static int hid_als_remove(struct platform_device *pdev) + { + struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; + struct iio_dev *indio_dev = platform_get_drvdata(pdev); +--- a/drivers/iio/light/lm3533-als.c ++++ b/drivers/iio/light/lm3533-als.c +@@ -718,8 +718,7 @@ static struct attribute_group lm3533_als + .attrs = lm3533_als_attributes + }; + +-static int __devinit lm3533_als_set_input_mode(struct lm3533_als *als, +- bool pwm_mode) ++static int lm3533_als_set_input_mode(struct lm3533_als *als, bool pwm_mode) + { + u8 mask = LM3533_ALS_INPUT_MODE_MASK; + u8 val; +@@ -740,7 +739,7 @@ static int __devinit lm3533_als_set_inpu + return 0; + } + +-static int __devinit lm3533_als_set_resistor(struct lm3533_als *als, u8 val) ++static int lm3533_als_set_resistor(struct lm3533_als *als, u8 val) + { + int ret; + +@@ -756,8 +755,8 @@ static int __devinit lm3533_als_set_resi + return 0; + } + +-static int __devinit lm3533_als_setup(struct lm3533_als *als, +- struct lm3533_als_platform_data *pdata) ++static int lm3533_als_setup(struct lm3533_als *als, ++ struct lm3533_als_platform_data *pdata) + { + int ret; + +@@ -775,7 +774,7 @@ static int __devinit lm3533_als_setup(st + return 0; + } + +-static int __devinit lm3533_als_setup_irq(struct lm3533_als *als, void *dev) ++static int lm3533_als_setup_irq(struct lm3533_als *als, void *dev) + { + u8 mask = LM3533_ALS_INT_ENABLE_MASK; + int ret; +@@ -799,7 +798,7 @@ static int __devinit lm3533_als_setup_ir + return 0; + } + +-static int __devinit lm3533_als_enable(struct lm3533_als *als) ++static int lm3533_als_enable(struct lm3533_als *als) + { + u8 mask = LM3533_ALS_ENABLE_MASK; + int ret; +@@ -830,7 +829,7 @@ static const struct iio_info lm3533_als_ + .read_raw = &lm3533_als_read_raw, + }; + +-static int __devinit lm3533_als_probe(struct platform_device *pdev) ++static int lm3533_als_probe(struct platform_device *pdev) + { + struct lm3533 *lm3533; + struct lm3533_als_platform_data *pdata; +@@ -901,7 +900,7 @@ err_free_dev: + return ret; + } + +-static int __devexit lm3533_als_remove(struct platform_device *pdev) ++static int lm3533_als_remove(struct platform_device *pdev) + { + struct iio_dev *indio_dev = platform_get_drvdata(pdev); + struct lm3533_als *als = iio_priv(indio_dev); +@@ -922,7 +921,7 @@ static struct platform_driver lm3533_als + .owner = THIS_MODULE, + }, + .probe = lm3533_als_probe, +- .remove = __devexit_p(lm3533_als_remove), ++ .remove = lm3533_als_remove, + }; + module_platform_driver(lm3533_als_driver); + +--- a/drivers/iio/light/vcnl4000.c ++++ b/drivers/iio/light/vcnl4000.c +@@ -150,8 +150,8 @@ static const struct iio_info vcnl4000_in + .driver_module = THIS_MODULE, + }; + +-static int __devinit vcnl4000_probe(struct i2c_client *client, +- const struct i2c_device_id *id) ++static int vcnl4000_probe(struct i2c_client *client, ++ const struct i2c_device_id *id) + { + struct vcnl4000_data *data; + struct iio_dev *indio_dev; +@@ -190,7 +190,7 @@ error_free_dev: + return ret; + } + +-static int __devexit vcnl4000_remove(struct i2c_client *client) ++static int vcnl4000_remove(struct i2c_client *client) + { + struct iio_dev *indio_dev = i2c_get_clientdata(client); + +@@ -206,7 +206,7 @@ static struct i2c_driver vcnl4000_driver + .owner = THIS_MODULE, + }, + .probe = vcnl4000_probe, +- .remove = __devexit_p(vcnl4000_remove), ++ .remove = vcnl4000_remove, + .id_table = vcnl4000_id, + }; + +--- a/drivers/iio/magnetometer/hid-sensor-magn-3d.c ++++ b/drivers/iio/magnetometer/hid-sensor-magn-3d.c +@@ -279,7 +279,7 @@ static int magn_3d_parse_report(struct p + } + + /* Function to initialize the processing for usage id */ +-static int __devinit hid_magn_3d_probe(struct platform_device *pdev) ++static int hid_magn_3d_probe(struct platform_device *pdev) + { + int ret = 0; + static char *name = "magn_3d"; +@@ -376,7 +376,7 @@ error_ret: + } + + /* Function to deinitialize the processing for usage id */ +-static int __devinit hid_magn_3d_remove(struct platform_device *pdev) ++static int hid_magn_3d_remove(struct platform_device *pdev) + { + struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; + struct iio_dev *indio_dev = platform_get_drvdata(pdev); +--- a/drivers/memory/tegra20-mc.c ++++ b/drivers/memory/tegra20-mc.c +@@ -177,7 +177,7 @@ static void tegra20_mc_decode(struct teg + "carveout" : "trustzone") : ""); + } + +-static const struct of_device_id tegra20_mc_of_match[] __devinitconst = { ++static const struct of_device_id tegra20_mc_of_match[] = { + { .compatible = "nvidia,tegra20-mc", }, + {}, + }; +@@ -198,7 +198,7 @@ static irqreturn_t tegra20_mc_isr(int ir + return IRQ_HANDLED; + } + +-static int __devinit tegra20_mc_probe(struct platform_device *pdev) ++static int tegra20_mc_probe(struct platform_device *pdev) + { + struct resource *irq; + struct tegra20_mc *mc; +--- a/drivers/memory/tegra30-mc.c ++++ b/drivers/memory/tegra30-mc.c +@@ -295,7 +295,7 @@ static UNIVERSAL_DEV_PM_OPS(tegra30_mc_p + tegra30_mc_suspend, + tegra30_mc_resume, NULL); + +-static const struct of_device_id tegra30_mc_of_match[] __devinitconst = { ++static const struct of_device_id tegra30_mc_of_match[] = { + { .compatible = "nvidia,tegra30-mc", }, + {}, + }; +@@ -316,7 +316,7 @@ static irqreturn_t tegra30_mc_isr(int ir + return IRQ_HANDLED; + } + +-static int __devinit tegra30_mc_probe(struct platform_device *pdev) ++static int tegra30_mc_probe(struct platform_device *pdev) + { + struct resource *irq; + struct tegra30_mc *mc; +--- a/drivers/scsi/a100u2w.c ++++ b/drivers/scsi/a100u2w.c +@@ -1082,8 +1082,8 @@ static struct scsi_host_template inia100 + .use_clustering = ENABLE_CLUSTERING, + }; + +-static int __devinit inia100_probe_one(struct pci_dev *pdev, +- const struct pci_device_id *id) ++static int inia100_probe_one(struct pci_dev *pdev, ++ const struct pci_device_id *id) + { + struct Scsi_Host *shost; + struct orc_host *host; +@@ -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; +@@ -1224,7 +1224,7 @@ static struct pci_driver inia100_pci_dri + .name = "inia100", + .id_table = inia100_pci_tbl, + .probe = inia100_probe_one, +- .remove = __devexit_p(inia100_remove_one), ++ .remove = inia100_remove_one, + }; + + static int __init inia100_init(void) +--- a/drivers/scsi/aacraid/linit.c ++++ b/drivers/scsi/aacraid/linit.c +@@ -88,13 +88,7 @@ char aac_driver_version[] = AAC_DRIVER_F + * + * Note: The last field is used to index into aac_drivers below. + */ +-#ifdef DECLARE_PCI_DEVICE_TABLE +-static DECLARE_PCI_DEVICE_TABLE(aac_pci_tbl) = { +-#elif defined(__devinitconst) +-static const struct pci_device_id aac_pci_tbl[] __devinitconst = { +-#else +-static const struct pci_device_id aac_pci_tbl[] __devinitconst = { +-#endif ++static const struct pci_device_id aac_pci_tbl[] = { + { 0x1028, 0x0001, 0x1028, 0x0001, 0, 0, 0 }, /* PERC 2/Si (Iguana/PERC2Si) */ + { 0x1028, 0x0002, 0x1028, 0x0002, 0, 0, 1 }, /* PERC 3/Di (Opal/PERC3Di) */ + { 0x1028, 0x0003, 0x1028, 0x0003, 0, 0, 2 }, /* PERC 3/Si (SlimFast/PERC3Si */ +@@ -1107,8 +1101,7 @@ static void __aac_shutdown(struct aac_de + pci_disable_msi(aac->pdev); + } + +-static int __devinit aac_probe_one(struct pci_dev *pdev, +- const struct pci_device_id *id) ++static int aac_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) + { + unsigned index = id->driver_data; + struct Scsi_Host *shost; +@@ -1310,7 +1303,7 @@ static void aac_shutdown(struct pci_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; +@@ -1341,7 +1334,7 @@ static struct pci_driver aac_pci_driver + .name = AAC_DRIVERNAME, + .id_table = aac_pci_tbl, + .probe = aac_probe_one, +- .remove = __devexit_p(aac_remove_one), ++ .remove = aac_remove_one, + .shutdown = aac_shutdown, + }; + +--- a/drivers/scsi/aic94xx/aic94xx_init.c ++++ b/drivers/scsi/aic94xx/aic94xx_init.c +@@ -85,7 +85,7 @@ static struct scsi_host_template aic94xx + .ioctl = sas_ioctl, + }; + +-static int __devinit asd_map_memio(struct asd_ha_struct *asd_ha) ++static int asd_map_memio(struct asd_ha_struct *asd_ha) + { + int err, i; + struct asd_ha_addrspace *io_handle; +@@ -146,7 +146,7 @@ static void asd_unmap_memio(struct asd_h + pci_release_region(asd_ha->pcidev, 0); + } + +-static int __devinit asd_map_ioport(struct asd_ha_struct *asd_ha) ++static int asd_map_ioport(struct asd_ha_struct *asd_ha) + { + int i = PCI_IOBAR_OFFSET, err; + struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[0]; +@@ -175,7 +175,7 @@ static void asd_unmap_ioport(struct asd_ + pci_release_region(asd_ha->pcidev, PCI_IOBAR_OFFSET); + } + +-static int __devinit asd_map_ha(struct asd_ha_struct *asd_ha) ++static int asd_map_ha(struct asd_ha_struct *asd_ha) + { + int err; + u16 cmd_reg; +@@ -221,7 +221,7 @@ static const char *asd_dev_rev[30] = { + [8] = "B0", + }; + +-static int __devinit asd_common_setup(struct asd_ha_struct *asd_ha) ++static int asd_common_setup(struct asd_ha_struct *asd_ha) + { + int err, i; + +@@ -257,7 +257,7 @@ Err: + return err; + } + +-static int __devinit asd_aic9410_setup(struct asd_ha_struct *asd_ha) ++static int asd_aic9410_setup(struct asd_ha_struct *asd_ha) + { + int err = asd_common_setup(asd_ha); + +@@ -272,7 +272,7 @@ static int __devinit asd_aic9410_setup(s + return 0; + } + +-static int __devinit asd_aic9405_setup(struct asd_ha_struct *asd_ha) ++static int asd_aic9405_setup(struct asd_ha_struct *asd_ha) + { + int err = asd_common_setup(asd_ha); + +@@ -531,7 +531,7 @@ static void asd_remove_dev_attrs(struct + static const struct asd_pcidev_struct { + const char * name; + int (*setup)(struct asd_ha_struct *asd_ha); +-} asd_pcidev_data[] __devinitconst = { ++} asd_pcidev_data[] = { + /* Id 0 is used for dynamic ids. */ + { .name = "Adaptec AIC-94xx SAS/SATA Host Adapter", + .setup = asd_aic9410_setup +@@ -731,8 +731,7 @@ static int asd_unregister_sas_ha(struct + return err; + } + +-static int __devinit asd_pci_probe(struct pci_dev *dev, +- const struct pci_device_id *id) ++static int asd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) + { + const struct asd_pcidev_struct *asd_dev; + unsigned asd_id = (unsigned) id->driver_data; +@@ -924,7 +923,7 @@ static void asd_turn_off_leds(struct asd + } + } + +-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); + +@@ -1012,7 +1011,7 @@ static struct sas_domain_function_templa + .lldd_ata_set_dmamode = asd_set_dmamode, + }; + +-static const struct pci_device_id aic94xx_pci_table[] __devinitconst = { ++static const struct pci_device_id aic94xx_pci_table[] = { + {PCI_DEVICE(PCI_VENDOR_ID_ADAPTEC2, 0x410),0, 0, 1}, + {PCI_DEVICE(PCI_VENDOR_ID_ADAPTEC2, 0x412),0, 0, 1}, + {PCI_DEVICE(PCI_VENDOR_ID_ADAPTEC2, 0x416),0, 0, 1}, +@@ -1031,7 +1030,7 @@ static struct pci_driver aic94xx_pci_dri + .name = ASD_DRIVER_NAME, + .id_table = aic94xx_pci_table, + .probe = asd_pci_probe, +- .remove = __devexit_p(asd_pci_remove), ++ .remove = asd_pci_remove, + }; + + static int __init aic94xx_init(void) +--- a/drivers/scsi/arm/cumana_2.c ++++ b/drivers/scsi/arm/cumana_2.c +@@ -397,8 +397,8 @@ static struct scsi_host_template cumanas + .proc_name = "cumanascsi2", + }; + +-static int __devinit +-cumanascsi2_probe(struct expansion_card *ec, const struct ecard_id *id) ++static int cumanascsi2_probe(struct expansion_card *ec, ++ const struct ecard_id *id) + { + struct Scsi_Host *host; + struct cumanascsi2_info *info; +@@ -495,7 +495,7 @@ cumanascsi2_probe(struct expansion_card + 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; +@@ -519,7 +519,7 @@ static const struct ecard_id cumanascsi2 + + static struct ecard_driver cumanascsi2_driver = { + .probe = cumanascsi2_probe, +- .remove = __devexit_p(cumanascsi2_remove), ++ .remove = cumanascsi2_remove, + .id_table = cumanascsi2_cids, + .drv = { + .name = "cumanascsi2", |
