mfd: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:01 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:22:27 +0000 (12:22 -0800)
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>
65 files changed:
drivers/mfd/88pm800.c
drivers/mfd/88pm805.c
drivers/mfd/88pm860x-core.c
drivers/mfd/ab3100-core.c
drivers/mfd/ab8500-core.c
drivers/mfd/ab8500-debugfs.c
drivers/mfd/ab8500-gpadc.c
drivers/mfd/ab8500-sysctrl.c
drivers/mfd/adp5520.c
drivers/mfd/arizona-core.c
drivers/mfd/arizona-i2c.c
drivers/mfd/arizona-spi.c
drivers/mfd/asic3.c
drivers/mfd/cs5535-mfd.c
drivers/mfd/da903x.c
drivers/mfd/da9052-i2c.c
drivers/mfd/da9052-spi.c
drivers/mfd/da9055-core.c
drivers/mfd/da9055-i2c.c
drivers/mfd/davinci_voicecodec.c
drivers/mfd/ezx-pcap.c
drivers/mfd/intel_msic.c
drivers/mfd/janz-cmodio.c
drivers/mfd/jz4740-adc.c
drivers/mfd/lm3533-core.c
drivers/mfd/lp8788.c
drivers/mfd/lpc_ich.c
drivers/mfd/lpc_sch.c
drivers/mfd/max8907.c
drivers/mfd/max8925-core.c
drivers/mfd/max8925-i2c.c
drivers/mfd/mc13xxx-i2c.c
drivers/mfd/mc13xxx-spi.c
drivers/mfd/omap-usb-host.c
drivers/mfd/omap-usb-tll.c
drivers/mfd/pcf50633-adc.c
drivers/mfd/pcf50633-core.c
drivers/mfd/pm8921-core.c
drivers/mfd/pm8xxx-irq.c
drivers/mfd/rc5t583.c
drivers/mfd/rdc321x-southbridge.c
drivers/mfd/sm501.c
drivers/mfd/sta2x11-mfd.c
drivers/mfd/stmpe-i2c.c
drivers/mfd/stmpe-spi.c
drivers/mfd/syscon.c
drivers/mfd/tc3589x.c
drivers/mfd/tc6387xb.c
drivers/mfd/tc6393xb.c
drivers/mfd/ti-ssp.c
drivers/mfd/timberdale.c
drivers/mfd/tps6105x.c
drivers/mfd/tps65090.c
drivers/mfd/tps65217.c
drivers/mfd/tps6586x.c
drivers/mfd/tps65910.c
drivers/mfd/tps65911-comparator.c
drivers/mfd/tps65912-spi.c
drivers/mfd/twl4030-audio.c
drivers/mfd/twl4030-madc.c
drivers/mfd/vx855.c
drivers/mfd/wm831x-spi.c
drivers/mfd/wm8994-core.c
include/linux/mfd/abx500/ab8500.h
include/linux/mfd/pm8xxx/irq.h

index 6746ecd260adf47dafe6ea8d5a34b9f5fe87c818..391e23e6a6470e26ea68d47bce622280f00bce70 100644 (file)
@@ -554,7 +554,7 @@ out_init:
        return ret;
 }
 
-static int __devexit pm800_remove(struct i2c_client *client)
+static int pm800_remove(struct i2c_client *client)
 {
        struct pm80x_chip *chip = i2c_get_clientdata(client);
 
index 13c09941dc2c94f6bdfd1b3e8ac556dc6bd48e7f..e671230be2b150fb104c9a30a5f19131020e8239 100644 (file)
@@ -262,7 +262,7 @@ out_init:
        return ret;
 }
 
