Commit 4740f73f authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

mfd: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: default avatarBill 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: default avatarDavid Brown <davidb@codeaurora.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a73e5df1
...@@ -554,7 +554,7 @@ static int pm800_probe(struct i2c_client *client, ...@@ -554,7 +554,7 @@ static int pm800_probe(struct i2c_client *client,
return ret; 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); struct pm80x_chip *chip = i2c_get_clientdata(client);
......
...@@ -262,7 +262,7 @@ static int pm805_probe(struct i2c_client *client, ...@@ -262,7 +262,7 @@ static int pm805_probe(struct i2c_client *client,
return ret; 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); struct pm80x_chip *chip = i2c_get_clientdata(client);
......
...@@ -1077,7 +1077,7 @@ static int pm860x_device_init(struct pm860x_chip *chip, ...@@ -1077,7 +1077,7 @@ static int pm860x_device_init(struct pm860x_chip *chip,
return 0; 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); device_irq_exit(chip);
mfd_remove_devices(chip->dev); mfd_remove_devices(chip->dev);
...@@ -1200,7 +1200,7 @@ static int pm860x_probe(struct i2c_client *client, ...@@ -1200,7 +1200,7 @@ static int pm860x_probe(struct i2c_client *client,
return ret; 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); struct pm860x_chip *chip = i2c_get_clientdata(client);
......
...@@ -961,7 +961,7 @@ static int ab3100_probe(struct i2c_client *client, ...@@ -961,7 +961,7 @@ static int ab3100_probe(struct i2c_client *client,
return err; 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); struct ab3100 *ab3100 = i2c_get_clientdata(client);
......
...@@ -1473,7 +1473,7 @@ static int ab8500_probe(struct platform_device *pdev) ...@@ -1473,7 +1473,7 @@ static int ab8500_probe(struct platform_device *pdev)
return ret; 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); struct ab8500 *ab8500 = platform_get_drvdata(pdev);
......
...@@ -597,7 +597,7 @@ static int ab8500_debug_probe(struct platform_device *plf) ...@@ -597,7 +597,7 @@ static int ab8500_debug_probe(struct platform_device *plf)
return -ENOMEM; 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_val_file);
debugfs_remove(ab8500_address_file); debugfs_remove(ab8500_address_file);
......
...@@ -634,7 +634,7 @@ static int ab8500_gpadc_probe(struct platform_device *pdev) ...@@ -634,7 +634,7 @@ static int ab8500_gpadc_probe(struct platform_device *pdev)
return ret; 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); struct ab8500_gpadc *gpadc = platform_get_drvdata(pdev);
......
...@@ -55,7 +55,7 @@ static int ab8500_sysctrl_probe(struct platform_device *pdev) ...@@ -55,7 +55,7 @@ static int ab8500_sysctrl_probe(struct platform_device *pdev)
return 0; return 0;
} }
static int __devexit ab8500_sysctrl_remove(struct platform_device *pdev) static int ab8500_sysctrl_remove(struct platform_device *pdev)
{ {
sysctrl_dev = NULL; sysctrl_dev = NULL;
return 0; return 0;
......
...@@ -307,7 +307,7 @@ static int adp5520_probe(struct i2c_client *client, ...@@ -307,7 +307,7 @@ static int adp5520_probe(struct i2c_client *client,
return ret; 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); struct adp5520_chip *chip = dev_get_drvdata(&client->dev);
......
...@@ -553,7 +553,7 @@ int arizona_dev_init(struct arizona *arizona) ...@@ -553,7 +553,7 @@ int arizona_dev_init(struct arizona *arizona)
} }
EXPORT_SYMBOL_GPL(arizona_dev_init); 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); mfd_remove_devices(arizona->dev);
arizona_free_irq(arizona, ARIZONA_IRQ_UNDERCLOCKED, arizona); arizona_free_irq(arizona, ARIZONA_IRQ_UNDERCLOCKED, arizona);
......
...@@ -65,7 +65,7 @@ static int arizona_i2c_probe(struct i2c_client *i2c, ...@@ -65,7 +65,7 @@ static int arizona_i2c_probe(struct i2c_client *i2c,
return arizona_dev_init(arizona); 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); struct arizona *arizona = dev_get_drvdata(&i2c->dev);
arizona_dev_exit(arizona); arizona_dev_exit(arizona);
......
...@@ -65,7 +65,7 @@ static int arizona_spi_probe(struct spi_device *spi) ...@@ -65,7 +65,7 @@ static int arizona_spi_probe(struct spi_device *spi)
return arizona_dev_init(arizona); 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); struct arizona *arizona = dev_get_drvdata(&spi->dev);
arizona_dev_exit(arizona); arizona_dev_exit(arizona);
......
...@@ -1039,7 +1039,7 @@ static int __init asic3_probe(struct platform_device *pdev) ...@@ -1039,7 +1039,7 @@ static int __init asic3_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit asic3_remove(struct platform_device *pdev) static int asic3_remove(struct platform_device *pdev)
{ {
int ret; int ret;
struct asic3 *asic = platform_get_drvdata(pdev); struct asic3 *asic = platform_get_drvdata(pdev);
......
...@@ -166,7 +166,7 @@ static int cs5535_mfd_probe(struct pci_dev *pdev, ...@@ -166,7 +166,7 @@ static int cs5535_mfd_probe(struct pci_dev *pdev,
return err; 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); mfd_remove_devices(&pdev->dev);
pci_disable_device(pdev); pci_disable_device(pdev);
......
...@@ -544,7 +544,7 @@ static int da903x_probe(struct i2c_client *client, ...@@ -544,7 +544,7 @@ static int da903x_probe(struct i2c_client *client,
return ret; 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); struct da903x_chip *chip = i2c_get_clientdata(client);
......
...@@ -121,7 +121,7 @@ static int da9052_i2c_probe(struct i2c_client *client, ...@@ -121,7 +121,7 @@ static int da9052_i2c_probe(struct i2c_client *client,
return 0; 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); struct da9052 *da9052 = i2c_get_clientdata(client);
......
...@@ -58,7 +58,7 @@ static int da9052_spi_probe(struct spi_device *spi) ...@@ -58,7 +58,7 @@ static int da9052_spi_probe(struct spi_device *spi)
return 0; 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); struct da9052 *da9052 = dev_get_drvdata(&spi->dev);
......
...@@ -412,7 +412,7 @@ int da9055_device_init(struct da9055 *da9055) ...@@ -412,7 +412,7 @@ int da9055_device_init(struct da9055 *da9055)
return ret; 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); regmap_del_irq_chip(da9055->chip_irq, da9055->irq_data);
mfd_remove_devices(da9055->dev); mfd_remove_devices(da9055->dev);
......
...@@ -44,7 +44,7 @@ static int da9055_i2c_probe(struct i2c_client *i2c, ...@@ -44,7 +44,7 @@ static int da9055_i2c_probe(struct i2c_client *i2c,
return da9055_device_init(da9055); 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); struct da9055 *da9055 = i2c_get_clientdata(i2c);
......
...@@ -151,7 +151,7 @@ static int __init davinci_vc_probe(struct platform_device *pdev) ...@@ -151,7 +151,7 @@ static int __init davinci_vc_probe(struct platform_device *pdev)
return ret; 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); struct davinci_vc *davinci_vc = platform_get_drvdata(pdev);
......
...@@ -391,7 +391,7 @@ static int pcap_add_subdev(struct pcap_chip *pcap, ...@@ -391,7 +391,7 @@ static int pcap_add_subdev(struct pcap_chip *pcap,
return ret; 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_chip *pcap = dev_get_drvdata(&spi->dev);
struct pcap_platform_data *pdata = spi->dev.platform_data; struct pcap_platform_data *pdata = spi->dev.platform_data;
......
...@@ -364,7 +364,7 @@ static int intel_msic_init_devices(struct intel_msic *msic) ...@@ -364,7 +364,7 @@ static int intel_msic_init_devices(struct intel_msic *msic)
return ret; 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 platform_device *pdev = msic->pdev;
struct intel_msic_platform_data *pdata = pdev->dev.platform_data; struct intel_msic_platform_data *pdata = pdev->dev.platform_data;
...@@ -445,7 +445,7 @@ static int intel_msic_probe(struct platform_device *pdev) ...@@ -445,7 +445,7 @@ static int intel_msic_probe(struct platform_device *pdev)
return 0; 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); struct intel_msic *msic = platform_get_drvdata(pdev);
......
...@@ -254,7 +254,7 @@ static int cmodio_pci_probe(struct pci_dev *dev, ...@@ -254,7 +254,7 @@ static int cmodio_pci_probe(struct pci_dev *dev,
return ret; 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); struct cmodio_device *priv = pci_get_drvdata(dev);
......
...@@ -307,7 +307,7 @@ static int jz4740_adc_probe(struct platform_device *pdev) ...@@ -307,7 +307,7 @@ static int jz4740_adc_probe(struct platform_device *pdev)
return ret; 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); struct jz4740_adc *adc = platform_get_drvdata(pdev);
......
...@@ -534,7 +534,7 @@ static int lm3533_device_init(struct lm3533 *lm3533) ...@@ -534,7 +534,7 @@ static int lm3533_device_init(struct lm3533 *lm3533)
return ret; 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__); dev_dbg(lm3533->dev, "%s\n", __func__);
...@@ -624,7 +624,7 @@ static int lm3533_i2c_probe(struct i2c_client *i2c, ...@@ -624,7 +624,7 @@ static int lm3533_i2c_probe(struct i2c_client *i2c,
return 0; 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); struct lm3533 *lm3533 = i2c_get_clientdata(i2c);
......
...@@ -203,7 +203,7 @@ static int lp8788_probe(struct i2c_client *cl, const struct i2c_device_id *id) ...@@ -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); 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); struct lp8788 *lp = i2c_get_clientdata(cl);
......
...@@ -878,7 +878,7 @@ static int lpc_ich_probe(struct pci_dev *dev, ...@@ -878,7 +878,7 @@ static int lpc_ich_probe(struct pci_dev *dev,
return 0; 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); mfd_remove_devices(&dev->dev);
lpc_ich_restore_config_space(dev); lpc_ich_restore_config_space(dev);
......
...@@ -164,7 +164,7 @@ static int lpc_sch_probe(struct pci_dev *dev, ...@@ -164,7 +164,7 @@ static int lpc_sch_probe(struct pci_dev *dev,
return ret; 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); mfd_remove_devices(&dev->dev);
} }
......
...@@ -288,7 +288,7 @@ static int max8907_i2c_probe(struct i2c_client *i2c, ...@@ -288,7 +288,7 @@ static int max8907_i2c_probe(struct i2c_client *i2c,
return ret; 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); struct max8907 *max8907 = i2c_get_clientdata(i2c);
......
...@@ -901,7 +901,7 @@ int max8925_device_init(struct max8925_chip *chip, ...@@ -901,7 +901,7 @@ int max8925_device_init(struct max8925_chip *chip,
return ret; return ret;
} }
void __devexit max8925_device_exit(struct max8925_chip *chip) void max8925_device_exit(struct max8925_chip *chip)
{ {
if (chip->core_irq) if (chip->core_irq)
free_irq(chip->core_irq, chip); free_irq(chip->core_irq, chip);
......
...@@ -168,7 +168,7 @@ static int max8925_probe(struct i2c_client *client, ...@@ -168,7 +168,7 @@ static int max8925_probe(struct i2c_client *client,
return 0; 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); struct max8925_chip *chip = i2c_get_clientdata(client);
......
...@@ -85,7 +85,7 @@ static int mc13xxx_i2c_probe(struct i2c_client *client, ...@@ -85,7 +85,7 @@ static int mc13xxx_i2c_probe(struct i2c_client *client,
return ret; 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); struct mc13xxx *mc13xxx = dev_get_drvdata(&client->dev);
......
...@@ -159,7 +159,7 @@ static int mc13xxx_spi_probe(struct spi_device *spi) ...@@ -159,7 +159,7 @@ static int mc13xxx_spi_probe(struct spi_device *spi)
return ret; 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); struct mc13xxx *mc13xxx = dev_get_drvdata(&spi->dev);
......
...@@ -652,7 +652,7 @@ static int usbhs_omap_probe(struct platform_device *pdev) ...@@ -652,7 +652,7 @@ static int usbhs_omap_probe(struct platform_device *pdev)
* *
* Reverses the effect of usbhs_omap_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); struct usbhs_hcd_omap *omap = platform_get_drvdata(pdev);
......
...@@ -348,7 +348,7 @@ static int usbtll_omap_probe(struct platform_device *pdev) ...@@ -348,7 +348,7 @@ static int usbtll_omap_probe(struct platform_device *pdev)
* *
* Reverses the effect of usbtll_omap_probe(). * 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); struct usbtll_omap *tll = platform_get_drvdata(pdev);
......
...@@ -218,7 +218,7 @@ static int pcf50633_adc_probe(struct platform_device *pdev) ...@@ -218,7 +218,7 @@ static int pcf50633_adc_probe(struct platform_device *pdev)
return 0; 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); struct pcf50633_adc *adc = platform_get_drvdata(pdev);
int i, head; int i, head;
......
...@@ -275,7 +275,7 @@ static int pcf50633_probe(struct i2c_client *client, ...@@ -275,7 +275,7 @@ static int pcf50633_probe(struct i2c_client *client,
return 0; 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); struct pcf50633 *pcf = i2c_get_clientdata(client);
int i; int i;
......
...@@ -165,7 +165,7 @@ static int pm8921_probe(struct platform_device *pdev) ...@@ -165,7 +165,7 @@ static int pm8921_probe(struct platform_device *pdev)
return rc; return rc;
} }
static int __devexit pm8921_remove(struct platform_device *pdev) static int pm8921_remove(struct platform_device *pdev)
{ {
struct pm8xxx_drvdata *drvdata; struct pm8xxx_drvdata *drvdata;
struct pm8921 *pmic = NULL; struct pm8921 *pmic = NULL;
......
...@@ -363,7 +363,7 @@ struct pm_irq_chip * pm8xxx_irq_init(struct device *dev, ...@@ -363,7 +363,7 @@ struct pm_irq_chip * pm8xxx_irq_init(struct device *dev,
return chip; 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); irq_set_chained_handler(chip->devirq, NULL);
kfree(chip); kfree(chip);
......
...@@ -303,7 +303,7 @@ static int rc5t583_i2c_probe(struct i2c_client *i2c, ...@@ -303,7 +303,7 @@ static int rc5t583_i2c_probe(struct i2c_client *i2c,
return ret; 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); struct rc5t583 *rc5t583 = i2c_get_clientdata(i2c);
......
...@@ -91,7 +91,7 @@ static int rdc321x_sb_probe(struct pci_dev *pdev, ...@@ -91,7 +91,7 @@ static int rdc321x_sb_probe(struct pci_dev *pdev,
NULL, 0, NULL); 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); mfd_remove_devices(&pdev->dev);
} }
......
...@@ -1685,7 +1685,7 @@ static void sm501_dev_remove(struct sm501_devdata *sm) ...@@ -1685,7 +1685,7 @@ static void sm501_dev_remove(struct sm501_devdata *sm)
sm501_gpio_remove(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); struct sm501_devdata *sm = pci_get_drvdata(dev);
......
...@@ -89,7 +89,7 @@ static int sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags) ...@@ -89,7 +89,7 @@ static int sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags)
return 0; 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); struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev);
......
...@@ -63,7 +63,7 @@ stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) ...@@ -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); 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); struct stmpe *stmpe = dev_get_drvdata(&i2c->dev);
......
...@@ -101,7 +101,7 @@ stmpe_spi_probe(struct spi_device *spi) ...@@ -101,7 +101,7 @@ stmpe_spi_probe(struct spi_device *spi)
return stmpe_probe(&spi_ci, id->driver_data); 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); struct stmpe *stmpe = dev_get_drvdata(&spi->dev);
......
...@@ -138,7 +138,7 @@ static int syscon_probe(struct platform_device *pdev) ...@@ -138,7 +138,7 @@ static int syscon_probe(struct platform_device *pdev)
return 0; return 0;
} }
static int __devexit syscon_remove(struct platform_device *pdev) static int syscon_remove(struct platform_device *pdev)
{ {
struct syscon *syscon; struct syscon *syscon;
......
...@@ -402,7 +402,7 @@ static int tc3589x_probe(struct i2c_client *i2c, ...@@ -402,7 +402,7 @@ static int tc3589x_probe(struct i2c_client *i2c,
return ret; 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); struct tc3589x *tc3589x = i2c_get_clientdata(client);
......
...@@ -208,7 +208,7 @@ static int tc6387xb_probe(struct platform_device *dev) ...@@ -208,7 +208,7 @@ static int tc6387xb_probe(struct platform_device *dev)
return ret; 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); struct tc6387xb *tc6387xb = platform_get_drvdata(dev);
......
...@@ -731,7 +731,7 @@ static int tc6393xb_probe(struct platform_device *dev) ...@@ -731,7 +731,7 @@ static int tc6393xb_probe(struct platform_device *dev)
return ret; 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_platform_data *tcpd = dev->dev.platform_data;
struct tc6393xb *tc6393xb = platform_get_drvdata(dev); struct tc6393xb *tc6393xb = platform_get_drvdata(dev);
......
...@@ -433,7 +433,7 @@ static int ti_ssp_probe(struct platform_device *pdev) ...@@ -433,7 +433,7 @@ static int ti_ssp_probe(struct platform_device *pdev)
return error; 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 device *dev = &pdev->dev;
struct ti_ssp *ssp = dev_get_drvdata(dev); struct ti_ssp *ssp = dev_get_drvdata(dev);
......
...@@ -840,7 +840,7 @@ static int timb_probe(struct pci_dev *dev, ...@@ -840,7 +840,7 @@ static int timb_probe(struct pci_dev *dev,
return -ENODEV; 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); struct timberdale_device *priv = pci_get_drvdata(dev);
......
...@@ -199,7 +199,7 @@ static int tps6105x_probe(struct i2c_client *client, ...@@ -199,7 +199,7 @@ static int tps6105x_probe(struct i2c_client *client,
return ret; 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); struct tps6105x *tps6105x = i2c_get_clientdata(client);
......
...@@ -308,7 +308,7 @@ static int tps65090_i2c_probe(struct i2c_client *client, ...@@ -308,7 +308,7 @@ static int tps65090_i2c_probe(struct i2c_client *client,
return ret; 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); struct tps65090 *tps65090 = i2c_get_clientdata(client);
......
...@@ -214,7 +214,7 @@ static int tps65217_probe(struct i2c_client *client, ...@@ -214,7 +214,7 @@ static int tps65217_probe(struct i2c_client *client,
return 0; 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); struct tps65217 *tps = i2c_get_clientdata(client);
......
...@@ -548,7 +548,7 @@ static int tps6586x_i2c_probe(struct i2c_client *client, ...@@ -548,7 +548,7 @@ static int tps6586x_i2c_probe(struct i2c_client *client,
return ret; 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); struct tps6586x *tps6586x = i2c_get_clientdata(client);
......
...@@ -302,7 +302,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c, ...@@ -302,7 +302,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
return ret; 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); struct tps65910 *tps65910 = i2c_get_clientdata(i2c);
......
...@@ -152,7 +152,7 @@ static int tps65911_comparator_probe(struct platform_device *pdev) ...@@ -152,7 +152,7 @@ static int tps65911_comparator_probe(struct platform_device *pdev)
return ret; return ret;
} }
static __devexit int tps65911_comparator_remove(struct platform_device *pdev) static int tps65911_comparator_remove(struct platform_device *pdev)
{ {
struct tps65910 *tps65910; struct tps65910 *tps65910;
......
...@@ -99,7 +99,7 @@ static int tps65912_spi_probe(struct spi_device *spi) ...@@ -99,7 +99,7 @@ static int tps65912_spi_probe(struct spi_device *spi)
return tps65912_device_init(tps65912); 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); struct tps65912 *tps65912 = spi_get_drvdata(spi);
......
...@@ -269,7 +269,7 @@ static int twl4030_audio_probe(struct platform_device *pdev) ...@@ -269,7 +269,7 @@ static int twl4030_audio_probe(struct platform_device *pdev)
return ret; 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); mfd_remove_devices(&pdev->dev);
platform_set_drvdata(pdev, NULL); platform_set_drvdata(pdev, NULL);
......
...@@ -785,7 +785,7 @@ static int twl4030_madc_probe(struct platform_device *pdev) ...@@ -785,7 +785,7 @@ static int twl4030_madc_probe(struct platform_device *pdev)
return ret; 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); struct twl4030_madc_data *madc = platform_get_drvdata(pdev);
......
...@@ -112,7 +112,7 @@ static int vx855_probe(struct pci_dev *pdev, ...@@ -112,7 +112,7 @@ static int vx855_probe(struct pci_dev *pdev,
return ret; return ret;
} }
static void __devexit vx855_remove(struct pci_dev *pdev) static void vx855_remove(struct pci_dev *pdev)
{ {
mfd_remove_devices(&pdev->dev); mfd_remove_devices(&pdev->dev);
pci_disable_device(pdev); pci_disable_device(pdev);
......
...@@ -51,7 +51,7 @@ static int wm831x_spi_probe(struct spi_device *spi) ...@@ -51,7 +51,7 @@ static int wm831x_spi_probe(struct spi_device *spi)
return wm831x_device_init(wm831x, type, spi->irq); 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); struct wm831x *wm831x = dev_get_drvdata(&spi->dev);
......
...@@ -671,7 +671,7 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq) ...@@ -671,7 +671,7 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq)
return ret; return ret;
} }
static __devexit void wm8994_device_exit(struct wm8994 *wm8994) static void wm8994_device_exit(struct wm8994 *wm8994)
{ {
pm_runtime_disable(wm8994->dev); pm_runtime_disable(wm8994->dev);
mfd_remove_devices(wm8994->dev); mfd_remove_devices(wm8994->dev);
...@@ -715,7 +715,7 @@ static int wm8994_i2c_probe(struct i2c_client *i2c, ...@@ -715,7 +715,7 @@ static int wm8994_i2c_probe(struct i2c_client *i2c,
return wm8994_device_init(wm8994, i2c->irq); 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); struct wm8994 *wm8994 = i2c_get_clientdata(i2c);
......
...@@ -293,7 +293,7 @@ struct ab8500_platform_data { ...@@ -293,7 +293,7 @@ struct ab8500_platform_data {
extern int ab8500_init(struct ab8500 *ab8500, extern int ab8500_init(struct ab8500 *ab8500,
enum ab8500_version version); 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); extern int ab8500_suspend(struct ab8500 *ab8500);
......
...@@ -39,7 +39,7 @@ struct pm_irq_chip; ...@@ -39,7 +39,7 @@ struct pm_irq_chip;
int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq); int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq);
struct pm_irq_chip *pm8xxx_irq_init(struct device *dev, struct pm_irq_chip *pm8xxx_irq_init(struct device *dev,
const struct pm8xxx_irq_platform_data *pdata); 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 #else
static inline int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq) 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( ...@@ -51,7 +51,7 @@ static inline struct pm_irq_chip *pm8xxx_irq_init(
{ {
return ERR_PTR(-ENXIO); 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; return -ENXIO;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment