Skip to content

Commit

Permalink
mfd: remove use of __devexit
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <[email protected]>
Cc: Srinidhi Kasagar <[email protected]>
Cc: Peter Tyser <[email protected]>
Cc: Daniel Walker <[email protected]>
Cc: Bryan Huntsman <[email protected]>
Acked-by: David Brown <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
wfp5p authored and gregkh committed Nov 28, 2012
1 parent a73e5df commit 4740f73
Show file tree
Hide file tree
Showing 65 changed files with 70 additions and 70 deletions.
2 changes: 1 addition & 1 deletion drivers/mfd/88pm800.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ static int pm800_probe(struct i2c_client *client,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/88pm805.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ static int pm805_probe(struct i2c_client *client,
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);

Expand Down
4 changes: 2 additions & 2 deletions drivers/mfd/88pm860x-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -1200,7 +1200,7 @@ static int pm860x_probe(struct i2c_client *client,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab3100-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ static int ab8500_probe(struct platform_device *pdev)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ static int ab8500_debug_probe(struct platform_device *plf)
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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-gpadc.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ static int ab8500_gpadc_probe(struct platform_device *pdev)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-sysctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/adp5520.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ static int adp5520_probe(struct i2c_client *client,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/arizona-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ int arizona_dev_init(struct arizona *arizona)
}
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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/arizona-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/arizona-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/cs5535-mfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ static int cs5535_mfd_probe(struct pci_dev *pdev,
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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da903x.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ static int da903x_probe(struct i2c_client *client,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da9052-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da9052-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da9055-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ int da9055_device_init(struct da9055 *da9055)
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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/da9055-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/davinci_voicecodec.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static int __init davinci_vc_probe(struct platform_device *pdev)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/ezx-pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions drivers/mfd/intel_msic.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ static int intel_msic_init_devices(struct intel_msic *msic)
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;
Expand Down Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/janz-cmodio.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ static int cmodio_pci_probe(struct pci_dev *dev,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/jz4740-adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ static int jz4740_adc_probe(struct platform_device *pdev)
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);

Expand Down
4 changes: 2 additions & 2 deletions drivers/mfd/lm3533-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ static int lm3533_device_init(struct lm3533 *lm3533)
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__);

Expand Down Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/lp8788.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/lpc_ich.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/lpc_sch.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ static int lpc_sch_probe(struct pci_dev *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);
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/max8907.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static int max8907_i2c_probe(struct i2c_client *i2c,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/max8925-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ int max8925_device_init(struct max8925_chip *chip,
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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/max8925-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/mc13xxx-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/mc13xxx-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/omap-usb-host.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ static int usbhs_omap_probe(struct platform_device *pdev)
*
* 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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/omap-usb-tll.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ static int usbtll_omap_probe(struct platform_device *pdev)
*
* 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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/pcf50633-adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/pcf50633-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/pm8921-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static int pm8921_probe(struct platform_device *pdev)
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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/pm8xxx-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/rc5t583.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ static int rc5t583_i2c_probe(struct i2c_client *i2c,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/mfd/rdc321x-southbridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading

0 comments on commit 4740f73

Please sign in to comment.