Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Acked-by: David Brown <davidb@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Bill Pemberton and committed by
Greg Kroah-Hartman
4740f73f a73e5df1

+70 -70
+1 -1
drivers/mfd/88pm800.c
··· 554 554 return ret; 555 555 } 556 556 557 - static int __devexit pm800_remove(struct i2c_client *client) 557 + static int pm800_remove(struct i2c_client *client) 558 558 { 559 559 struct pm80x_chip *chip = i2c_get_clientdata(client); 560 560
+1 -1
drivers/mfd/88pm805.c
··· 262 262 return ret; 263 263 } 264 264 265 - static int __devexit pm805_remove(struct i2c_client *client) 265 + static int pm805_remove(struct i2c_client *client) 266 266 { 267 267 struct pm80x_chip *chip = i2c_get_clientdata(client); 268 268
+2 -2
drivers/mfd/88pm860x-core.c
··· 1077 1077 return 0; 1078 1078 } 1079 1079 1080 - static void __devexit pm860x_device_exit(struct pm860x_chip *chip) 1080 + static void pm860x_device_exit(struct pm860x_chip *chip) 1081 1081 { 1082 1082 device_irq_exit(chip); 1083 1083 mfd_remove_devices(chip->dev); ··· 1200 1200 return ret; 1201 1201 } 1202 1202 1203 - static int __devexit pm860x_remove(struct i2c_client *client) 1203 + static int pm860x_remove(struct i2c_client *client) 1204 1204 { 1205 1205 struct pm860x_chip *chip = i2c_get_clientdata(client); 1206 1206
+1 -1
drivers/mfd/ab3100-core.c
··· 961 961 return err; 962 962 } 963 963 964 - static int __devexit ab3100_remove(struct i2c_client *client) 964 + static int ab3100_remove(struct i2c_client *client) 965 965 { 966 966 struct ab3100 *ab3100 = i2c_get_clientdata(client); 967 967
+1 -1
drivers/mfd/ab8500-core.c
··· 1473 1473 return ret; 1474 1474 } 1475 1475 1476 - static int __devexit ab8500_remove(struct platform_device *pdev) 1476 + static int ab8500_remove(struct platform_device *pdev) 1477 1477 { 1478 1478 struct ab8500 *ab8500 = platform_get_drvdata(pdev); 1479 1479
+1 -1
drivers/mfd/ab8500-debugfs.c
··· 597 597 return -ENOMEM; 598 598 } 599 599 600 - static int __devexit ab8500_debug_remove(struct platform_device *plf) 600 + static int ab8500_debug_remove(struct platform_device *plf) 601 601 { 602 602 debugfs_remove(ab8500_val_file); 603 603 debugfs_remove(ab8500_address_file);
+1 -1
drivers/mfd/ab8500-gpadc.c
··· 634 634 return ret; 635 635 } 636 636 637 - static int __devexit ab8500_gpadc_remove(struct platform_device *pdev) 637 + static int ab8500_gpadc_remove(struct platform_device *pdev) 638 638 { 639 639 struct ab8500_gpadc *gpadc = platform_get_drvdata(pdev); 640 640
+1 -1
drivers/mfd/ab8500-sysctrl.c
··· 55 55 return 0; 56 56 } 57 57 58 - static int __devexit ab8500_sysctrl_remove(struct platform_device *pdev) 58 + static int ab8500_sysctrl_remove(struct platform_device *pdev) 59 59 { 60 60 sysctrl_dev = NULL; 61 61 return 0;
+1 -1
drivers/mfd/adp5520.c
··· 307 307 return ret; 308 308 } 309 309 310 - static int __devexit adp5520_remove(struct i2c_client *client) 310 + static int adp5520_remove(struct i2c_client *client) 311 311 { 312 312 struct adp5520_chip *chip = dev_get_drvdata(&client->dev); 313 313
+1 -1
drivers/mfd/arizona-core.c
··· 553 553 } 554 554 EXPORT_SYMBOL_GPL(arizona_dev_init); 555 555 556 - int __devexit arizona_dev_exit(struct arizona *arizona) 556 + int arizona_dev_exit(struct arizona *arizona) 557 557 { 558 558 mfd_remove_devices(arizona->dev); 559 559 arizona_free_irq(arizona, ARIZONA_IRQ_UNDERCLOCKED, arizona);
+1 -1
drivers/mfd/arizona-i2c.c
··· 65 65 return arizona_dev_init(arizona); 66 66 } 67 67 68 - static int __devexit arizona_i2c_remove(struct i2c_client *i2c) 68 + static int arizona_i2c_remove(struct i2c_client *i2c) 69 69 { 70 70 struct arizona *arizona = dev_get_drvdata(&i2c->dev); 71 71 arizona_dev_exit(arizona);
+1 -1
drivers/mfd/arizona-spi.c
··· 65 65 return arizona_dev_init(arizona); 66 66 } 67 67 68 - static int __devexit arizona_spi_remove(struct spi_device *spi) 68 + static int arizona_spi_remove(struct spi_device *spi) 69 69 { 70 70 struct arizona *arizona = dev_get_drvdata(&spi->dev); 71 71 arizona_dev_exit(arizona);
+1 -1
drivers/mfd/asic3.c
··· 1039 1039 return ret; 1040 1040 } 1041 1041 1042 - static int __devexit asic3_remove(struct platform_device *pdev) 1042 + static int asic3_remove(struct platform_device *pdev) 1043 1043 { 1044 1044 int ret; 1045 1045 struct asic3 *asic = platform_get_drvdata(pdev);
+1 -1
drivers/mfd/cs5535-mfd.c
··· 166 166 return err; 167 167 } 168 168 169 - static void __devexit cs5535_mfd_remove(struct pci_dev *pdev) 169 + static void cs5535_mfd_remove(struct pci_dev *pdev) 170 170 { 171 171 mfd_remove_devices(&pdev->dev); 172 172 pci_disable_device(pdev);
+1 -1
drivers/mfd/da903x.c
··· 544 544 return ret; 545 545 } 546 546 547 - static int __devexit da903x_remove(struct i2c_client *client) 547 + static int da903x_remove(struct i2c_client *client) 548 548 { 549 549 struct da903x_chip *chip = i2c_get_clientdata(client); 550 550
+1 -1
drivers/mfd/da9052-i2c.c
··· 121 121 return 0; 122 122 } 123 123 124 - static int __devexit da9052_i2c_remove(struct i2c_client *client) 124 + static int da9052_i2c_remove(struct i2c_client *client) 125 125 { 126 126 struct da9052 *da9052 = i2c_get_clientdata(client); 127 127
+1 -1
drivers/mfd/da9052-spi.c
··· 58 58 return 0; 59 59 } 60 60 61 - static int __devexit da9052_spi_remove(struct spi_device *spi) 61 + static int da9052_spi_remove(struct spi_device *spi) 62 62 { 63 63 struct da9052 *da9052 = dev_get_drvdata(&spi->dev); 64 64
+1 -1
drivers/mfd/da9055-core.c
··· 412 412 return ret; 413 413 } 414 414 415 - void __devexit da9055_device_exit(struct da9055 *da9055) 415 + void da9055_device_exit(struct da9055 *da9055) 416 416 { 417 417 regmap_del_irq_chip(da9055->chip_irq, da9055->irq_data); 418 418 mfd_remove_devices(da9055->dev);
+1 -1
drivers/mfd/da9055-i2c.c
··· 44 44 return da9055_device_init(da9055); 45 45 } 46 46 47 - static int __devexit da9055_i2c_remove(struct i2c_client *i2c) 47 + static int da9055_i2c_remove(struct i2c_client *i2c) 48 48 { 49 49 struct da9055 *da9055 = i2c_get_clientdata(i2c); 50 50
+1 -1
drivers/mfd/davinci_voicecodec.c
··· 151 151 return ret; 152 152 } 153 153 154 - static int __devexit davinci_vc_remove(struct platform_device *pdev) 154 + static int davinci_vc_remove(struct platform_device *pdev) 155 155 { 156 156 struct davinci_vc *davinci_vc = platform_get_drvdata(pdev); 157 157
+1 -1
drivers/mfd/ezx-pcap.c
··· 391 391 return ret; 392 392 } 393 393 394 - static int __devexit ezx_pcap_remove(struct spi_device *spi) 394 + static int ezx_pcap_remove(struct spi_device *spi) 395 395 { 396 396 struct pcap_chip *pcap = dev_get_drvdata(&spi->dev); 397 397 struct pcap_platform_data *pdata = spi->dev.platform_data;
+2 -2
drivers/mfd/intel_msic.c
··· 364 364 return ret; 365 365 } 366 366 367 - static void __devexit intel_msic_remove_devices(struct intel_msic *msic) 367 + static void intel_msic_remove_devices(struct intel_msic *msic) 368 368 { 369 369 struct platform_device *pdev = msic->pdev; 370 370 struct intel_msic_platform_data *pdata = pdev->dev.platform_data; ··· 445 445 return 0; 446 446 } 447 447 448 - static int __devexit intel_msic_remove(struct platform_device *pdev) 448 + static int intel_msic_remove(struct platform_device *pdev) 449 449 { 450 450 struct intel_msic *msic = platform_get_drvdata(pdev); 451 451
+1 -1
drivers/mfd/janz-cmodio.c
··· 254 254 return ret; 255 255 } 256 256 257 - static void __devexit cmodio_pci_remove(struct pci_dev *dev) 257 + static void cmodio_pci_remove(struct pci_dev *dev) 258 258 { 259 259 struct cmodio_device *priv = pci_get_drvdata(dev); 260 260
+1 -1
drivers/mfd/jz4740-adc.c
··· 307 307 return ret; 308 308 } 309 309 310 - static int __devexit jz4740_adc_remove(struct platform_device *pdev) 310 + static int jz4740_adc_remove(struct platform_device *pdev) 311 311 { 312 312 struct jz4740_adc *adc = platform_get_drvdata(pdev); 313 313
+2 -2
drivers/mfd/lm3533-core.c
··· 534 534 return ret; 535 535 } 536 536 537 - static void __devexit lm3533_device_exit(struct lm3533 *lm3533) 537 + static void lm3533_device_exit(struct lm3533 *lm3533) 538 538 { 539 539 dev_dbg(lm3533->dev, "%s\n", __func__); 540 540 ··· 624 624 return 0; 625 625 } 626 626 627 - static int __devexit lm3533_i2c_remove(struct i2c_client *i2c) 627 + static int lm3533_i2c_remove(struct i2c_client *i2c) 628 628 { 629 629 struct lm3533 *lm3533 = i2c_get_clientdata(i2c); 630 630
+1 -1
drivers/mfd/lp8788.c
··· 203 203 ARRAY_SIZE(lp8788_devs), NULL, 0, NULL); 204 204 } 205 205 206 - static int __devexit lp8788_remove(struct i2c_client *cl) 206 + static int lp8788_remove(struct i2c_client *cl) 207 207 { 208 208 struct lp8788 *lp = i2c_get_clientdata(cl); 209 209
+1 -1
drivers/mfd/lpc_ich.c
··· 878 878 return 0; 879 879 } 880 880 881 - static void __devexit lpc_ich_remove(struct pci_dev *dev) 881 + static void lpc_ich_remove(struct pci_dev *dev) 882 882 { 883 883 mfd_remove_devices(&dev->dev); 884 884 lpc_ich_restore_config_space(dev);
+1 -1
drivers/mfd/lpc_sch.c
··· 164 164 return ret; 165 165 } 166 166 167 - static void __devexit lpc_sch_remove(struct pci_dev *dev) 167 + static void lpc_sch_remove(struct pci_dev *dev) 168 168 { 169 169 mfd_remove_devices(&dev->dev); 170 170 }
+1 -1
drivers/mfd/max8907.c
··· 288 288 return ret; 289 289 } 290 290 291 - static __devexit int max8907_i2c_remove(struct i2c_client *i2c) 291 + static int max8907_i2c_remove(struct i2c_client *i2c) 292 292 { 293 293 struct max8907 *max8907 = i2c_get_clientdata(i2c); 294 294
+1 -1
drivers/mfd/max8925-core.c
··· 901 901 return ret; 902 902 } 903 903 904 - void __devexit max8925_device_exit(struct max8925_chip *chip) 904 + void max8925_device_exit(struct max8925_chip *chip) 905 905 { 906 906 if (chip->core_irq) 907 907 free_irq(chip->core_irq, chip);
+1 -1
drivers/mfd/max8925-i2c.c
··· 168 168 return 0; 169 169 } 170 170 171 - static int __devexit max8925_remove(struct i2c_client *client) 171 + static int max8925_remove(struct i2c_client *client) 172 172 { 173 173 struct max8925_chip *chip = i2c_get_clientdata(client); 174 174
+1 -1
drivers/mfd/mc13xxx-i2c.c
··· 85 85 return ret; 86 86 } 87 87 88 - static int __devexit mc13xxx_i2c_remove(struct i2c_client *client) 88 + static int mc13xxx_i2c_remove(struct i2c_client *client) 89 89 { 90 90 struct mc13xxx *mc13xxx = dev_get_drvdata(&client->dev); 91 91
+1 -1
drivers/mfd/mc13xxx-spi.c
··· 159 159 return ret; 160 160 } 161 161 162 - static int __devexit mc13xxx_spi_remove(struct spi_device *spi) 162 + static int mc13xxx_spi_remove(struct spi_device *spi) 163 163 { 164 164 struct mc13xxx *mc13xxx = dev_get_drvdata(&spi->dev); 165 165
+1 -1
drivers/mfd/omap-usb-host.c
··· 652 652 * 653 653 * Reverses the effect of usbhs_omap_probe(). 654 654 */ 655 - static int __devexit usbhs_omap_remove(struct platform_device *pdev) 655 + static int usbhs_omap_remove(struct platform_device *pdev) 656 656 { 657 657 struct usbhs_hcd_omap *omap = platform_get_drvdata(pdev); 658 658
+1 -1
drivers/mfd/omap-usb-tll.c
··· 348 348 * 349 349 * Reverses the effect of usbtll_omap_probe(). 350 350 */ 351 - static int __devexit usbtll_omap_remove(struct platform_device *pdev) 351 + static int usbtll_omap_remove(struct platform_device *pdev) 352 352 { 353 353 struct usbtll_omap *tll = platform_get_drvdata(pdev); 354 354
+1 -1
drivers/mfd/pcf50633-adc.c
··· 218 218 return 0; 219 219 } 220 220 221 - static int __devexit pcf50633_adc_remove(struct platform_device *pdev) 221 + static int pcf50633_adc_remove(struct platform_device *pdev) 222 222 { 223 223 struct pcf50633_adc *adc = platform_get_drvdata(pdev); 224 224 int i, head;
+1 -1
drivers/mfd/pcf50633-core.c
··· 275 275 return 0; 276 276 } 277 277 278 - static int __devexit pcf50633_remove(struct i2c_client *client) 278 + static int pcf50633_remove(struct i2c_client *client) 279 279 { 280 280 struct pcf50633 *pcf = i2c_get_clientdata(client); 281 281 int i;
+1 -1
drivers/mfd/pm8921-core.c
··· 165 165 return rc; 166 166 } 167 167 168 - static int __devexit pm8921_remove(struct platform_device *pdev) 168 + static int pm8921_remove(struct platform_device *pdev) 169 169 { 170 170 struct pm8xxx_drvdata *drvdata; 171 171 struct pm8921 *pmic = NULL;
+1 -1
drivers/mfd/pm8xxx-irq.c
··· 363 363 return chip; 364 364 } 365 365 366 - int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip) 366 + int pm8xxx_irq_exit(struct pm_irq_chip *chip) 367 367 { 368 368 irq_set_chained_handler(chip->devirq, NULL); 369 369 kfree(chip);
+1 -1
drivers/mfd/rc5t583.c
··· 303 303 return ret; 304 304 } 305 305 306 - static int __devexit rc5t583_i2c_remove(struct i2c_client *i2c) 306 + static int rc5t583_i2c_remove(struct i2c_client *i2c) 307 307 { 308 308 struct rc5t583 *rc5t583 = i2c_get_clientdata(i2c); 309 309
+1 -1
drivers/mfd/rdc321x-southbridge.c
··· 91 91 NULL, 0, NULL); 92 92 } 93 93 94 - static void __devexit rdc321x_sb_remove(struct pci_dev *pdev) 94 + static void rdc321x_sb_remove(struct pci_dev *pdev) 95 95 { 96 96 mfd_remove_devices(&pdev->dev); 97 97 }
+1 -1
drivers/mfd/sm501.c
··· 1685 1685 sm501_gpio_remove(sm); 1686 1686 } 1687 1687 1688 - static void __devexit sm501_pci_remove(struct pci_dev *dev) 1688 + static void sm501_pci_remove(struct pci_dev *dev) 1689 1689 { 1690 1690 struct sm501_devdata *sm = pci_get_drvdata(dev); 1691 1691
+1 -1
drivers/mfd/sta2x11-mfd.c
··· 89 89 return 0; 90 90 } 91 91 92 - static int __devexit mfd_remove(struct pci_dev *pdev) 92 + static int mfd_remove(struct pci_dev *pdev) 93 93 { 94 94 struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev); 95 95
+1 -1
drivers/mfd/stmpe-i2c.c
··· 63 63 return stmpe_probe(&i2c_ci, id->driver_data); 64 64 } 65 65 66 - static int __devexit stmpe_i2c_remove(struct i2c_client *i2c) 66 + static int stmpe_i2c_remove(struct i2c_client *i2c) 67 67 { 68 68 struct stmpe *stmpe = dev_get_drvdata(&i2c->dev); 69 69
+1 -1
drivers/mfd/stmpe-spi.c
··· 101 101 return stmpe_probe(&spi_ci, id->driver_data); 102 102 } 103 103 104 - static int __devexit stmpe_spi_remove(struct spi_device *spi) 104 + static int stmpe_spi_remove(struct spi_device *spi) 105 105 { 106 106 struct stmpe *stmpe = dev_get_drvdata(&spi->dev); 107 107
+1 -1
drivers/mfd/syscon.c
··· 138 138 return 0; 139 139 } 140 140 141 - static int __devexit syscon_remove(struct platform_device *pdev) 141 + static int syscon_remove(struct platform_device *pdev) 142 142 { 143 143 struct syscon *syscon; 144 144
+1 -1
drivers/mfd/tc3589x.c
··· 402 402 return ret; 403 403 } 404 404 405 - static int __devexit tc3589x_remove(struct i2c_client *client) 405 + static int tc3589x_remove(struct i2c_client *client) 406 406 { 407 407 struct tc3589x *tc3589x = i2c_get_clientdata(client); 408 408
+1 -1
drivers/mfd/tc6387xb.c
··· 208 208 return ret; 209 209 } 210 210 211 - static int __devexit tc6387xb_remove(struct platform_device *dev) 211 + static int tc6387xb_remove(struct platform_device *dev) 212 212 { 213 213 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); 214 214
+1 -1
drivers/mfd/tc6393xb.c
··· 731 731 return ret; 732 732 } 733 733 734 - static int __devexit tc6393xb_remove(struct platform_device *dev) 734 + static int tc6393xb_remove(struct platform_device *dev) 735 735 { 736 736 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; 737 737 struct tc6393xb *tc6393xb = platform_get_drvdata(dev);
+1 -1
drivers/mfd/ti-ssp.c
··· 433 433 return error; 434 434 } 435 435 436 - static int __devexit ti_ssp_remove(struct platform_device *pdev) 436 + static int ti_ssp_remove(struct platform_device *pdev) 437 437 { 438 438 struct device *dev = &pdev->dev; 439 439 struct ti_ssp *ssp = dev_get_drvdata(dev);
+1 -1
drivers/mfd/timberdale.c
··· 840 840 return -ENODEV; 841 841 } 842 842 843 - static void __devexit timb_remove(struct pci_dev *dev) 843 + static void timb_remove(struct pci_dev *dev) 844 844 { 845 845 struct timberdale_device *priv = pci_get_drvdata(dev); 846 846
+1 -1
drivers/mfd/tps6105x.c
··· 199 199 return ret; 200 200 } 201 201 202 - static int __devexit tps6105x_remove(struct i2c_client *client) 202 + static int tps6105x_remove(struct i2c_client *client) 203 203 { 204 204 struct tps6105x *tps6105x = i2c_get_clientdata(client); 205 205
+1 -1
drivers/mfd/tps65090.c
··· 308 308 return ret; 309 309 } 310 310 311 - static int __devexit tps65090_i2c_remove(struct i2c_client *client) 311 + static int tps65090_i2c_remove(struct i2c_client *client) 312 312 { 313 313 struct tps65090 *tps65090 = i2c_get_clientdata(client); 314 314
+1 -1
drivers/mfd/tps65217.c
··· 214 214 return 0; 215 215 } 216 216 217 - static int __devexit tps65217_remove(struct i2c_client *client) 217 + static int tps65217_remove(struct i2c_client *client) 218 218 { 219 219 struct tps65217 *tps = i2c_get_clientdata(client); 220 220
+1 -1
drivers/mfd/tps6586x.c
··· 548 548 return ret; 549 549 } 550 550 551 - static int __devexit tps6586x_i2c_remove(struct i2c_client *client) 551 + static int tps6586x_i2c_remove(struct i2c_client *client) 552 552 { 553 553 struct tps6586x *tps6586x = i2c_get_clientdata(client); 554 554
+1 -1
drivers/mfd/tps65910.c
··· 302 302 return ret; 303 303 } 304 304 305 - static __devexit int tps65910_i2c_remove(struct i2c_client *i2c) 305 + static int tps65910_i2c_remove(struct i2c_client *i2c) 306 306 { 307 307 struct tps65910 *tps65910 = i2c_get_clientdata(i2c); 308 308
+1 -1
drivers/mfd/tps65911-comparator.c
··· 152 152 return ret; 153 153 } 154 154 155 - static __devexit int tps65911_comparator_remove(struct platform_device *pdev) 155 + static int tps65911_comparator_remove(struct platform_device *pdev) 156 156 { 157 157 struct tps65910 *tps65910; 158 158
+1 -1
drivers/mfd/tps65912-spi.c
··· 99 99 return tps65912_device_init(tps65912); 100 100 } 101 101 102 - static int __devexit tps65912_spi_remove(struct spi_device *spi) 102 + static int tps65912_spi_remove(struct spi_device *spi) 103 103 { 104 104 struct tps65912 *tps65912 = spi_get_drvdata(spi); 105 105
+1 -1
drivers/mfd/twl4030-audio.c
··· 269 269 return ret; 270 270 } 271 271 272 - static int __devexit twl4030_audio_remove(struct platform_device *pdev) 272 + static int twl4030_audio_remove(struct platform_device *pdev) 273 273 { 274 274 mfd_remove_devices(&pdev->dev); 275 275 platform_set_drvdata(pdev, NULL);
+1 -1
drivers/mfd/twl4030-madc.c
··· 785 785 return ret; 786 786 } 787 787 788 - static int __devexit twl4030_madc_remove(struct platform_device *pdev) 788 + static int twl4030_madc_remove(struct platform_device *pdev) 789 789 { 790 790 struct twl4030_madc_data *madc = platform_get_drvdata(pdev); 791 791
+1 -1
drivers/mfd/vx855.c
··· 112 112 return ret; 113 113 } 114 114 115 - static void __devexit vx855_remove(struct pci_dev *pdev) 115 + static void vx855_remove(struct pci_dev *pdev) 116 116 { 117 117 mfd_remove_devices(&pdev->dev); 118 118 pci_disable_device(pdev);
+1 -1
drivers/mfd/wm831x-spi.c
··· 51 51 return wm831x_device_init(wm831x, type, spi->irq); 52 52 } 53 53 54 - static int __devexit wm831x_spi_remove(struct spi_device *spi) 54 + static int wm831x_spi_remove(struct spi_device *spi) 55 55 { 56 56 struct wm831x *wm831x = dev_get_drvdata(&spi->dev); 57 57
+2 -2
drivers/mfd/wm8994-core.c
··· 671 671 return ret; 672 672 } 673 673 674 - static __devexit void wm8994_device_exit(struct wm8994 *wm8994) 674 + static void wm8994_device_exit(struct wm8994 *wm8994) 675 675 { 676 676 pm_runtime_disable(wm8994->dev); 677 677 mfd_remove_devices(wm8994->dev); ··· 715 715 return wm8994_device_init(wm8994, i2c->irq); 716 716 } 717 717 718 - static __devexit int wm8994_i2c_remove(struct i2c_client *i2c) 718 + static int wm8994_i2c_remove(struct i2c_client *i2c) 719 719 { 720 720 struct wm8994 *wm8994 = i2c_get_clientdata(i2c); 721 721
+1 -1
include/linux/mfd/abx500/ab8500.h
··· 293 293 294 294 extern int ab8500_init(struct ab8500 *ab8500, 295 295 enum ab8500_version version); 296 - extern int __devexit ab8500_exit(struct ab8500 *ab8500); 296 + extern int ab8500_exit(struct ab8500 *ab8500); 297 297 298 298 extern int ab8500_suspend(struct ab8500 *ab8500); 299 299
+2 -2
include/linux/mfd/pm8xxx/irq.h
··· 39 39 int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq); 40 40 struct pm_irq_chip *pm8xxx_irq_init(struct device *dev, 41 41 const struct pm8xxx_irq_platform_data *pdata); 42 - int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip); 42 + int pm8xxx_irq_exit(struct pm_irq_chip *chip); 43 43 #else 44 44 static inline int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq) 45 45 { ··· 51 51 { 52 52 return ERR_PTR(-ENXIO); 53 53 } 54 - static inline int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip) 54 + static inline int pm8xxx_irq_exit(struct pm_irq_chip *chip) 55 55 { 56 56 return -ENXIO; 57 57 }