mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a73e5df16b
commit
4740f73fe5
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user