-static int __devexit pm805_remove(struct i2c_client *client)
+static int pm805_remove(struct i2c_client *client)
 {
        struct pm80x_chip *chip = i2c_get_clientdata(client);
 
index 20dd0d41aee46e2af11e81539cbe92d6ce2535bf..893fc1ba6ead29c6b01f94c4ead80808cd332b39 100644 (file)
@@ -1077,7 +1077,7 @@ static int pm860x_device_init(struct pm860x_chip *chip,
        return 0;
 }
 
-static void __devexit pm860x_device_exit(struct pm860x_chip *chip)
+static void pm860x_device_exit(struct pm860x_chip *chip)
 {
        device_irq_exit(chip);
        mfd_remove_devices(chip->dev);
@@ -1200,7 +1200,7 @@ err:
        return ret;
 }
 
-static int __devexit pm860x_remove(struct i2c_client *client)
+static int pm860x_remove(struct i2c_client *client)
 {
        struct pm860x_chip *chip = i2c_get_clientdata(client);
 
index bf188bc9898681ee4da1dc3beb4d38b01d9034e4..2ec7725f4a083fe80dc329f1fa5a8a336f80b10a 100644 (file)
@@ -961,7 +961,7 @@ static int ab3100_probe(struct i2c_client *client,
        return err;
 }
 
-static int __devexit ab3100_remove(struct i2c_client *client)
+static int ab3100_remove(struct i2c_client *client)
 {
        struct ab3100 *ab3100 = i2c_get_clientdata(client);
 
index 7335a9c8ffae2ee7cbc3380d438e4f9fe9b58890..127b00aadae31464cb7377bf778aef1002e0bcd9 100644 (file)
@@ -1473,7 +1473,7 @@ out_free_ab8500:
        return ret;
 }
 
-static int __devexit ab8500_remove(struct platform_device *pdev)
+static int ab8500_remove(struct platform_device *pdev)
 {
        struct ab8500 *ab8500 = platform_get_drvdata(pdev);
 
index 44843680d9825a410dc22f87e8b28034e6be1a81..5a8e707bc038858a154a1d6a50657336ad5775fc 100644 (file)
@@ -597,7 +597,7 @@ exit_no_debugfs:
        return -ENOMEM;
 }
 
-static int __devexit ab8500_debug_remove(struct platform_device *plf)
+static int ab8500_debug_remove(struct platform_device *plf)
 {
        debugfs_remove(ab8500_val_file);
        debugfs_remove(ab8500_address_file);
index c5e168e3ef112329ab717a8adfcf1f43b5fc3378..3fb1f40d6389235e45b35aec393b4bf606a1979c 100644 (file)
@@ -634,7 +634,7 @@ fail:
        return ret;
 }
 
-static int __devexit ab8500_gpadc_remove(struct platform_device *pdev)
+static int ab8500_gpadc_remove(struct platform_device *pdev)
 {
        struct ab8500_gpadc *gpadc = platform_get_drvdata(pdev);
 
index 499263c3110a737b4daff4693e5d9b1d5c0ad209..8a33b2c7eeadf1ec900ae80ce0755ef37d19fbc4 100644 (file)
@@ -55,7 +55,7 @@ static int ab8500_sysctrl_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit ab8500_sysctrl_remove(struct platform_device *pdev)
+static int ab8500_sysctrl_remove(struct platform_device *pdev)
 {
        sysctrl_dev = NULL;
        return 0;
index f2f9d8ff6416a52abe20e8c6483f6fbb4cea628f..210dd038bb5a464f36b9c234f4087c42271deebe 100644 (file)
@@ -307,7 +307,7 @@ out_free_chip:
        return ret;
 }
 
-static int __devexit adp5520_remove(struct i2c_client *client)
+static int adp5520_remove(struct i2c_client *client)
 {
        struct adp5520_chip *chip = dev_get_drvdata(&client->dev);
 
index 47e711674739774ee5c12b7199ebee62f60194b3..12fdabfb569e784755a77641921d3a6bd5465082 100644 (file)
@@ -553,7 +553,7 @@ err_early:
 }
 EXPORT_SYMBOL_GPL(arizona_dev_init);
 
-int __devexit arizona_dev_exit(struct arizona *arizona)
+int arizona_dev_exit(struct arizona *arizona)
 {
        mfd_remove_devices(arizona->dev);
        arizona_free_irq(arizona, ARIZONA_IRQ_UNDERCLOCKED, arizona);
index aaf1a69134df31b7fe91488f22be48ceb8af4d36..44a1bb96984185e3757f31330a37d50266fdbbed 100644 (file)
@@ -65,7 +65,7 @@ static int arizona_i2c_probe(struct i2c_client *i2c,
        return arizona_dev_init(arizona);
 }
 
-static int __devexit arizona_i2c_remove(struct i2c_client *i2c)
+static int arizona_i2c_remove(struct i2c_client *i2c)
 {
        struct arizona *arizona = dev_get_drvdata(&i2c->dev);
        arizona_dev_exit(arizona);
index 9663cafdb7ffa7837ca793855384a325631f0413..1b9fdd698b03c0ccdcb2f05998e88b5ad10903f9 100644 (file)
@@ -65,7 +65,7 @@ static int arizona_spi_probe(struct spi_device *spi)
        return arizona_dev_init(arizona);
 }
 
-static int __devexit arizona_spi_remove(struct spi_device *spi)
+static int arizona_spi_remove(struct spi_device *spi)
 {
        struct arizona *arizona = dev_get_drvdata(&spi->dev);
        arizona_dev_exit(arizona);
index b0720d7c1b71113d26c7f03bbaee3aa55f7c901e..1b15986c01e11fd664686edfaba5c2dfca65213c 100644 (file)
@@ -1039,7 +1039,7 @@ static int __init asic3_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit asic3_remove(struct platform_device *pdev)
+static int asic3_remove(struct platform_device *pdev)
 {
        int ret;
        struct asic3 *asic = platform_get_drvdata(pdev);
index d9dc87f067d804184b9208c0edf7f43a1979eeea..2e4752a9220a92808e98e52a0dc6c50ecccf0068 100644 (file)
@@ -166,7 +166,7 @@ err_disable:
        return err;
 }
 
-static void __devexit cs5535_mfd_remove(struct pci_dev *pdev)
+static void cs5535_mfd_remove(struct pci_dev *pdev)
 {
        mfd_remove_devices(&pdev->dev);
        pci_disable_device(pdev);
index 5fa1e91a9532855c7b4e0c6d90c33112c14c7d98..05176cd2862bc41c72d2f6d9f7f01d952c058444 100644 (file)
@@ -544,7 +544,7 @@ out_free_chip:
        return ret;
 }
 
-static int __devexit da903x_remove(struct i2c_client *client)
+static int da903x_remove(struct i2c_client *client)
 {
        struct da903x_chip *chip = i2c_get_clientdata(client);
 
index 96f66ed8dbfc63df100f40508e7854b8c50ec861..ac74a4d1daead1848ef00e9ac096013d69e67a21 100644 (file)
@@ -121,7 +121,7 @@ static int da9052_i2c_probe(struct i2c_client *client,
        return 0;
 }
 
-static int __devexit da9052_i2c_remove(struct i2c_client *client)
+static int da9052_i2c_remove(struct i2c_client *client)
 {
        struct da9052 *da9052 = i2c_get_clientdata(client);
 
index 1ad324373c976bc2047c58c1b9396f2525179fee..61d63b93576c9f3055b2e969ea8983a37f21b0b7 100644 (file)
@@ -58,7 +58,7 @@ static int da9052_spi_probe(struct spi_device *spi)
        return 0;
 }
 
-static int __devexit da9052_spi_remove(struct spi_device *spi)
+static int da9052_spi_remove(struct spi_device *spi)
 {
        struct da9052 *da9052 = dev_get_drvdata(&spi->dev);
 
index 6f5a4984f0aabb7636c0f38c6369e9bc73d703fe..f56a1a9f7777671ff1ad1b67f6ff84743fd0625e 100644 (file)
@@ -412,7 +412,7 @@ err:
        return ret;
 }
 
-void __devexit da9055_device_exit(struct da9055 *da9055)
+void da9055_device_exit(struct da9055 *da9055)
 {
        regmap_del_irq_chip(da9055->chip_irq, da9055->irq_data);
        mfd_remove_devices(da9055->dev);
index 7778d042fb5d8c56cd9c4831c60f39b7c7cd9e48..607387ffe8caa85e6d0396facd62a094dc4523a7 100644 (file)
@@ -44,7 +44,7 @@ static int da9055_i2c_probe(struct i2c_client *i2c,
        return da9055_device_init(da9055);
 }
 
-static int __devexit da9055_i2c_remove(struct i2c_client *i2c)
+static int da9055_i2c_remove(struct i2c_client *i2c)
 {
        struct da9055 *da9055 = i2c_get_clientdata(i2c);
 
index b2b0397059d8b55d2bab2b130e5764c231361a55..c0bcc872af4ea779d807621d48629a2f0e712d7d 100644 (file)
@@ -151,7 +151,7 @@ fail1:
        return ret;
 }
 
-static int __devexit davinci_vc_remove(struct platform_device *pdev)
+static int davinci_vc_remove(struct platform_device *pdev)
 {
        struct davinci_vc *davinci_vc = platform_get_drvdata(pdev);
 
index d81505e50d12c922222eb220856b410e28ae287a..b7a61f0f27a46a32616779a11a4954621a4a93fb 100644 (file)
@@ -391,7 +391,7 @@ static int pcap_add_subdev(struct pcap_chip *pcap,
        return ret;
 }
 
-static int __devexit ezx_pcap_remove(struct spi_device *spi)
+static int ezx_pcap_remove(struct spi_device *spi)
 {
        struct pcap_chip *pcap = dev_get_drvdata(&spi->dev);
        struct pcap_platform_data *pdata = spi->dev.platform_data;
index 438ac3df166b9899c769ae98c802f99041c510d9..ab8d0b2739b231cd27e31b9b7b79abf0b715b418 100644 (file)
@@ -364,7 +364,7 @@ fail:
        return ret;
 }
 
-static void __devexit intel_msic_remove_devices(struct intel_msic *msic)
+static void intel_msic_remove_devices(struct intel_msic *msic)
 {
        struct platform_device *pdev = msic->pdev;
        struct intel_msic_platform_data *pdata = pdev->dev.platform_data;
@@ -445,7 +445,7 @@ static int intel_msic_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit intel_msic_remove(struct platform_device *pdev)
+static int intel_msic_remove(struct platform_device *pdev)
 {
        struct intel_msic *msic = platform_get_drvdata(pdev);
 
index 55c479e57aad58d15a4263862d319607d9cdee92..45ece11cc27c29d1106cbef2cbaee4bf2522fe84 100644 (file)
@@ -254,7 +254,7 @@ out_return:
        return ret;
 }
 
-static void __devexit cmodio_pci_remove(struct pci_dev *dev)
+static void cmodio_pci_remove(struct pci_dev *dev)
 {
        struct cmodio_device *priv = pci_get_drvdata(dev);
 
index c0d38c597f0cd26c96e10c6f37bdcae9a557c4e9..0b8b55bb9b11303cbcc71c0b2d3de62e84d19d85 100644 (file)
@@ -307,7 +307,7 @@ err_free:
        return ret;
 }
 
-static int __devexit jz4740_adc_remove(struct platform_device *pdev)
+static int jz4740_adc_remove(struct platform_device *pdev)
 {
        struct jz4740_adc *adc = platform_get_drvdata(pdev);
 
index 2b74508655d43c5a1211fadddfca2136262afdbf..ceebf2c1ea972a41ea036af3c1ffcf68a074cfc0 100644 (file)
@@ -534,7 +534,7 @@ err_disable:
        return ret;
 }
 
-static void __devexit lm3533_device_exit(struct lm3533 *lm3533)
+static void lm3533_device_exit(struct lm3533 *lm3533)
 {
        dev_dbg(lm3533->dev, "%s\n", __func__);
 
@@ -624,7 +624,7 @@ static int lm3533_i2c_probe(struct i2c_client *i2c,
        return 0;
 }
 
-static int __devexit lm3533_i2c_remove(struct i2c_client *i2c)
+static int lm3533_i2c_remove(struct i2c_client *i2c)
 {
        struct lm3533 *lm3533 = i2c_get_clientdata(i2c);
 
index e1d7c9f18cc5176f08b3d3ef51190ece236fc9ce..c3d3c9b4d3addedc53bc5b7450cd45a2e4707a72 100644 (file)
@@ -203,7 +203,7 @@ static int lp8788_probe(struct i2c_client *cl, const struct i2c_device_id *id)
                               ARRAY_SIZE(lp8788_devs), NULL, 0, NULL);
 }
 
-static int __devexit lp8788_remove(struct i2c_client *cl)
+static int lp8788_remove(struct i2c_client *cl)
 {
        struct lp8788 *lp = i2c_get_clientdata(cl);
 
index 7c83e1b5658851e4809db15fe16e5f5fbb5480c9..2ad24caa07dbfba6e8857031d0085a1c52cbac98 100644 (file)
@@ -878,7 +878,7 @@ static int lpc_ich_probe(struct pci_dev *dev,
        return 0;
 }
 
-static void __devexit lpc_ich_remove(struct pci_dev *dev)
+static void lpc_ich_remove(struct pci_dev *dev)
 {
        mfd_remove_devices(&dev->dev);
        lpc_ich_restore_config_space(dev);
index 5756a6af08dc88db12507a99961487038d44349d..5624fcbba69b939b77468679b40ed16e59f1d1fa 100644 (file)
@@ -164,7 +164,7 @@ out_dev:
        return ret;
 }
 
-static void __devexit lpc_sch_remove(struct pci_dev *dev)
+static void lpc_sch_remove(struct pci_dev *dev)
 {
        mfd_remove_devices(&dev->dev);
 }
index 81ded7a4ca8c830363dd2dd25f4aaff65eddb21d..e9b1c93a3ade36ba41de62bff0bd588fd4148162 100644 (file)
@@ -288,7 +288,7 @@ err_alloc_drvdata:
        return ret;
 }
 
-static __devexit int max8907_i2c_remove(struct i2c_client *i2c)
+static int max8907_i2c_remove(struct i2c_client *i2c)
 {
        struct max8907 *max8907 = i2c_get_clientdata(i2c);
 
index 60325c49afda2167a6afea3628c3a4cc50654a5f..e32466e865b92134b0d2355c7ff721198945bb0b 100644 (file)
@@ -901,7 +901,7 @@ out:
        return ret;
 }
 
-void __devexit max8925_device_exit(struct max8925_chip *chip)
+void max8925_device_exit(struct max8925_chip *chip)
 {
        if (chip->core_irq)
                free_irq(chip->core_irq, chip);
index 6e3d30aa00dfe87d783d3ea8f6ffc87dfe353a7c..00b5b456063df380fe88eb97144adb8d1282bfb9 100644 (file)
@@ -168,7 +168,7 @@ static int max8925_probe(struct i2c_client *client,
        return 0;
 }
 
-static int __devexit max8925_remove(struct i2c_client *client)
+static int max8925_remove(struct i2c_client *client)
 {
        struct max8925_chip *chip = i2c_get_clientdata(client);
 
index 4a605fb63cbc3fef1472b24b9664df506d0ea954..7957999f30bbe99c17e562f39bfa97f06bc3885c 100644 (file)
@@ -85,7 +85,7 @@ static int mc13xxx_i2c_probe(struct i2c_client *client,
        return ret;
 }
 
-static int __devexit mc13xxx_i2c_remove(struct i2c_client *client)
+static int mc13xxx_i2c_remove(struct i2c_client *client)
 {
        struct mc13xxx *mc13xxx = dev_get_drvdata(&client->dev);
 
index e7acd0511156cb1820ec17f4b650b1aef087be5f..cb32f69d80ba46cb6decc7b72ed506d1f8eba224 100644 (file)
@@ -159,7 +159,7 @@ static int mc13xxx_spi_probe(struct spi_device *spi)
        return ret;
 }
 
-static int __devexit mc13xxx_spi_remove(struct spi_device *spi)
+static int mc13xxx_spi_remove(struct spi_device *spi)
 {
        struct mc13xxx *mc13xxx = dev_get_drvdata(&spi->dev);
 
index fc23dfbb69100d5512bfc89731b606ab56b006c2..29b8ed21213e75bd959884e227fd842f1d4225be 100644 (file)
@@ -652,7 +652,7 @@ end_probe:
  *
  * Reverses the effect of usbhs_omap_probe().
  */
-static int __devexit usbhs_omap_remove(struct platform_device *pdev)
+static int usbhs_omap_remove(struct platform_device *pdev)
 {
        struct usbhs_hcd_omap *omap = platform_get_drvdata(pdev);
 
index 0b586885446b0a3590849ae1ce436e50beb382e7..401b976e3aff39abd3ca0dca42b25fbc9bc90b0a 100644 (file)
@@ -348,7 +348,7 @@ end:
  *
  * Reverses the effect of usbtll_omap_probe().
  */
-static int __devexit usbtll_omap_remove(struct platform_device *pdev)
+static int usbtll_omap_remove(struct platform_device *pdev)
 {
        struct usbtll_omap *tll = platform_get_drvdata(pdev);
 
index dbd2f0d0078e965c5d995d051cbb529c3a5ee2f0..18b53cb72feae4984b44b6cea94c2f6d68fc3e40 100644 (file)
@@ -218,7 +218,7 @@ static int pcf50633_adc_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit pcf50633_adc_remove(struct platform_device *pdev)
+static int pcf50633_adc_remove(struct platform_device *pdev)
 {
        struct pcf50633_adc *adc = platform_get_drvdata(pdev);
        int i, head;
index fc477353081e5214eb750c5c89454aa7dd923321..64803f13bcecc4f6e8f221ecacf814e419d07104 100644 (file)
@@ -275,7 +275,7 @@ static int pcf50633_probe(struct i2c_client *client,
        return 0;
 }
 
-static int __devexit pcf50633_remove(struct i2c_client *client)
+static int pcf50633_remove(struct i2c_client *client)
 {
        struct pcf50633 *pcf = i2c_get_clientdata(client);
        int i;
index 43491346e7d087d2458b943b0e38641158ffe085..d4b297cbd801c3929b5c4ee8c02f0c1f04a2022a 100644 (file)
@@ -165,7 +165,7 @@ err_read_rev:
        return rc;
 }
 
-static int __devexit pm8921_remove(struct platform_device *pdev)
+static int pm8921_remove(struct platform_device *pdev)
 {
        struct pm8xxx_drvdata *drvdata;
        struct pm8921 *pmic = NULL;
index 59c20ea329def81213367b352661079ca0cb2930..1360e20adf114e2c73744610cb8d1ae524bdcdcc 100644 (file)
@@ -363,7 +363,7 @@ struct pm_irq_chip *  pm8xxx_irq_init(struct device *dev,
        return chip;
 }
 
-int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip)
+int pm8xxx_irq_exit(struct pm_irq_chip *chip)
 {
        irq_set_chained_handler(chip->devirq, NULL);
        kfree(chip);
index f721b13e986c3895338bbf93ebeda56336e4005b..14bdaccefbeca4da3099ab804e807da6f190843f 100644 (file)
@@ -303,7 +303,7 @@ err_add_devs:
        return ret;
 }
 
-static int  __devexit rc5t583_i2c_remove(struct i2c_client *i2c)
+static int  rc5t583_i2c_remove(struct i2c_client *i2c)
 {
        struct rc5t583 *rc5t583 = i2c_get_clientdata(i2c);
 
index be46539c3080a6484b94b55e964a4cf077951a42..21b7bef73507cc969ae49074873f47b64b3ebe99 100644 (file)
@@ -91,7 +91,7 @@ static int rdc321x_sb_probe(struct pci_dev *pdev,
                               NULL, 0, NULL);
 }
 
-static void __devexit rdc321x_sb_remove(struct pci_dev *pdev)
+static void rdc321x_sb_remove(struct pci_dev *pdev)
 {
        mfd_remove_devices(&pdev->dev);
 }
index 9b53733cb297d55b528a9124a60c163548dde892..9816c232e58331c202f8622e87657c90ccb1f972 100644 (file)
@@ -1685,7 +1685,7 @@ static void sm501_dev_remove(struct sm501_devdata *sm)
        sm501_gpio_remove(sm);
 }
 
-static void __devexit sm501_pci_remove(struct pci_dev *dev)
+static void sm501_pci_remove(struct pci_dev *dev)
 {
        struct sm501_devdata *sm = pci_get_drvdata(dev);
 
index 57f3361d0cb09a00e5f4e0ff62ebb66f56ded5db..d6284cacd27a30e2174bc21ff77e7bef7592423b 100644 (file)
@@ -89,7 +89,7 @@ static int sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags)
        return 0;
 }
 
-static int __devexit mfd_remove(struct pci_dev *pdev)
+static int mfd_remove(struct pci_dev *pdev)
 {
        struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev);
 
index 8195ca2ac74bbb0ba5a0a7b7e4a3e702830bc968..36df187780294191469a486019f0a1178469d3f8 100644 (file)
@@ -63,7 +63,7 @@ stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
        return stmpe_probe(&i2c_ci, id->driver_data);
 }
 
-static int __devexit stmpe_i2c_remove(struct i2c_client *i2c)
+static int stmpe_i2c_remove(struct i2c_client *i2c)
 {
        struct stmpe *stmpe = dev_get_drvdata(&i2c->dev);
 
index 52774338998f302181912d1be046529afe95bd71..973659f8abd965bf689e48d7a92bd4b38f8b8c11 100644 (file)
@@ -101,7 +101,7 @@ stmpe_spi_probe(struct spi_device *spi)
        return stmpe_probe(&spi_ci, id->driver_data);
 }
 
-static int __devexit stmpe_spi_remove(struct spi_device *spi)
+static int stmpe_spi_remove(struct spi_device *spi)
 {
        struct stmpe *stmpe = dev_get_drvdata(&spi->dev);
 
index 3dbfe9ab889c96290655eb6a3765858bc57bd0f8..3f10591ea94e9d2242bf8b79a6689703c93ed238 100644 (file)
@@ -138,7 +138,7 @@ static int syscon_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit syscon_remove(struct platform_device *pdev)
+static int syscon_remove(struct platform_device *pdev)
 {
        struct syscon *syscon;
 
index 7e197f788b0af28fa77976cd77afe31c1a1fa2a9..a06d66b929b1ea96743826435d18899464fb24b5 100644 (file)
@@ -402,7 +402,7 @@ out_free:
        return ret;
 }
 
-static int __devexit tc3589x_remove(struct i2c_client *client)
+static int tc3589x_remove(struct i2c_client *client)
 {
        struct tc3589x *tc3589x = i2c_get_clientdata(client);
 
index ca18f262c34aaa6d9236807057a83a025293d1ac..366f7b906278547b586f2f86bca0cf6ad568f4a8 100644 (file)
@@ -208,7 +208,7 @@ err_no_irq:
        return ret;
 }
 
-static int __devexit tc6387xb_remove(struct platform_device *dev)
+static int tc6387xb_remove(struct platform_device *dev)
 {
        struct tc6387xb *tc6387xb = platform_get_drvdata(dev);
 
index 1ff8ed6390d1bcf614a07665cb236ba3e77d5de3..15e1463e5e1334258a101b6b584d10fd4f3495a1 100644 (file)
@@ -731,7 +731,7 @@ err_kzalloc:
        return ret;
 }
 
-static int __devexit tc6393xb_remove(struct platform_device *dev)
+static int tc6393xb_remove(struct platform_device *dev)
 {
        struct tc6393xb_platform_data *tcpd = dev->dev.platform_data;
        struct tc6393xb *tc6393xb = platform_get_drvdata(dev);
index b177f96da864b8076e033a78c8049d563d1c755a..09a14cec351ba4b0d3c606fcf8ad112684ee1a2b 100644 (file)
@@ -433,7 +433,7 @@ error_res:
        return error;
 }
 
-static int __devexit ti_ssp_remove(struct platform_device *pdev)
+static int ti_ssp_remove(struct platform_device *pdev)
 {
        struct device *dev = &pdev->dev;
        struct ti_ssp *ssp = dev_get_drvdata(dev);
index a305ac1094966834a6b4ea4a2bad9b537ced6ae8..59e0ee247e868c2da1f8d309fb60ac5d7c3a594b 100644 (file)
@@ -840,7 +840,7 @@ err_enable:
        return -ENODEV;
 }
 
-static void __devexit timb_remove(struct pci_dev *dev)
+static void timb_remove(struct pci_dev *dev)
 {
        struct timberdale_device *priv = pci_get_drvdata(dev);
 
index 75a84ac4672eb061ecc67c28904de29f2825ecda..1d302f583adf2c3b2633164daa4c9fe253563476 100644 (file)
@@ -199,7 +199,7 @@ fail:
        return ret;
 }
 
-static int __devexit tps6105x_remove(struct i2c_client *client)
+static int tps6105x_remove(struct i2c_client *client)
 {
        struct tps6105x *tps6105x = i2c_get_clientdata(client);
 
index 0c446eb86bdb3d1b4b384fc2c1fc9f8b02bb924f..382a857b0dde56b1438358fad9d52550f65449c8 100644 (file)
@@ -308,7 +308,7 @@ err_exit:
        return ret;
 }
 
-static int __devexit tps65090_i2c_remove(struct i2c_client *client)
+static int tps65090_i2c_remove(struct i2c_client *client)
 {
        struct tps65090 *tps65090 = i2c_get_clientdata(client);
 
index 8cba75750e91d740d2f5cd273dda752b861e26a5..e14e252e3473fc7081a06475f1b1b390662ee86b 100644 (file)
@@ -214,7 +214,7 @@ static int tps65217_probe(struct i2c_client *client,
        return 0;
 }
 
-static int __devexit tps65217_remove(struct i2c_client *client)
+static int tps65217_remove(struct i2c_client *client)
 {
        struct tps65217 *tps = i2c_get_clientdata(client);
 
index 975fbb5f36aaa16d7ed62cd0396734d86f8916f3..9f92c3b2209318c8476ff1de350b9939ff1a0015 100644 (file)
@@ -548,7 +548,7 @@ err_mfd_add:
        return ret;
 }
 
-static int __devexit tps6586x_i2c_remove(struct i2c_client *client)
+static int tps6586x_i2c_remove(struct i2c_client *client)
 {
        struct tps6586x *tps6586x = i2c_get_clientdata(client);
 
index 3a3402290a746d35f59406ca3f7a0c46184ae8fc..ce054654f5bbdd0e03b41063e4c2c1a4f193a2f1 100644 (file)
@@ -302,7 +302,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
        return ret;
 }
 
-static __devexit int tps65910_i2c_remove(struct i2c_client *i2c)
+static int tps65910_i2c_remove(struct i2c_client *i2c)
 {
        struct tps65910 *tps65910 = i2c_get_clientdata(i2c);
 
index b3d268f95a779d146db723b7f9a67a6000d6b399..c0816ebd9d7ef1ab1ca1842b149cc6ec32eb2bf4 100644 (file)
@@ -152,7 +152,7 @@ static int tps65911_comparator_probe(struct platform_device *pdev)
        return ret;
 }
 
-static __devexit int tps65911_comparator_remove(struct platform_device *pdev)
+static int tps65911_comparator_remove(struct platform_device *pdev)
 {
        struct tps65910 *tps65910;
 
index 6366576a3056dcd9d49a6925ccaea97499d1df0d..b45f460d299fe24218c176e88f56ac03710c6e9e 100644 (file)
@@ -99,7 +99,7 @@ static int tps65912_spi_probe(struct spi_device *spi)
        return tps65912_device_init(tps65912);
 }
 
-static int __devexit tps65912_spi_remove(struct spi_device *spi)
+static int tps65912_spi_remove(struct spi_device *spi)
 {
        struct tps65912 *tps65912 = spi_get_drvdata(spi);
 
index aacccdcf997cce05efbb9eb84bc1db03ff5b4ba6..e16edca926709bbe501d52dc5fb37f578e9710a4 100644 (file)
@@ -269,7 +269,7 @@ static int twl4030_audio_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit twl4030_audio_remove(struct platform_device *pdev)
+static int twl4030_audio_remove(struct platform_device *pdev)
 {
        mfd_remove_devices(&pdev->dev);
        platform_set_drvdata(pdev, NULL);
index 228d5aacd3328e3983554f326960ed16dc4daba1..a39dcf3e21335a5b636aff0306bdf897ddb30c99 100644 (file)
@@ -785,7 +785,7 @@ err_power:
        return ret;
 }
 
-static int __devexit twl4030_madc_remove(struct platform_device *pdev)
+static int twl4030_madc_remove(struct platform_device *pdev)
 {
        struct twl4030_madc_data *madc = platform_get_drvdata(pdev);
 
index 66ef03b025694b518c8115693ba8d38da928c293..757ecc63338c19a7d7d75c85e4a185459fb3d3a0 100644 (file)
@@ -112,7 +112,7 @@ out:
        return ret;
 }
 
-static void __devexit vx855_remove(struct pci_dev *pdev)
+static void vx855_remove(struct pci_dev *pdev)
 {
        mfd_remove_devices(&pdev->dev);
        pci_disable_device(pdev);
index 4c7225a53ba2898cfe020e79e9dc3bde1b3eb0df..4e70e157a9090574fc6ca552aa5d99b778e994de 100644 (file)
@@ -51,7 +51,7 @@ static int wm831x_spi_probe(struct spi_device *spi)
        return wm831x_device_init(wm831x, type, spi->irq);
 }
 
-static int __devexit wm831x_spi_remove(struct spi_device *spi)
+static int wm831x_spi_remove(struct spi_device *spi)
 {
        struct wm831x *wm831x = dev_get_drvdata(&spi->dev);
 
index 4e2432dc49f9619b66c207898bc973fec4994e44..c7f62ac544ad74e2282b29b62c1c9f25e16cc868 100644 (file)
@@ -671,7 +671,7 @@ err:
        return ret;
 }
 
-static __devexit void wm8994_device_exit(struct wm8994 *wm8994)
+static void wm8994_device_exit(struct wm8994 *wm8994)
 {
        pm_runtime_disable(wm8994->dev);
        mfd_remove_devices(wm8994->dev);
@@ -715,7 +715,7 @@ static int wm8994_i2c_probe(struct i2c_client *i2c,
        return wm8994_device_init(wm8994, i2c->irq);
 }
 
-static __devexit int wm8994_i2c_remove(struct i2c_client *i2c)
+static int wm8994_i2c_remove(struct i2c_client *i2c)
 {
        struct wm8994 *wm8994 = i2c_get_clientdata(i2c);
 
index 83f0bdc530b7431a0794934fe6df11706c273b60..1cb5698b4d76a6bfe0b0a36d1c90a2f10101f9f6 100644 (file)
@@ -293,7 +293,7 @@ struct ab8500_platform_data {
 
 extern int ab8500_init(struct ab8500 *ab8500,
                                 enum ab8500_version version);
-extern int __devexit ab8500_exit(struct ab8500 *ab8500);
+extern int ab8500_exit(struct ab8500 *ab8500);
 
 extern int ab8500_suspend(struct ab8500 *ab8500);
 
index ddaa7f5e9ed9a9de898c180111207e608d9b6c2b..f83d6b43ecbb2bcf878cdae76c7ab0bbf4c370ac 100644 (file)
@@ -39,7 +39,7 @@ struct pm_irq_chip;
 int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq);
 struct pm_irq_chip *pm8xxx_irq_init(struct device *dev,
                                const struct pm8xxx_irq_platform_data *pdata);
-int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip);
+int pm8xxx_irq_exit(struct pm_irq_chip *chip);
 #else
 static inline int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq)
 {
@@ -51,7 +51,7 @@ static inline struct pm_irq_chip *pm8xxx_irq_init(
 {
        return ERR_PTR(-ENXIO);
 }
-static inline int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip)
+static inline int pm8xxx_irq_exit(struct pm_irq_chip *chip)
 {
        return -ENXIO;
 }