mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
ASoC: codecs: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
e51e97eecd
commit
7a79e94e97
@ -1423,7 +1423,7 @@ static struct snd_soc_codec_driver soc_codec_dev_pm860x = {
|
||||
.num_dapm_routes = ARRAY_SIZE(pm860x_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit pm860x_codec_probe(struct platform_device *pdev)
|
||||
static int pm860x_codec_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
|
||||
struct pm860x_priv *pm860x;
|
||||
@ -1463,7 +1463,7 @@ out:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static int __devexit pm860x_codec_remove(struct platform_device *pdev)
|
||||
static int pm860x_codec_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
@ -1476,7 +1476,7 @@ static struct platform_driver pm860x_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pm860x_codec_probe,
|
||||
.remove = __devexit_p(pm860x_codec_remove),
|
||||
.remove = pm860x_codec_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(pm860x_codec_driver);
|
||||
|
@ -2554,7 +2554,7 @@ static struct snd_soc_codec_driver ab8500_codec_driver = {
|
||||
.num_dapm_routes = ARRAY_SIZE(ab8500_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit ab8500_codec_driver_probe(struct platform_device *pdev)
|
||||
static int ab8500_codec_driver_probe(struct platform_device *pdev)
|
||||
{
|
||||
int status;
|
||||
struct ab8500_codec_drvdata *drvdata;
|
||||
@ -2580,7 +2580,7 @@ static int __devinit ab8500_codec_driver_probe(struct platform_device *pdev)
|
||||
return status;
|
||||
}
|
||||
|
||||
static int __devexit ab8500_codec_driver_remove(struct platform_device *pdev)
|
||||
static int ab8500_codec_driver_remove(struct platform_device *pdev)
|
||||
{
|
||||
dev_info(&pdev->dev, "%s Enter.\n", __func__);
|
||||
|
||||
@ -2595,7 +2595,7 @@ static struct platform_driver ab8500_codec_platform_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ab8500_codec_driver_probe,
|
||||
.remove = __devexit_p(ab8500_codec_driver_remove),
|
||||
.remove = ab8500_codec_driver_remove,
|
||||
.suspend = NULL,
|
||||
.resume = NULL,
|
||||
};
|
||||
|
@ -118,13 +118,13 @@ static struct snd_soc_codec_driver soc_codec_dev_ac97 = {
|
||||
.resume = ac97_soc_resume,
|
||||
};
|
||||
|
||||
static __devinit int ac97_probe(struct platform_device *pdev)
|
||||
static int ac97_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_ac97, &ac97_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit ac97_remove(struct platform_device *pdev)
|
||||
static int ac97_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -137,7 +137,7 @@ static struct platform_driver ac97_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = ac97_probe,
|
||||
.remove = __devexit_p(ac97_remove),
|
||||
.remove = ac97_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(ac97_codec_driver);
|
||||
|
@ -360,7 +360,7 @@ static const struct regmap_config ad1836_regmap_config = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static int __devinit ad1836_spi_probe(struct spi_device *spi)
|
||||
static int ad1836_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct ad1836_priv *ad1836;
|
||||
int ret;
|
||||
@ -383,7 +383,7 @@ static int __devinit ad1836_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ad1836_spi_remove(struct spi_device *spi)
|
||||
static int ad1836_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -405,7 +405,7 @@ static struct spi_driver ad1836_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ad1836_spi_probe,
|
||||
.remove = __devexit_p(ad1836_spi_remove),
|
||||
.remove = ad1836_spi_remove,
|
||||
.id_table = ad1836_ids,
|
||||
};
|
||||
|
||||
|
@ -378,7 +378,7 @@ static const struct regmap_config ad193x_spi_regmap_config = {
|
||||
.volatile_reg = adau193x_reg_volatile,
|
||||
};
|
||||
|
||||
static int __devinit ad193x_spi_probe(struct spi_device *spi)
|
||||
static int ad193x_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct ad193x_priv *ad193x;
|
||||
|
||||
@ -397,7 +397,7 @@ static int __devinit ad193x_spi_probe(struct spi_device *spi)
|
||||
&ad193x_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit ad193x_spi_remove(struct spi_device *spi)
|
||||
static int ad193x_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -409,7 +409,7 @@ static struct spi_driver ad193x_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ad193x_spi_probe,
|
||||
.remove = __devexit_p(ad193x_spi_remove),
|
||||
.remove = ad193x_spi_remove,
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -430,8 +430,8 @@ static const struct i2c_device_id ad193x_id[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ad193x_id);
|
||||
|
||||
static int __devinit ad193x_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int ad193x_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct ad193x_priv *ad193x;
|
||||
|
||||
@ -450,7 +450,7 @@ static int __devinit ad193x_i2c_probe(struct i2c_client *client,
|
||||
&ad193x_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit ad193x_i2c_remove(struct i2c_client *client)
|
||||
static int ad193x_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -461,7 +461,7 @@ static struct i2c_driver ad193x_i2c_driver = {
|
||||
.name = "ad193x",
|
||||
},
|
||||
.probe = ad193x_i2c_probe,
|
||||
.remove = __devexit_p(ad193x_i2c_remove),
|
||||
.remove = ad193x_i2c_remove,
|
||||
.id_table = ad193x_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -255,13 +255,13 @@ static struct snd_soc_codec_driver soc_codec_dev_ad1980 = {
|
||||
.read = ac97_read,
|
||||
};
|
||||
|
||||
static __devinit int ad1980_probe(struct platform_device *pdev)
|
||||
static int ad1980_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_ad1980, &ad1980_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit ad1980_remove(struct platform_device *pdev)
|
||||
static int ad1980_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -274,7 +274,7 @@ static struct platform_driver ad1980_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = ad1980_probe,
|
||||
.remove = __devexit_p(ad1980_remove),
|
||||
.remove = ad1980_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(ad1980_codec_driver);
|
||||
|
@ -47,7 +47,7 @@ static int ad73311_probe(struct platform_device *pdev)
|
||||
&soc_codec_dev_ad73311, &ad73311_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit ad73311_remove(struct platform_device *pdev)
|
||||
static int ad73311_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -60,7 +60,7 @@ static struct platform_driver ad73311_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = ad73311_probe,
|
||||
.remove = __devexit_p(ad73311_remove),
|
||||
.remove = ad73311_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(ad73311_codec_driver);
|
||||
|
@ -1353,8 +1353,8 @@ static struct snd_soc_codec_driver adau1373_codec_driver = {
|
||||
.num_dapm_routes = ARRAY_SIZE(adau1373_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit adau1373_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int adau1373_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct adau1373 *adau1373;
|
||||
int ret;
|
||||
@ -1370,7 +1370,7 @@ static int __devinit adau1373_i2c_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit adau1373_i2c_remove(struct i2c_client *client)
|
||||
static int adau1373_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1388,7 +1388,7 @@ static struct i2c_driver adau1373_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = adau1373_i2c_probe,
|
||||
.remove = __devexit_p(adau1373_i2c_remove),
|
||||
.remove = adau1373_i2c_remove,
|
||||
.id_table = adau1373_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -489,8 +489,8 @@ static struct snd_soc_codec_driver adau1701_codec_drv = {
|
||||
.set_sysclk = adau1701_set_sysclk,
|
||||
};
|
||||
|
||||
static __devinit int adau1701_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int adau1701_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct adau1701 *adau1701;
|
||||
int ret;
|
||||
@ -505,7 +505,7 @@ static __devinit int adau1701_i2c_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int adau1701_i2c_remove(struct i2c_client *client)
|
||||
static int adau1701_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -523,7 +523,7 @@ static struct i2c_driver adau1701_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = adau1701_i2c_probe,
|
||||
.remove = __devexit_p(adau1701_i2c_remove),
|
||||
.remove = adau1701_i2c_remove,
|
||||
.id_table = adau1701_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -839,8 +839,8 @@ static struct snd_soc_codec_driver adav80x_codec_driver = {
|
||||
.num_dapm_routes = ARRAY_SIZE(adav80x_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit adav80x_bus_probe(struct device *dev,
|
||||
enum snd_soc_control_type control_type)
|
||||
static int adav80x_bus_probe(struct device *dev,
|
||||
enum snd_soc_control_type control_type)
|
||||
{
|
||||
struct adav80x *adav80x;
|
||||
int ret;
|
||||
@ -860,7 +860,7 @@ static int __devinit adav80x_bus_probe(struct device *dev,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit adav80x_bus_remove(struct device *dev)
|
||||
static int adav80x_bus_remove(struct device *dev)
|
||||
{
|
||||
snd_soc_unregister_codec(dev);
|
||||
kfree(dev_get_drvdata(dev));
|
||||
@ -868,12 +868,12 @@ static int __devexit adav80x_bus_remove(struct device *dev)
|
||||
}
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit adav80x_spi_probe(struct spi_device *spi)
|
||||
static int adav80x_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
return adav80x_bus_probe(&spi->dev, SND_SOC_SPI);
|
||||
}
|
||||
|
||||
static int __devexit adav80x_spi_remove(struct spi_device *spi)
|
||||
static int adav80x_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
return adav80x_bus_remove(&spi->dev);
|
||||
}
|
||||
@ -884,7 +884,7 @@ static struct spi_driver adav80x_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = adav80x_spi_probe,
|
||||
.remove = __devexit_p(adav80x_spi_remove),
|
||||
.remove = adav80x_spi_remove,
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -895,13 +895,13 @@ static const struct i2c_device_id adav80x_id[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, adav80x_id);
|
||||
|
||||
static int __devinit adav80x_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int adav80x_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
return adav80x_bus_probe(&client->dev, SND_SOC_I2C);
|
||||
}
|
||||
|
||||
static int __devexit adav80x_i2c_remove(struct i2c_client *client)
|
||||
static int adav80x_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
return adav80x_bus_remove(&client->dev);
|
||||
}
|
||||
@ -912,7 +912,7 @@ static struct i2c_driver adav80x_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = adav80x_i2c_probe,
|
||||
.remove = __devexit_p(adav80x_i2c_remove),
|
||||
.remove = adav80x_i2c_remove,
|
||||
.id_table = adav80x_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -36,13 +36,13 @@ static struct snd_soc_dai_driver ads117x_dai = {
|
||||
|
||||
static struct snd_soc_codec_driver soc_codec_dev_ads117x;
|
||||
|
||||
static __devinit int ads117x_probe(struct platform_device *pdev)
|
||||
static int ads117x_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_ads117x, &ads117x_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit ads117x_remove(struct platform_device *pdev)
|
||||
static int ads117x_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -55,7 +55,7 @@ static struct platform_driver ads117x_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = ads117x_probe,
|
||||
.remove = __devexit_p(ads117x_remove),
|
||||
.remove = ads117x_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(ads117x_codec_driver);
|
||||
|
@ -258,7 +258,7 @@ static int ak4104_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ak4104_spi_remove(struct spi_device *spi)
|
||||
static int ak4104_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -277,7 +277,7 @@ static struct spi_driver ak4104_spi_driver = {
|
||||
.of_match_table = ak4104_of_match,
|
||||
},
|
||||
.probe = ak4104_spi_probe,
|
||||
.remove = __devexit_p(ak4104_spi_remove),
|
||||
.remove = ak4104_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(ak4104_spi_driver);
|
||||
|
@ -436,8 +436,8 @@ static struct snd_soc_codec_driver soc_codec_dev_ak4535 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(ak4535_audio_map),
|
||||
};
|
||||
|
||||
static __devinit int ak4535_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int ak4535_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct ak4535_priv *ak4535;
|
||||
int ret;
|
||||
@ -462,7 +462,7 @@ static __devinit int ak4535_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int ak4535_i2c_remove(struct i2c_client *client)
|
||||
static int ak4535_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -480,7 +480,7 @@ static struct i2c_driver ak4535_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ak4535_i2c_probe,
|
||||
.remove = __devexit_p(ak4535_i2c_remove),
|
||||
.remove = ak4535_i2c_remove,
|
||||
.id_table = ak4535_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -557,8 +557,8 @@ static struct snd_soc_codec_driver soc_codec_dev_ak4641 = {
|
||||
};
|
||||
|
||||
|
||||
static int __devinit ak4641_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int ak4641_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct ak4641_platform_data *pdata = i2c->dev.platform_data;
|
||||
struct ak4641_priv *ak4641;
|
||||
@ -610,7 +610,7 @@ err_out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ak4641_i2c_remove(struct i2c_client *i2c)
|
||||
static int ak4641_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
struct ak4641_platform_data *pdata = i2c->dev.platform_data;
|
||||
|
||||
@ -640,7 +640,7 @@ static struct i2c_driver ak4641_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ak4641_i2c_probe,
|
||||
.remove = __devexit_p(ak4641_i2c_remove),
|
||||
.remove = ak4641_i2c_remove,
|
||||
.id_table = ak4641_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -513,15 +513,15 @@ static struct snd_soc_codec_driver soc_codec_dev_ak4648 = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int ak4642_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int ak4642_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
return snd_soc_register_codec(&i2c->dev,
|
||||
(struct snd_soc_codec_driver *)id->driver_data,
|
||||
&ak4642_dai, 1);
|
||||
}
|
||||
|
||||
static __devexit int ak4642_i2c_remove(struct i2c_client *client)
|
||||
static int ak4642_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -541,7 +541,7 @@ static struct i2c_driver ak4642_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ak4642_i2c_probe,
|
||||
.remove = __devexit_p(ak4642_i2c_remove),
|
||||
.remove = ak4642_i2c_remove,
|
||||
.id_table = ak4642_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -655,8 +655,8 @@ static struct snd_soc_codec_driver soc_codec_dev_ak4671 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(ak4671_intercon),
|
||||
};
|
||||
|
||||
static int __devinit ak4671_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int ak4671_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct ak4671_priv *ak4671;
|
||||
int ret;
|
||||
@ -674,7 +674,7 @@ static int __devinit ak4671_i2c_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int ak4671_i2c_remove(struct i2c_client *client)
|
||||
static int ak4671_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -692,7 +692,7 @@ static struct i2c_driver ak4671_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ak4671_i2c_probe,
|
||||
.remove = __devexit_p(ak4671_i2c_remove),
|
||||
.remove = ak4671_i2c_remove,
|
||||
.id_table = ak4671_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -991,8 +991,8 @@ static struct snd_soc_codec_driver soc_codec_device_alc5623 = {
|
||||
* low = 0x1a
|
||||
* high = 0x1b
|
||||
*/
|
||||
static __devinit int alc5623_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int alc5623_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct alc5623_platform_data *pdata;
|
||||
struct alc5623_priv *alc5623;
|
||||
@ -1058,7 +1058,7 @@ static __devinit int alc5623_i2c_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int alc5623_i2c_remove(struct i2c_client *client)
|
||||
static int alc5623_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1079,7 +1079,7 @@ static struct i2c_driver alc5623_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = alc5623_i2c_probe,
|
||||
.remove = __devexit_p(alc5623_i2c_remove),
|
||||
.remove = alc5623_i2c_remove,
|
||||
.id_table = alc5623_i2c_table,
|
||||
};
|
||||
|
||||
|
@ -1116,8 +1116,8 @@ static struct regmap_config alc5632_regmap = {
|
||||
* low = 0x1a
|
||||
* high = 0x1b
|
||||
*/
|
||||
static __devinit int alc5632_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int alc5632_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct alc5632_priv *alc5632;
|
||||
int ret, ret1, ret2;
|
||||
@ -1179,7 +1179,7 @@ static __devinit int alc5632_i2c_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int alc5632_i2c_remove(struct i2c_client *client)
|
||||
static int alc5632_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1198,7 +1198,7 @@ static struct i2c_driver alc5632_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = alc5632_i2c_probe,
|
||||
.remove = __devexit_p(alc5632_i2c_remove),
|
||||
.remove = alc5632_i2c_remove,
|
||||
.id_table = alc5632_i2c_table,
|
||||
};
|
||||
|
||||
|
@ -201,7 +201,7 @@ static struct platform_driver cq93vc_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = cq93vc_platform_probe,
|
||||
.remove = __devexit_p(cq93vc_platform_remove),
|
||||
.remove = cq93vc_platform_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(cq93vc_codec_driver);
|
||||
|
@ -570,7 +570,7 @@ static struct snd_soc_codec_driver soc_codec_dev_cs4271 = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit cs4271_spi_probe(struct spi_device *spi)
|
||||
static int cs4271_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct cs4271_private *cs4271;
|
||||
|
||||
@ -585,7 +585,7 @@ static int __devinit cs4271_spi_probe(struct spi_device *spi)
|
||||
&cs4271_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit cs4271_spi_remove(struct spi_device *spi)
|
||||
static int cs4271_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -598,7 +598,7 @@ static struct spi_driver cs4271_spi_driver = {
|
||||
.of_match_table = of_match_ptr(cs4271_dt_ids),
|
||||
},
|
||||
.probe = cs4271_spi_probe,
|
||||
.remove = __devexit_p(cs4271_spi_remove),
|
||||
.remove = cs4271_spi_remove,
|
||||
};
|
||||
#endif /* defined(CONFIG_SPI_MASTER) */
|
||||
|
||||
@ -609,8 +609,8 @@ static const struct i2c_device_id cs4271_i2c_id[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, cs4271_i2c_id);
|
||||
|
||||
static int __devinit cs4271_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int cs4271_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct cs4271_private *cs4271;
|
||||
|
||||
@ -625,7 +625,7 @@ static int __devinit cs4271_i2c_probe(struct i2c_client *client,
|
||||
&cs4271_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit cs4271_i2c_remove(struct i2c_client *client)
|
||||
static int cs4271_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -639,7 +639,7 @@ static struct i2c_driver cs4271_i2c_driver = {
|
||||
},
|
||||
.id_table = cs4271_i2c_id,
|
||||
.probe = cs4271_i2c_probe,
|
||||
.remove = __devexit_p(cs4271_i2c_remove),
|
||||
.remove = cs4271_i2c_remove,
|
||||
};
|
||||
#endif /* defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) */
|
||||
|
||||
|
@ -1271,7 +1271,7 @@ static struct i2c_driver cs42l52_i2c_driver = {
|
||||
},
|
||||
.id_table = cs42l52_id,
|
||||
.probe = cs42l52_i2c_probe,
|
||||
.remove = __devexit_p(cs42l52_i2c_remove),
|
||||
.remove = cs42l52_i2c_remove,
|
||||
};
|
||||
|
||||
module_i2c_driver(cs42l52_i2c_driver);
|
||||
|
@ -1345,8 +1345,8 @@ static struct regmap_config cs42l73_regmap = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static __devinit int cs42l73_i2c_probe(struct i2c_client *i2c_client,
|
||||
const struct i2c_device_id *id)
|
||||
static int cs42l73_i2c_probe(struct i2c_client *i2c_client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct cs42l73_private *cs42l73;
|
||||
int ret;
|
||||
@ -1406,7 +1406,7 @@ static __devinit int cs42l73_i2c_probe(struct i2c_client *i2c_client,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int cs42l73_i2c_remove(struct i2c_client *client)
|
||||
static int cs42l73_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1426,7 +1426,7 @@ static struct i2c_driver cs42l73_i2c_driver = {
|
||||
},
|
||||
.id_table = cs42l73_id,
|
||||
.probe = cs42l73_i2c_probe,
|
||||
.remove = __devexit_p(cs42l73_i2c_remove),
|
||||
.remove = cs42l73_i2c_remove,
|
||||
|
||||
};
|
||||
|
||||
|
@ -1218,8 +1218,8 @@ static const struct regmap_config da7210_regmap_config_i2c = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static int __devinit da7210_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int da7210_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct da7210_priv *da7210;
|
||||
int ret;
|
||||
@ -1251,7 +1251,7 @@ static int __devinit da7210_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit da7210_i2c_remove(struct i2c_client *client)
|
||||
static int da7210_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1270,7 +1270,7 @@ static struct i2c_driver da7210_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da7210_i2c_probe,
|
||||
.remove = __devexit_p(da7210_i2c_remove),
|
||||
.remove = da7210_i2c_remove,
|
||||
.id_table = da7210_i2c_id,
|
||||
};
|
||||
#endif
|
||||
@ -1314,7 +1314,7 @@ static const struct regmap_config da7210_regmap_config_spi = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static int __devinit da7210_spi_probe(struct spi_device *spi)
|
||||
static int da7210_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct da7210_priv *da7210;
|
||||
int ret;
|
||||
@ -1343,7 +1343,7 @@ static int __devinit da7210_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit da7210_spi_remove(struct spi_device *spi)
|
||||
static int da7210_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -1355,7 +1355,7 @@ static struct spi_driver da7210_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da7210_spi_probe,
|
||||
.remove = __devexit_p(da7210_spi_remove)
|
||||
.remove = da7210_spi_remove
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -1557,8 +1557,8 @@ static struct snd_soc_codec_driver soc_codec_dev_da732x = {
|
||||
.reg_cache_size = ARRAY_SIZE(da732x_reg_cache),
|
||||
};
|
||||
|
||||
static __devinit int da732x_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int da732x_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct da732x_priv *da732x;
|
||||
unsigned int reg;
|
||||
@ -1596,7 +1596,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int da732x_i2c_remove(struct i2c_client *client)
|
||||
static int da732x_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -1615,7 +1615,7 @@ static struct i2c_driver da732x_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da732x_i2c_probe,
|
||||
.remove = __devexit_p(da732x_i2c_remove),
|
||||
.remove = da732x_i2c_remove,
|
||||
.id_table = da732x_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1484,8 +1484,8 @@ static const struct regmap_config da9055_regmap_config = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static int __devinit da9055_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int da9055_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct da9055_priv *da9055;
|
||||
struct da9055_platform_data *pdata = dev_get_platdata(&i2c->dev);
|
||||
@ -1517,7 +1517,7 @@ static int __devinit da9055_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit da9055_remove(struct i2c_client *client)
|
||||
static int da9055_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1536,7 +1536,7 @@ static struct i2c_driver da9055_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da9055_i2c_probe,
|
||||
.remove = __devexit_p(da9055_remove),
|
||||
.remove = da9055_remove,
|
||||
.id_table = da9055_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -33,13 +33,13 @@ static struct snd_soc_dai_driver dfbmcs320_dai = {
|
||||
|
||||
static struct snd_soc_codec_driver soc_codec_dev_dfbmcs320;
|
||||
|
||||
static int __devinit dfbmcs320_probe(struct platform_device *pdev)
|
||||
static int dfbmcs320_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_dfbmcs320,
|
||||
&dfbmcs320_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit dfbmcs320_remove(struct platform_device *pdev)
|
||||
static int dfbmcs320_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
|
||||
@ -52,7 +52,7 @@ static struct platform_driver dfmcs320_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = dfbmcs320_probe,
|
||||
.remove = __devexit_p(dfbmcs320_remove),
|
||||
.remove = dfbmcs320_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(dfmcs320_driver);
|
||||
|
@ -66,13 +66,13 @@ static struct snd_soc_codec_driver soc_dmic = {
|
||||
.probe = dmic_probe,
|
||||
};
|
||||
|
||||
static int __devinit dmic_dev_probe(struct platform_device *pdev)
|
||||
static int dmic_dev_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_dmic, &dmic_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit dmic_dev_remove(struct platform_device *pdev)
|
||||
static int dmic_dev_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -86,7 +86,7 @@ static struct platform_driver dmic_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = dmic_dev_probe,
|
||||
.remove = __devexit_p(dmic_dev_remove),
|
||||
.remove = dmic_dev_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(dmic_driver);
|
||||
|
@ -348,7 +348,7 @@ static const struct regmap_config jz4740_codec_regmap_config = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static int __devinit jz4740_codec_probe(struct platform_device *pdev)
|
||||
static int jz4740_codec_probe(struct platform_device *pdev)
|
||||
{
|
||||
int ret;
|
||||
struct jz4740_codec *jz4740_codec;
|
||||
@ -380,7 +380,7 @@ static int __devinit jz4740_codec_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit jz4740_codec_remove(struct platform_device *pdev)
|
||||
static int jz4740_codec_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
|
||||
@ -391,7 +391,7 @@ static int __devexit jz4740_codec_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver jz4740_codec_driver = {
|
||||
.probe = jz4740_codec_probe,
|
||||
.remove = __devexit_p(jz4740_codec_remove),
|
||||
.remove = jz4740_codec_remove,
|
||||
.driver = {
|
||||
.name = "jz4740-codec",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -209,8 +209,8 @@ static struct snd_soc_codec_driver soc_codec_dev_lm4857 = {
|
||||
.set_bias_level = lm4857_set_bias_level,
|
||||
};
|
||||
|
||||
static int __devinit lm4857_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int lm4857_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct lm4857 *lm4857;
|
||||
int ret;
|
||||
@ -228,7 +228,7 @@ static int __devinit lm4857_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit lm4857_i2c_remove(struct i2c_client *i2c)
|
||||
static int lm4857_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
snd_soc_unregister_codec(&i2c->dev);
|
||||
return 0;
|
||||
@ -246,7 +246,7 @@ static struct i2c_driver lm4857_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = lm4857_i2c_probe,
|
||||
.remove = __devexit_p(lm4857_i2c_remove),
|
||||
.remove = lm4857_i2c_remove,
|
||||
.id_table = lm4857_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -159,8 +159,8 @@ static const struct regmap_config max9768_i2c_regmap_config = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static int __devinit max9768_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int max9768_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct max9768 *max9768;
|
||||
struct max9768_pdata *pdata = client->dev.platform_data;
|
||||
@ -208,7 +208,7 @@ static int __devinit max9768_i2c_probe(struct i2c_client *client,
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit max9768_i2c_remove(struct i2c_client *client)
|
||||
static int max9768_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct max9768 *max9768 = i2c_get_clientdata(client);
|
||||
|
||||
@ -234,7 +234,7 @@ static struct i2c_driver max9768_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max9768_i2c_probe,
|
||||
.remove = __devexit_p(max9768_i2c_remove),
|
||||
.remove = max9768_i2c_remove,
|
||||
.id_table = max9768_i2c_id,
|
||||
};
|
||||
module_i2c_driver(max9768_i2c_driver);
|
||||
|
@ -2084,7 +2084,7 @@ static int max98088_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit max98088_i2c_remove(struct i2c_client *client)
|
||||
static int max98088_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
|
@ -2511,7 +2511,7 @@ static int max98095_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit max98095_i2c_remove(struct i2c_client *client)
|
||||
static int max98095_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -2529,7 +2529,7 @@ static struct i2c_driver max98095_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max98095_i2c_probe,
|
||||
.remove = __devexit_p(max98095_i2c_remove),
|
||||
.remove = max98095_i2c_remove,
|
||||
.id_table = max98095_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -329,8 +329,8 @@ static struct snd_soc_codec_driver soc_codec_dev_max9850 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(max9850_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit max9850_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int max9850_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct max9850_priv *max9850;
|
||||
int ret;
|
||||
@ -347,7 +347,7 @@ static int __devinit max9850_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int max9850_i2c_remove(struct i2c_client *client)
|
||||
static int max9850_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -365,7 +365,7 @@ static struct i2c_driver max9850_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max9850_i2c_probe,
|
||||
.remove = __devexit_p(max9850_i2c_remove),
|
||||
.remove = max9850_i2c_remove,
|
||||
.id_table = max9850_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -258,8 +258,8 @@ int max9877_add_controls(struct snd_soc_codec *codec)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(max9877_add_controls);
|
||||
|
||||
static int __devinit max9877_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int max9877_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
i2c = client;
|
||||
|
||||
@ -268,7 +268,7 @@ static int __devinit max9877_i2c_probe(struct i2c_client *client,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int max9877_i2c_remove(struct i2c_client *client)
|
||||
static int max9877_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
i2c = NULL;
|
||||
|
||||
@ -287,7 +287,7 @@ static struct i2c_driver max9877_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max9877_i2c_probe,
|
||||
.remove = __devexit_p(max9877_i2c_remove),
|
||||
.remove = max9877_i2c_remove,
|
||||
.id_table = max9877_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -779,7 +779,7 @@ static struct platform_driver mc13783_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = mc13783_codec_probe,
|
||||
.remove = __devexit_p(mc13783_codec_remove),
|
||||
.remove = mc13783_codec_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(mc13783_codec_driver);
|
||||
|
@ -626,8 +626,8 @@ static const struct regmap_config ml26124_i2c_regmap = {
|
||||
.write_flag_mask = 0x01,
|
||||
};
|
||||
|
||||
static __devinit int ml26124_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int ml26124_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct ml26124_priv *priv;
|
||||
int ret;
|
||||
@ -649,7 +649,7 @@ static __devinit int ml26124_i2c_probe(struct i2c_client *i2c,
|
||||
&soc_codec_dev_ml26124, &ml26124_dai, 1);
|
||||
}
|
||||
|
||||
static __devexit int ml26124_i2c_remove(struct i2c_client *client)
|
||||
static int ml26124_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -667,7 +667,7 @@ static struct i2c_driver ml26124_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ml26124_i2c_probe,
|
||||
.remove = __devexit_p(ml26124_i2c_remove),
|
||||
.remove = ml26124_i2c_remove,
|
||||
.id_table = ml26124_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -39,13 +39,13 @@ static struct snd_soc_dai_driver omap_hdmi_codec_dai = {
|
||||
},
|
||||
};
|
||||
|
||||
static __devinit int omap_hdmi_codec_probe(struct platform_device *pdev)
|
||||
static int omap_hdmi_codec_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev, &omap_hdmi_codec,
|
||||
&omap_hdmi_codec_dai, 1);
|
||||
}
|
||||
|
||||
static __devexit int omap_hdmi_codec_remove(struct platform_device *pdev)
|
||||
static int omap_hdmi_codec_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -58,7 +58,7 @@ static struct platform_driver omap_hdmi_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = omap_hdmi_codec_probe,
|
||||
.remove = __devexit_p(omap_hdmi_codec_remove),
|
||||
.remove = omap_hdmi_codec_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(omap_hdmi_codec_driver);
|
||||
|
@ -149,13 +149,13 @@ static struct snd_soc_codec_driver soc_codec_dev_pcm3008 = {
|
||||
.resume = pcm3008_soc_resume,
|
||||
};
|
||||
|
||||
static int __devinit pcm3008_codec_probe(struct platform_device *pdev)
|
||||
static int pcm3008_codec_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_pcm3008, &pcm3008_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit pcm3008_codec_remove(struct platform_device *pdev)
|
||||
static int pcm3008_codec_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -165,7 +165,7 @@ MODULE_ALIAS("platform:pcm3008-codec");
|
||||
|
||||
static struct platform_driver pcm3008_codec_driver = {
|
||||
.probe = pcm3008_codec_probe,
|
||||
.remove = __devexit_p(pcm3008_codec_remove),
|
||||
.remove = pcm3008_codec_remove,
|
||||
.driver = {
|
||||
.name = "pcm3008-codec",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -1748,7 +1748,7 @@ static int rt5631_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int rt5631_i2c_remove(struct i2c_client *client)
|
||||
static int rt5631_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1760,7 +1760,7 @@ static struct i2c_driver rt5631_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = rt5631_i2c_probe,
|
||||
.remove = __devexit_p(rt5631_i2c_remove),
|
||||
.remove = rt5631_i2c_remove,
|
||||
.id_table = rt5631_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1404,8 +1404,8 @@ static struct snd_soc_codec_driver sgtl5000_driver = {
|
||||
.num_dapm_routes = ARRAY_SIZE(sgtl5000_dapm_routes),
|
||||
};
|
||||
|
||||
static __devinit int sgtl5000_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int sgtl5000_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct sgtl5000_priv *sgtl5000;
|
||||
int ret;
|
||||
@ -1422,7 +1422,7 @@ static __devinit int sgtl5000_i2c_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int sgtl5000_i2c_remove(struct i2c_client *client)
|
||||
static int sgtl5000_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -1449,7 +1449,7 @@ static struct i2c_driver sgtl5000_i2c_driver = {
|
||||
.of_match_table = sgtl5000_dt_ids,
|
||||
},
|
||||
.probe = sgtl5000_i2c_probe,
|
||||
.remove = __devexit_p(sgtl5000_i2c_remove),
|
||||
.remove = sgtl5000_i2c_remove,
|
||||
.id_table = sgtl5000_id,
|
||||
};
|
||||
|
||||
|
@ -226,13 +226,13 @@ static struct snd_soc_codec_driver soc_codec_dev_si476x = {
|
||||
.write = si476x_codec_write,
|
||||
};
|
||||
|
||||
static int __devinit si476x_platform_probe(struct platform_device *pdev)
|
||||
static int si476x_platform_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_si476x,
|
||||
&si476x_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit si476x_platform_remove(struct platform_device *pdev)
|
||||
static int si476x_platform_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -246,7 +246,7 @@ static struct platform_driver si476x_platform_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = si476x_platform_probe,
|
||||
.remove = __devexit_p(si476x_platform_remove),
|
||||
.remove = si476x_platform_remove,
|
||||
};
|
||||
module_platform_driver(si476x_platform_driver);
|
||||
|
||||
|
@ -896,14 +896,14 @@ struct snd_soc_codec_driver sn95031_codec = {
|
||||
.num_dapm_routes = ARRAY_SIZE(sn95031_audio_map),
|
||||
};
|
||||
|
||||
static int __devinit sn95031_device_probe(struct platform_device *pdev)
|
||||
static int sn95031_device_probe(struct platform_device *pdev)
|
||||
{
|
||||
pr_debug("codec device probe called for %s\n", dev_name(&pdev->dev));
|
||||
return snd_soc_register_codec(&pdev->dev, &sn95031_codec,
|
||||
sn95031_dais, ARRAY_SIZE(sn95031_dais));
|
||||
}
|
||||
|
||||
static int __devexit sn95031_device_remove(struct platform_device *pdev)
|
||||
static int sn95031_device_remove(struct platform_device *pdev)
|
||||
{
|
||||
pr_debug("codec device remove called\n");
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
@ -916,7 +916,7 @@ static struct platform_driver sn95031_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sn95031_device_probe,
|
||||
.remove = __devexit_p(sn95031_device_remove),
|
||||
.remove = sn95031_device_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(sn95031_codec_driver);
|
||||
|
@ -691,7 +691,7 @@ static const struct regmap_config ssm2602_regmap_config = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit ssm2602_spi_probe(struct spi_device *spi)
|
||||
static int ssm2602_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct ssm2602_priv *ssm2602;
|
||||
int ret;
|
||||
@ -713,7 +713,7 @@ static int __devinit ssm2602_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ssm2602_spi_remove(struct spi_device *spi)
|
||||
static int ssm2602_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -725,7 +725,7 @@ static struct spi_driver ssm2602_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ssm2602_spi_probe,
|
||||
.remove = __devexit_p(ssm2602_spi_remove),
|
||||
.remove = ssm2602_spi_remove,
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -736,7 +736,7 @@ static struct spi_driver ssm2602_spi_driver = {
|
||||
* low = 0x1a
|
||||
* high = 0x1b
|
||||
*/
|
||||
static int __devinit ssm2602_i2c_probe(struct i2c_client *i2c,
|
||||
static int ssm2602_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct ssm2602_priv *ssm2602;
|
||||
@ -759,7 +759,7 @@ static int __devinit ssm2602_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ssm2602_i2c_remove(struct i2c_client *client)
|
||||
static int ssm2602_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -780,7 +780,7 @@ static struct i2c_driver ssm2602_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ssm2602_i2c_probe,
|
||||
.remove = __devexit_p(ssm2602_i2c_remove),
|
||||
.remove = ssm2602_i2c_remove,
|
||||
.id_table = ssm2602_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -995,8 +995,8 @@ static const struct regmap_config sta32x_regmap = {
|
||||
.volatile_reg = sta32x_reg_is_volatile,
|
||||
};
|
||||
|
||||
static __devinit int sta32x_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int sta32x_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct sta32x_priv *sta32x;
|
||||
int ret, i;
|
||||
@ -1033,7 +1033,7 @@ static __devinit int sta32x_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int sta32x_i2c_remove(struct i2c_client *client)
|
||||
static int sta32x_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1053,7 +1053,7 @@ static struct i2c_driver sta32x_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sta32x_i2c_probe,
|
||||
.remove = __devexit_p(sta32x_i2c_remove),
|
||||
.remove = sta32x_i2c_remove,
|
||||
.id_table = sta32x_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -380,8 +380,8 @@ static const struct regmap_config sta529_regmap = {
|
||||
.num_reg_defaults = ARRAY_SIZE(sta529_reg_defaults),
|
||||
};
|
||||
|
||||
static __devinit int sta529_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int sta529_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct sta529 *sta529;
|
||||
int ret;
|
||||
@ -412,7 +412,7 @@ static __devinit int sta529_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit sta529_i2c_remove(struct i2c_client *client)
|
||||
static int sta529_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -431,7 +431,7 @@ static struct i2c_driver sta529_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sta529_i2c_probe,
|
||||
.remove = __devexit_p(sta529_i2c_remove),
|
||||
.remove = sta529_i2c_remove,
|
||||
.id_table = sta529_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -385,13 +385,13 @@ static struct snd_soc_codec_driver soc_codec_dev_stac9766 = {
|
||||
.reg_cache_default = stac9766_reg,
|
||||
};
|
||||
|
||||
static __devinit int stac9766_probe(struct platform_device *pdev)
|
||||
static int stac9766_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_stac9766, stac9766_dai, ARRAY_SIZE(stac9766_dai));
|
||||
}
|
||||
|
||||
static int __devexit stac9766_remove(struct platform_device *pdev)
|
||||
static int stac9766_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -404,7 +404,7 @@ static struct platform_driver stac9766_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = stac9766_probe,
|
||||
.remove = __devexit_p(stac9766_remove),
|
||||
.remove = stac9766_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(stac9766_codec_driver);
|
||||
|
@ -716,8 +716,8 @@ static struct snd_soc_codec_driver soc_codec_dev_aic32x4 = {
|
||||
.set_bias_level = aic32x4_set_bias_level,
|
||||
};
|
||||
|
||||
static __devinit int aic32x4_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int aic32x4_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct aic32x4_pdata *pdata = i2c->dev.platform_data;
|
||||
struct aic32x4_priv *aic32x4;
|
||||
@ -748,7 +748,7 @@ static __devinit int aic32x4_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int aic32x4_i2c_remove(struct i2c_client *client)
|
||||
static int aic32x4_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -766,7 +766,7 @@ static struct i2c_driver aic32x4_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = aic32x4_i2c_probe,
|
||||
.remove = __devexit_p(aic32x4_i2c_remove),
|
||||
.remove = aic32x4_i2c_remove,
|
||||
.id_table = aic32x4_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1514,8 +1514,8 @@ static struct snd_soc_dai_driver dac33_dai = {
|
||||
.ops = &dac33_dai_ops,
|
||||
};
|
||||
|
||||
static int __devinit dac33_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int dac33_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct tlv320dac33_platform_data *pdata;
|
||||
struct tlv320dac33_priv *dac33;
|
||||
@ -1586,7 +1586,7 @@ err_gpio:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit dac33_i2c_remove(struct i2c_client *client)
|
||||
static int dac33_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct tlv320dac33_priv *dac33 = i2c_get_clientdata(client);
|
||||
|
||||
@ -1617,7 +1617,7 @@ static struct i2c_driver tlv320dac33_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = dac33_i2c_probe,
|
||||
.remove = __devexit_p(dac33_i2c_remove),
|
||||
.remove = dac33_i2c_remove,
|
||||
.id_table = tlv320dac33_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -359,8 +359,8 @@ int tpa6130a2_add_controls(struct snd_soc_codec *codec)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tpa6130a2_add_controls);
|
||||
|
||||
static int __devinit tpa6130a2_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int tpa6130a2_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct device *dev;
|
||||
struct tpa6130a2_data *data;
|
||||
@ -455,7 +455,7 @@ err_gpio:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit tpa6130a2_remove(struct i2c_client *client)
|
||||
static int tpa6130a2_remove(struct i2c_client *client)
|
||||
{
|
||||
struct tpa6130a2_data *data = i2c_get_clientdata(client);
|
||||
|
||||
@ -483,7 +483,7 @@ static struct i2c_driver tpa6130a2_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tpa6130a2_probe,
|
||||
.remove = __devexit_p(tpa6130a2_remove),
|
||||
.remove = tpa6130a2_remove,
|
||||
.id_table = tpa6130a2_id,
|
||||
};
|
||||
|
||||
|
@ -1229,13 +1229,13 @@ static struct snd_soc_codec_driver soc_codec_dev_twl6040 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(intercon),
|
||||
};
|
||||
|
||||
static int __devinit twl6040_codec_probe(struct platform_device *pdev)
|
||||
static int twl6040_codec_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_twl6040,
|
||||
twl6040_dai, ARRAY_SIZE(twl6040_dai));
|
||||
}
|
||||
|
||||
static int __devexit twl6040_codec_remove(struct platform_device *pdev)
|
||||
static int twl6040_codec_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -1247,7 +1247,7 @@ static struct platform_driver twl6040_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = twl6040_codec_probe,
|
||||
.remove = __devexit_p(twl6040_codec_remove),
|
||||
.remove = twl6040_codec_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(twl6040_codec_driver);
|
||||
|
@ -601,13 +601,13 @@ static struct snd_soc_codec_driver soc_codec_dev_uda134x = {
|
||||
.set_bias_level = uda134x_set_bias_level,
|
||||
};
|
||||
|
||||
static int __devinit uda134x_codec_probe(struct platform_device *pdev)
|
||||
static int uda134x_codec_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_uda134x, &uda134x_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit uda134x_codec_remove(struct platform_device *pdev)
|
||||
static int uda134x_codec_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -619,7 +619,7 @@ static struct platform_driver uda134x_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = uda134x_codec_probe,
|
||||
.remove = __devexit_p(uda134x_codec_remove),
|
||||
.remove = uda134x_codec_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(uda134x_codec_driver);
|
||||
|
@ -795,8 +795,8 @@ static struct snd_soc_codec_driver soc_codec_dev_uda1380 = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int uda1380_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int uda1380_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct uda1380_priv *uda1380;
|
||||
int ret;
|
||||
@ -814,7 +814,7 @@ static __devinit int uda1380_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit uda1380_i2c_remove(struct i2c_client *i2c)
|
||||
static int uda1380_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
snd_soc_unregister_codec(&i2c->dev);
|
||||
return 0;
|
||||
@ -832,7 +832,7 @@ static struct i2c_driver uda1380_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = uda1380_i2c_probe,
|
||||
.remove = __devexit_p(uda1380_i2c_remove),
|
||||
.remove = uda1380_i2c_remove,
|
||||
.id_table = uda1380_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -485,13 +485,13 @@ static struct snd_soc_codec_driver soc_codec_dev_wl1273 = {
|
||||
.remove = wl1273_remove,
|
||||
};
|
||||
|
||||
static int __devinit wl1273_platform_probe(struct platform_device *pdev)
|
||||
static int wl1273_platform_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_wl1273,
|
||||
&wl1273_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit wl1273_platform_remove(struct platform_device *pdev)
|
||||
static int wl1273_platform_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -505,7 +505,7 @@ static struct platform_driver wl1273_platform_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wl1273_platform_probe,
|
||||
.remove = __devexit_p(wl1273_platform_remove),
|
||||
.remove = wl1273_platform_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wl1273_platform_driver);
|
||||
|
@ -885,7 +885,7 @@ static int wm0010_probe(struct snd_soc_codec *codec)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devinit wm0010_spi_probe(struct spi_device *spi)
|
||||
static int wm0010_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
unsigned long gpio_flags;
|
||||
int ret;
|
||||
@ -985,7 +985,7 @@ static int __devinit wm0010_spi_probe(struct spi_device *spi)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit wm0010_spi_remove(struct spi_device *spi)
|
||||
static int wm0010_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
struct wm0010_priv *wm0010 = spi_get_drvdata(spi);
|
||||
|
||||
@ -1007,7 +1007,7 @@ static struct spi_driver wm0010_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm0010_spi_probe,
|
||||
.remove = __devexit_p(wm0010_spi_remove),
|
||||
.remove = wm0010_spi_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(wm0010_spi_driver);
|
||||
|
@ -153,7 +153,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm1250_ev1 = {
|
||||
.idle_bias_off = true,
|
||||
};
|
||||
|
||||
static int __devinit wm1250_ev1_pdata(struct i2c_client *i2c)
|
||||
static int wm1250_ev1_pdata(struct i2c_client *i2c)
|
||||
{
|
||||
struct wm1250_ev1_pdata *pdata = dev_get_platdata(&i2c->dev);
|
||||
struct wm1250_priv *wm1250;
|
||||
@ -199,8 +199,8 @@ static void wm1250_ev1_free(struct i2c_client *i2c)
|
||||
gpio_free_array(wm1250->gpios, ARRAY_SIZE(wm1250->gpios));
|
||||
}
|
||||
|
||||
static int __devinit wm1250_ev1_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *i2c_id)
|
||||
static int wm1250_ev1_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *i2c_id)
|
||||
{
|
||||
int id, board, rev, ret;
|
||||
|
||||
@ -237,7 +237,7 @@ static int __devinit wm1250_ev1_probe(struct i2c_client *i2c,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit wm1250_ev1_remove(struct i2c_client *i2c)
|
||||
static int wm1250_ev1_remove(struct i2c_client *i2c)
|
||||
{
|
||||
snd_soc_unregister_codec(&i2c->dev);
|
||||
wm1250_ev1_free(i2c);
|
||||
@ -257,7 +257,7 @@ static struct i2c_driver wm1250_ev1_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm1250_ev1_probe,
|
||||
.remove = __devexit_p(wm1250_ev1_remove),
|
||||
.remove = wm1250_ev1_remove,
|
||||
.id_table = wm1250_ev1_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -764,8 +764,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm2000 = {
|
||||
.num_controls = ARRAY_SIZE(wm2000_controls),
|
||||
};
|
||||
|
||||
static int __devinit wm2000_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *i2c_id)
|
||||
static int wm2000_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *i2c_id)
|
||||
{
|
||||
struct wm2000_priv *wm2000;
|
||||
struct wm2000_platform_data *pdata;
|
||||
@ -871,7 +871,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm2000_i2c_remove(struct i2c_client *i2c)
|
||||
static int wm2000_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
snd_soc_unregister_codec(&i2c->dev);
|
||||
|
||||
@ -890,7 +890,7 @@ static struct i2c_driver wm2000_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm2000_i2c_probe,
|
||||
.remove = __devexit_p(wm2000_i2c_remove),
|
||||
.remove = wm2000_i2c_remove,
|
||||
.id_table = wm2000_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -2184,8 +2184,8 @@ static const unsigned int wm2200_mic_ctrl_reg[] = {
|
||||
WM2200_IN3L_CONTROL,
|
||||
};
|
||||
|
||||
static __devinit int wm2200_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm2200_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm2200_pdata *pdata = dev_get_platdata(&i2c->dev);
|
||||
struct wm2200_priv *wm2200;
|
||||
@ -2385,7 +2385,7 @@ err_enable:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm2200_i2c_remove(struct i2c_client *i2c)
|
||||
static int wm2200_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
struct wm2200_priv *wm2200 = i2c_get_clientdata(i2c);
|
||||
|
||||
@ -2458,7 +2458,7 @@ static struct i2c_driver wm2200_i2c_driver = {
|
||||
.pm = &wm2200_pm,
|
||||
},
|
||||
.probe = wm2200_i2c_probe,
|
||||
.remove = __devexit_p(wm2200_i2c_remove),
|
||||
.remove = wm2200_i2c_remove,
|
||||
.id_table = wm2200_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -2414,8 +2414,8 @@ static const unsigned int wm5100_mic_ctrl_reg[] = {
|
||||
WM5100_IN4L_CONTROL,
|
||||
};
|
||||
|
||||
static __devinit int wm5100_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm5100_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm5100_pdata *pdata = dev_get_platdata(&i2c->dev);
|
||||
struct wm5100_priv *wm5100;
|
||||
@ -2639,7 +2639,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm5100_i2c_remove(struct i2c_client *i2c)
|
||||
static int wm5100_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
struct wm5100_priv *wm5100 = i2c_get_clientdata(i2c);
|
||||
|
||||
@ -2717,7 +2717,7 @@ static struct i2c_driver wm5100_i2c_driver = {
|
||||
.pm = &wm5100_pm,
|
||||
},
|
||||
.probe = wm5100_i2c_probe,
|
||||
.remove = __devexit_p(wm5100_i2c_remove),
|
||||
.remove = wm5100_i2c_remove,
|
||||
.id_table = wm5100_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1475,7 +1475,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm5102 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(wm5102_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit wm5102_probe(struct platform_device *pdev)
|
||||
static int wm5102_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
|
||||
struct wm5102_priv *wm5102;
|
||||
@ -1527,7 +1527,7 @@ static int __devinit wm5102_probe(struct platform_device *pdev)
|
||||
wm5102_dai, ARRAY_SIZE(wm5102_dai));
|
||||
}
|
||||
|
||||
static int __devexit wm5102_remove(struct platform_device *pdev)
|
||||
static int wm5102_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
@ -1541,7 +1541,7 @@ static struct platform_driver wm5102_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm5102_probe,
|
||||
.remove = __devexit_p(wm5102_remove),
|
||||
.remove = wm5102_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm5102_codec_driver);
|
||||
|
@ -992,7 +992,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm5110 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(wm5110_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit wm5110_probe(struct platform_device *pdev)
|
||||
static int wm5110_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
|
||||
struct wm5110_priv *wm5110;
|
||||
@ -1031,7 +1031,7 @@ static int __devinit wm5110_probe(struct platform_device *pdev)
|
||||
wm5110_dai, ARRAY_SIZE(wm5110_dai));
|
||||
}
|
||||
|
||||
static int __devexit wm5110_remove(struct platform_device *pdev)
|
||||
static int wm5110_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
@ -1045,7 +1045,7 @@ static struct platform_driver wm5110_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm5110_probe,
|
||||
.remove = __devexit_p(wm5110_remove),
|
||||
.remove = wm5110_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm5110_codec_driver);
|
||||
|
@ -1625,13 +1625,13 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8350 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(wm8350_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit wm8350_probe(struct platform_device *pdev)
|
||||
static int wm8350_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_wm8350,
|
||||
&wm8350_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit wm8350_remove(struct platform_device *pdev)
|
||||
static int wm8350_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -1643,7 +1643,7 @@ static struct platform_driver wm8350_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8350_probe,
|
||||
.remove = __devexit_p(wm8350_remove),
|
||||
.remove = wm8350_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm8350_codec_driver);
|
||||
|
@ -1431,13 +1431,13 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8400 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(wm8400_dapm_routes),
|
||||
};
|
||||
|
||||
static int __devinit wm8400_probe(struct platform_device *pdev)
|
||||
static int wm8400_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_wm8400,
|
||||
&wm8400_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit wm8400_remove(struct platform_device *pdev)
|
||||
static int wm8400_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -1449,7 +1449,7 @@ static struct platform_driver wm8400_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8400_probe,
|
||||
.remove = __devexit_p(wm8400_remove),
|
||||
.remove = wm8400_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm8400_codec_driver);
|
||||
|
@ -645,7 +645,7 @@ static const struct regmap_config wm8510_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8510_spi_probe(struct spi_device *spi)
|
||||
static int wm8510_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8510_priv *wm8510;
|
||||
int ret;
|
||||
@ -667,7 +667,7 @@ static int __devinit wm8510_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8510_spi_remove(struct spi_device *spi)
|
||||
static int wm8510_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -680,13 +680,13 @@ static struct spi_driver wm8510_spi_driver = {
|
||||
.of_match_table = wm8510_of_match,
|
||||
},
|
||||
.probe = wm8510_spi_probe,
|
||||
.remove = __devexit_p(wm8510_spi_remove),
|
||||
.remove = wm8510_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8510_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8510_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8510_priv *wm8510;
|
||||
int ret;
|
||||
@ -708,7 +708,7 @@ static __devinit int wm8510_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8510_i2c_remove(struct i2c_client *client)
|
||||
static int wm8510_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -727,7 +727,7 @@ static struct i2c_driver wm8510_i2c_driver = {
|
||||
.of_match_table = wm8510_of_match,
|
||||
},
|
||||
.probe = wm8510_i2c_probe,
|
||||
.remove = __devexit_p(wm8510_i2c_remove),
|
||||
.remove = wm8510_i2c_remove,
|
||||
.id_table = wm8510_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -453,8 +453,8 @@ static const struct regmap_config wm8523_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8523_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8523_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8523_priv *wm8523;
|
||||
unsigned int val;
|
||||
@ -528,7 +528,7 @@ err_enable:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8523_i2c_remove(struct i2c_client *client)
|
||||
static int wm8523_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -547,7 +547,7 @@ static struct i2c_driver wm8523_i2c_driver = {
|
||||
.of_match_table = wm8523_of_match,
|
||||
},
|
||||
.probe = wm8523_i2c_probe,
|
||||
.remove = __devexit_p(wm8523_i2c_remove),
|
||||
.remove = wm8523_i2c_remove,
|
||||
.id_table = wm8523_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -429,7 +429,7 @@ static const struct regmap_config wm8711_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8711_spi_probe(struct spi_device *spi)
|
||||
static int wm8711_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8711_priv *wm8711;
|
||||
int ret;
|
||||
@ -451,7 +451,7 @@ static int __devinit wm8711_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8711_spi_remove(struct spi_device *spi)
|
||||
static int wm8711_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
|
||||
@ -465,13 +465,13 @@ static struct spi_driver wm8711_spi_driver = {
|
||||
.of_match_table = wm8711_of_match,
|
||||
},
|
||||
.probe = wm8711_spi_probe,
|
||||
.remove = __devexit_p(wm8711_spi_remove),
|
||||
.remove = wm8711_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8711_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8711_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8711_priv *wm8711;
|
||||
int ret;
|
||||
@ -493,7 +493,7 @@ static __devinit int wm8711_i2c_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8711_i2c_remove(struct i2c_client *client)
|
||||
static int wm8711_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -512,7 +512,7 @@ static struct i2c_driver wm8711_i2c_driver = {
|
||||
.of_match_table = wm8711_of_match,
|
||||
},
|
||||
.probe = wm8711_i2c_probe,
|
||||
.remove = __devexit_p(wm8711_i2c_remove),
|
||||
.remove = wm8711_i2c_remove,
|
||||
.id_table = wm8711_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -45,13 +45,13 @@ static struct snd_soc_dai_driver wm8727_dai = {
|
||||
|
||||
static struct snd_soc_codec_driver soc_codec_dev_wm8727;
|
||||
|
||||
static __devinit int wm8727_probe(struct platform_device *pdev)
|
||||
static int wm8727_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_wm8727, &wm8727_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit wm8727_remove(struct platform_device *pdev)
|
||||
static int wm8727_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -64,7 +64,7 @@ static struct platform_driver wm8727_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = wm8727_probe,
|
||||
.remove = __devexit_p(wm8727_remove),
|
||||
.remove = wm8727_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm8727_codec_driver);
|
||||
|
@ -280,7 +280,7 @@ static const struct regmap_config wm8728_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8728_spi_probe(struct spi_device *spi)
|
||||
static int wm8728_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8728_priv *wm8728;
|
||||
int ret;
|
||||
@ -302,7 +302,7 @@ static int __devinit wm8728_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8728_spi_remove(struct spi_device *spi)
|
||||
static int wm8728_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
|
||||
@ -316,13 +316,13 @@ static struct spi_driver wm8728_spi_driver = {
|
||||
.of_match_table = wm8728_of_match,
|
||||
},
|
||||
.probe = wm8728_spi_probe,
|
||||
.remove = __devexit_p(wm8728_spi_remove),
|
||||
.remove = wm8728_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8728_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8728_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8728_priv *wm8728;
|
||||
int ret;
|
||||
@ -344,7 +344,7 @@ static __devinit int wm8728_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8728_i2c_remove(struct i2c_client *client)
|
||||
static int wm8728_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -363,7 +363,7 @@ static struct i2c_driver wm8728_i2c_driver = {
|
||||
.of_match_table = wm8728_of_match,
|
||||
},
|
||||
.probe = wm8728_i2c_probe,
|
||||
.remove = __devexit_p(wm8728_i2c_remove),
|
||||
.remove = wm8728_i2c_remove,
|
||||
.id_table = wm8728_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -631,7 +631,7 @@ static const struct regmap_config wm8731_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8731_spi_probe(struct spi_device *spi)
|
||||
static int wm8731_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8731_priv *wm8731;
|
||||
int ret;
|
||||
@ -661,7 +661,7 @@ static int __devinit wm8731_spi_probe(struct spi_device *spi)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit wm8731_spi_remove(struct spi_device *spi)
|
||||
static int wm8731_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -674,13 +674,13 @@ static struct spi_driver wm8731_spi_driver = {
|
||||
.of_match_table = wm8731_of_match,
|
||||
},
|
||||
.probe = wm8731_spi_probe,
|
||||
.remove = __devexit_p(wm8731_spi_remove),
|
||||
.remove = wm8731_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8731_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8731_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8731_priv *wm8731;
|
||||
int ret;
|
||||
@ -710,7 +710,7 @@ static __devinit int wm8731_i2c_probe(struct i2c_client *i2c,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int wm8731_i2c_remove(struct i2c_client *client)
|
||||
static int wm8731_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -729,7 +729,7 @@ static struct i2c_driver wm8731_i2c_driver = {
|
||||
.of_match_table = wm8731_of_match,
|
||||
},
|
||||
.probe = wm8731_i2c_probe,
|
||||
.remove = __devexit_p(wm8731_i2c_remove),
|
||||
.remove = wm8731_i2c_remove,
|
||||
.id_table = wm8731_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -645,8 +645,8 @@ static const struct regmap_config wm8737_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8737_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8737_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8737_priv *wm8737;
|
||||
int ret, i;
|
||||
@ -679,7 +679,7 @@ static __devinit int wm8737_i2c_probe(struct i2c_client *i2c,
|
||||
|
||||
}
|
||||
|
||||
static __devexit int wm8737_i2c_remove(struct i2c_client *client)
|
||||
static int wm8737_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -699,13 +699,13 @@ static struct i2c_driver wm8737_i2c_driver = {
|
||||
.of_match_table = wm8737_of_match,
|
||||
},
|
||||
.probe = wm8737_i2c_probe,
|
||||
.remove = __devexit_p(wm8737_i2c_remove),
|
||||
.remove = wm8737_i2c_remove,
|
||||
.id_table = wm8737_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8737_spi_probe(struct spi_device *spi)
|
||||
static int wm8737_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8737_priv *wm8737;
|
||||
int ret, i;
|
||||
@ -737,7 +737,7 @@ static int __devinit wm8737_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8737_spi_remove(struct spi_device *spi)
|
||||
static int wm8737_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
|
||||
@ -751,7 +751,7 @@ static struct spi_driver wm8737_spi_driver = {
|
||||
.of_match_table = wm8737_of_match,
|
||||
},
|
||||
.probe = wm8737_spi_probe,
|
||||
.remove = __devexit_p(wm8737_spi_remove),
|
||||
.remove = wm8737_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
|
@ -562,7 +562,7 @@ static struct i2c_driver wm8741_i2c_driver = {
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8741_spi_probe(struct spi_device *spi)
|
||||
static int wm8741_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8741_priv *wm8741;
|
||||
int ret, i;
|
||||
@ -596,7 +596,7 @@ static int __devinit wm8741_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8741_spi_remove(struct spi_device *spi)
|
||||
static int wm8741_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -609,7 +609,7 @@ static struct spi_driver wm8741_spi_driver = {
|
||||
.of_match_table = wm8741_of_match,
|
||||
},
|
||||
.probe = wm8741_spi_probe,
|
||||
.remove = __devexit_p(wm8741_spi_remove),
|
||||
.remove = wm8741_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
|
@ -769,7 +769,7 @@ static const struct regmap_config wm8750_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8750_spi_probe(struct spi_device *spi)
|
||||
static int wm8750_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8750_priv *wm8750;
|
||||
struct regmap *regmap;
|
||||
@ -791,7 +791,7 @@ static int __devinit wm8750_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8750_spi_remove(struct spi_device *spi)
|
||||
static int wm8750_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -812,13 +812,13 @@ static struct spi_driver wm8750_spi_driver = {
|
||||
},
|
||||
.id_table = wm8750_spi_ids,
|
||||
.probe = wm8750_spi_probe,
|
||||
.remove = __devexit_p(wm8750_spi_remove),
|
||||
.remove = wm8750_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8750_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8750_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8750_priv *wm8750;
|
||||
struct regmap *regmap;
|
||||
@ -840,7 +840,7 @@ static __devinit int wm8750_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8750_i2c_remove(struct i2c_client *client)
|
||||
static int wm8750_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -860,7 +860,7 @@ static struct i2c_driver wm8750_i2c_driver = {
|
||||
.of_match_table = wm8750_of_match,
|
||||
},
|
||||
.probe = wm8750_i2c_probe,
|
||||
.remove = __devexit_p(wm8750_i2c_remove),
|
||||
.remove = wm8750_i2c_remove,
|
||||
.id_table = wm8750_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -1550,7 +1550,7 @@ static const struct regmap_config wm8753_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8753_spi_probe(struct spi_device *spi)
|
||||
static int wm8753_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8753_priv *wm8753;
|
||||
int ret;
|
||||
@ -1578,7 +1578,7 @@ static int __devinit wm8753_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8753_spi_remove(struct spi_device *spi)
|
||||
static int wm8753_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -1591,13 +1591,13 @@ static struct spi_driver wm8753_spi_driver = {
|
||||
.of_match_table = wm8753_of_match,
|
||||
},
|
||||
.probe = wm8753_spi_probe,
|
||||
.remove = __devexit_p(wm8753_spi_remove),
|
||||
.remove = wm8753_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8753_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8753_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8753_priv *wm8753;
|
||||
int ret;
|
||||
@ -1625,7 +1625,7 @@ static __devinit int wm8753_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8753_i2c_remove(struct i2c_client *client)
|
||||
static int wm8753_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1644,7 +1644,7 @@ static struct i2c_driver wm8753_i2c_driver = {
|
||||
.of_match_table = wm8753_of_match,
|
||||
},
|
||||
.probe = wm8753_i2c_probe,
|
||||
.remove = __devexit_p(wm8753_i2c_remove),
|
||||
.remove = wm8753_i2c_remove,
|
||||
.id_table = wm8753_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -650,7 +650,7 @@ static const struct regmap_config wm8770_regmap = {
|
||||
.volatile_reg = wm8770_volatile_reg,
|
||||
};
|
||||
|
||||
static int __devinit wm8770_spi_probe(struct spi_device *spi)
|
||||
static int wm8770_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8770_priv *wm8770;
|
||||
int ret, i;
|
||||
@ -697,7 +697,7 @@ static int __devinit wm8770_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8770_spi_remove(struct spi_device *spi)
|
||||
static int wm8770_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
struct wm8770_priv *wm8770 = spi_get_drvdata(spi);
|
||||
int i;
|
||||
@ -718,7 +718,7 @@ static struct spi_driver wm8770_spi_driver = {
|
||||
.of_match_table = wm8770_of_match,
|
||||
},
|
||||
.probe = wm8770_spi_probe,
|
||||
.remove = __devexit_p(wm8770_spi_remove)
|
||||
.remove = wm8770_spi_remove
|
||||
};
|
||||
|
||||
module_spi_driver(wm8770_spi_driver);
|
||||
|
@ -492,7 +492,7 @@ static const struct regmap_config wm8776_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8776_spi_probe(struct spi_device *spi)
|
||||
static int wm8776_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8776_priv *wm8776;
|
||||
int ret;
|
||||
@ -514,7 +514,7 @@ static int __devinit wm8776_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8776_spi_remove(struct spi_device *spi)
|
||||
static int wm8776_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -527,13 +527,13 @@ static struct spi_driver wm8776_spi_driver = {
|
||||
.of_match_table = wm8776_of_match,
|
||||
},
|
||||
.probe = wm8776_spi_probe,
|
||||
.remove = __devexit_p(wm8776_spi_remove),
|
||||
.remove = wm8776_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8776_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8776_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8776_priv *wm8776;
|
||||
int ret;
|
||||
@ -555,7 +555,7 @@ static __devinit int wm8776_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8776_i2c_remove(struct i2c_client *client)
|
||||
static int wm8776_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -575,7 +575,7 @@ static struct i2c_driver wm8776_i2c_driver = {
|
||||
.of_match_table = wm8776_of_match,
|
||||
},
|
||||
.probe = wm8776_i2c_probe,
|
||||
.remove = __devexit_p(wm8776_i2c_remove),
|
||||
.remove = wm8776_i2c_remove,
|
||||
.id_table = wm8776_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -42,13 +42,13 @@ static struct snd_soc_dai_driver wm8782_dai = {
|
||||
|
||||
static struct snd_soc_codec_driver soc_codec_dev_wm8782;
|
||||
|
||||
static __devinit int wm8782_probe(struct platform_device *pdev)
|
||||
static int wm8782_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_wm8782, &wm8782_dai, 1);
|
||||
}
|
||||
|
||||
static int __devexit wm8782_remove(struct platform_device *pdev)
|
||||
static int wm8782_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -60,7 +60,7 @@ static struct platform_driver wm8782_codec_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8782_probe,
|
||||
.remove = __devexit_p(wm8782_remove),
|
||||
.remove = wm8782_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm8782_codec_driver);
|
||||
|
@ -702,7 +702,7 @@ static struct regmap_config wm8804_regmap_config = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8804_spi_probe(struct spi_device *spi)
|
||||
static int wm8804_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8804_priv *wm8804;
|
||||
int ret;
|
||||
@ -725,7 +725,7 @@ static int __devinit wm8804_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8804_spi_remove(struct spi_device *spi)
|
||||
static int wm8804_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -738,13 +738,13 @@ static struct spi_driver wm8804_spi_driver = {
|
||||
.of_match_table = wm8804_of_match,
|
||||
},
|
||||
.probe = wm8804_spi_probe,
|
||||
.remove = __devexit_p(wm8804_spi_remove)
|
||||
.remove = wm8804_spi_remove
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8804_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8804_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8804_priv *wm8804;
|
||||
int ret;
|
||||
@ -766,7 +766,7 @@ static __devinit int wm8804_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8804_i2c_remove(struct i2c_client *i2c)
|
||||
static int wm8804_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
snd_soc_unregister_codec(&i2c->dev);
|
||||
return 0;
|
||||
@ -785,7 +785,7 @@ static struct i2c_driver wm8804_i2c_driver = {
|
||||
.of_match_table = wm8804_of_match,
|
||||
},
|
||||
.probe = wm8804_i2c_probe,
|
||||
.remove = __devexit_p(wm8804_i2c_remove),
|
||||
.remove = wm8804_i2c_remove,
|
||||
.id_table = wm8804_i2c_id
|
||||
};
|
||||
#endif
|
||||
|
@ -1247,7 +1247,7 @@ static const struct regmap_config wm8900_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8900_spi_probe(struct spi_device *spi)
|
||||
static int wm8900_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8900_priv *wm8900;
|
||||
int ret;
|
||||
@ -1269,7 +1269,7 @@ static int __devinit wm8900_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8900_spi_remove(struct spi_device *spi)
|
||||
static int wm8900_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -1281,13 +1281,13 @@ static struct spi_driver wm8900_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8900_spi_probe,
|
||||
.remove = __devexit_p(wm8900_spi_remove),
|
||||
.remove = wm8900_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8900_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8900_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8900_priv *wm8900;
|
||||
int ret;
|
||||
@ -1309,7 +1309,7 @@ static __devinit int wm8900_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8900_i2c_remove(struct i2c_client *client)
|
||||
static int wm8900_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1327,7 +1327,7 @@ static struct i2c_driver wm8900_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8900_i2c_probe,
|
||||
.remove = __devexit_p(wm8900_i2c_remove),
|
||||
.remove = wm8900_i2c_remove,
|
||||
.id_table = wm8900_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -2020,8 +2020,8 @@ static int wm8903_set_pdata_from_of(struct i2c_client *i2c,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devinit int wm8903_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8903_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8903_platform_data *pdata = dev_get_platdata(&i2c->dev);
|
||||
struct wm8903_priv *wm8903;
|
||||
@ -2206,7 +2206,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8903_i2c_remove(struct i2c_client *client)
|
||||
static int wm8903_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct wm8903_priv *wm8903 = i2c_get_clientdata(client);
|
||||
|
||||
@ -2237,7 +2237,7 @@ static struct i2c_driver wm8903_i2c_driver = {
|
||||
.of_match_table = wm8903_of_match,
|
||||
},
|
||||
.probe = wm8903_i2c_probe,
|
||||
.remove = __devexit_p(wm8903_i2c_remove),
|
||||
.remove = wm8903_i2c_remove,
|
||||
.id_table = wm8903_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -2111,8 +2111,8 @@ static const struct regmap_config wm8904_regmap = {
|
||||
.num_reg_defaults = ARRAY_SIZE(wm8904_reg_defaults),
|
||||
};
|
||||
|
||||
static __devinit int wm8904_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8904_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8904_priv *wm8904;
|
||||
unsigned int val;
|
||||
@ -2247,7 +2247,7 @@ err_enable:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8904_i2c_remove(struct i2c_client *client)
|
||||
static int wm8904_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -2267,7 +2267,7 @@ static struct i2c_driver wm8904_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8904_i2c_probe,
|
||||
.remove = __devexit_p(wm8904_i2c_remove),
|
||||
.remove = wm8904_i2c_remove,
|
||||
.id_table = wm8904_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -742,8 +742,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8940 = {
|
||||
.volatile_register = wm8940_volatile_register,
|
||||
};
|
||||
|
||||
static __devinit int wm8940_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8940_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8940_priv *wm8940;
|
||||
int ret;
|
||||
@ -762,7 +762,7 @@ static __devinit int wm8940_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8940_i2c_remove(struct i2c_client *client)
|
||||
static int wm8940_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -781,7 +781,7 @@ static struct i2c_driver wm8940_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8940_i2c_probe,
|
||||
.remove = __devexit_p(wm8940_i2c_remove),
|
||||
.remove = wm8940_i2c_remove,
|
||||
.id_table = wm8940_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1012,8 +1012,8 @@ static const struct regmap_config wm8955_regmap = {
|
||||
.num_reg_defaults = ARRAY_SIZE(wm8955_reg_defaults),
|
||||
};
|
||||
|
||||
static __devinit int wm8955_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8955_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8955_priv *wm8955;
|
||||
int ret;
|
||||
@ -1039,7 +1039,7 @@ static __devinit int wm8955_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8955_i2c_remove(struct i2c_client *client)
|
||||
static int wm8955_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -1058,7 +1058,7 @@ static struct i2c_driver wm8955_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8955_i2c_probe,
|
||||
.remove = __devexit_p(wm8955_i2c_remove),
|
||||
.remove = wm8955_i2c_remove,
|
||||
.id_table = wm8955_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1028,8 +1028,8 @@ static const struct regmap_config wm8960_regmap = {
|
||||
.volatile_reg = wm8960_volatile,
|
||||
};
|
||||
|
||||
static __devinit int wm8960_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8960_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8960_data *pdata = dev_get_platdata(&i2c->dev);
|
||||
struct wm8960_priv *wm8960;
|
||||
@ -1062,7 +1062,7 @@ static __devinit int wm8960_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8960_i2c_remove(struct i2c_client *client)
|
||||
static int wm8960_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1080,7 +1080,7 @@ static struct i2c_driver wm8960_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8960_i2c_probe,
|
||||
.remove = __devexit_p(wm8960_i2c_remove),
|
||||
.remove = wm8960_i2c_remove,
|
||||
.id_table = wm8960_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -937,8 +937,8 @@ static const struct regmap_config wm8961_regmap = {
|
||||
.readable_reg = wm8961_readable,
|
||||
};
|
||||
|
||||
static __devinit int wm8961_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8961_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8961_priv *wm8961;
|
||||
unsigned int val;
|
||||
@ -993,7 +993,7 @@ static __devinit int wm8961_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8961_i2c_remove(struct i2c_client *client)
|
||||
static int wm8961_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -1012,7 +1012,7 @@ static struct i2c_driver wm8961_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8961_i2c_probe,
|
||||
.remove = __devexit_p(wm8961_i2c_remove),
|
||||
.remove = wm8961_i2c_remove,
|
||||
.id_table = wm8961_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -3588,8 +3588,8 @@ static const struct regmap_config wm8962_regmap = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static __devinit int wm8962_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8962_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8962_pdata *pdata = dev_get_platdata(&i2c->dev);
|
||||
struct wm8962_priv *wm8962;
|
||||
@ -3699,7 +3699,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8962_i2c_remove(struct i2c_client *client)
|
||||
static int wm8962_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -3765,7 +3765,7 @@ static struct i2c_driver wm8962_i2c_driver = {
|
||||
.pm = &wm8962_pm,
|
||||
},
|
||||
.probe = wm8962_i2c_probe,
|
||||
.remove = __devexit_p(wm8962_i2c_remove),
|
||||
.remove = wm8962_i2c_remove,
|
||||
.id_table = wm8962_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -717,8 +717,8 @@ static const struct regmap_config wm8971_regmap = {
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
};
|
||||
|
||||
static __devinit int wm8971_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8971_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8971_priv *wm8971;
|
||||
struct regmap *regmap;
|
||||
@ -741,7 +741,7 @@ static __devinit int wm8971_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8971_i2c_remove(struct i2c_client *client)
|
||||
static int wm8971_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -759,7 +759,7 @@ static struct i2c_driver wm8971_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8971_i2c_probe,
|
||||
.remove = __devexit_p(wm8971_i2c_remove),
|
||||
.remove = wm8971_i2c_remove,
|
||||
.id_table = wm8971_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -625,8 +625,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8974 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(wm8974_dapm_routes),
|
||||
};
|
||||
|
||||
static __devinit int wm8974_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8974_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@ -636,7 +636,7 @@ static __devinit int wm8974_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8974_i2c_remove(struct i2c_client *client)
|
||||
static int wm8974_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -655,7 +655,7 @@ static struct i2c_driver wm8974_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8974_i2c_probe,
|
||||
.remove = __devexit_p(wm8974_i2c_remove),
|
||||
.remove = wm8974_i2c_remove,
|
||||
.id_table = wm8974_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1035,8 +1035,8 @@ static const struct regmap_config wm8978_regmap_config = {
|
||||
.num_reg_defaults = ARRAY_SIZE(wm8978_reg_defaults),
|
||||
};
|
||||
|
||||
static __devinit int wm8978_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8978_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8978_priv *wm8978;
|
||||
int ret;
|
||||
@ -1072,7 +1072,7 @@ static __devinit int wm8978_i2c_probe(struct i2c_client *i2c,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int wm8978_i2c_remove(struct i2c_client *client)
|
||||
static int wm8978_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -1091,7 +1091,7 @@ static struct i2c_driver wm8978_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8978_i2c_probe,
|
||||
.remove = __devexit_p(wm8978_i2c_remove),
|
||||
.remove = wm8978_i2c_remove,
|
||||
.id_table = wm8978_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1087,7 +1087,7 @@ static const struct regmap_config wm8983_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8983_spi_probe(struct spi_device *spi)
|
||||
static int wm8983_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8983_priv *wm8983;
|
||||
int ret;
|
||||
@ -1110,7 +1110,7 @@ static int __devinit wm8983_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8983_spi_remove(struct spi_device *spi)
|
||||
static int wm8983_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -1122,13 +1122,13 @@ static struct spi_driver wm8983_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8983_spi_probe,
|
||||
.remove = __devexit_p(wm8983_spi_remove)
|
||||
.remove = wm8983_spi_remove
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8983_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8983_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8983_priv *wm8983;
|
||||
int ret;
|
||||
@ -1152,7 +1152,7 @@ static __devinit int wm8983_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8983_i2c_remove(struct i2c_client *client)
|
||||
static int wm8983_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1170,7 +1170,7 @@ static struct i2c_driver wm8983_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8983_i2c_probe,
|
||||
.remove = __devexit_p(wm8983_i2c_remove),
|
||||
.remove = wm8983_i2c_remove,
|
||||
.id_table = wm8983_i2c_id
|
||||
};
|
||||
#endif
|
||||
|
@ -1111,7 +1111,7 @@ static const struct regmap_config wm8985_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8985_spi_probe(struct spi_device *spi)
|
||||
static int wm8985_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8985_priv *wm8985;
|
||||
int ret;
|
||||
@ -1135,7 +1135,7 @@ static int __devinit wm8985_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8985_spi_remove(struct spi_device *spi)
|
||||
static int wm8985_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -1147,13 +1147,13 @@ static struct spi_driver wm8985_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8985_spi_probe,
|
||||
.remove = __devexit_p(wm8985_spi_remove)
|
||||
.remove = wm8985_spi_remove
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8985_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8985_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8985_priv *wm8985;
|
||||
int ret;
|
||||
@ -1177,7 +1177,7 @@ static __devinit int wm8985_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8985_i2c_remove(struct i2c_client *i2c)
|
||||
static int wm8985_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
snd_soc_unregister_codec(&i2c->dev);
|
||||
return 0;
|
||||
@ -1195,7 +1195,7 @@ static struct i2c_driver wm8985_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8985_i2c_probe,
|
||||
.remove = __devexit_p(wm8985_i2c_remove),
|
||||
.remove = wm8985_i2c_remove,
|
||||
.id_table = wm8985_i2c_id
|
||||
};
|
||||
#endif
|
||||
|
@ -872,7 +872,7 @@ static struct regmap_config wm8988_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8988_spi_probe(struct spi_device *spi)
|
||||
static int wm8988_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8988_priv *wm8988;
|
||||
int ret;
|
||||
@ -896,7 +896,7 @@ static int __devinit wm8988_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8988_spi_remove(struct spi_device *spi)
|
||||
static int wm8988_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -908,13 +908,13 @@ static struct spi_driver wm8988_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8988_spi_probe,
|
||||
.remove = __devexit_p(wm8988_spi_remove),
|
||||
.remove = wm8988_spi_remove,
|
||||
};
|
||||
#endif /* CONFIG_SPI_MASTER */
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8988_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8988_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8988_priv *wm8988;
|
||||
int ret;
|
||||
@ -938,7 +938,7 @@ static __devinit int wm8988_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8988_i2c_remove(struct i2c_client *client)
|
||||
static int wm8988_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -956,7 +956,7 @@ static struct i2c_driver wm8988_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8988_i2c_probe,
|
||||
.remove = __devexit_p(wm8988_i2c_remove),
|
||||
.remove = wm8988_i2c_remove,
|
||||
.id_table = wm8988_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -1382,8 +1382,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8990 = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8990_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8990_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8990_priv *wm8990;
|
||||
int ret;
|
||||
@ -1401,7 +1401,7 @@ static __devinit int wm8990_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8990_i2c_remove(struct i2c_client *client)
|
||||
static int wm8990_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -1420,7 +1420,7 @@ static struct i2c_driver wm8990_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8990_i2c_probe,
|
||||
.remove = __devexit_p(wm8990_i2c_remove),
|
||||
.remove = wm8990_i2c_remove,
|
||||
.id_table = wm8990_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -1357,8 +1357,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8991 = {
|
||||
.reg_cache_default = wm8991_reg_defs
|
||||
};
|
||||
|
||||
static __devinit int wm8991_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8991_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8991_priv *wm8991;
|
||||
int ret;
|
||||
@ -1376,7 +1376,7 @@ static __devinit int wm8991_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8991_i2c_remove(struct i2c_client *client)
|
||||
static int wm8991_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
|
||||
@ -1395,7 +1395,7 @@ static struct i2c_driver wm8991_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8991_i2c_probe,
|
||||
.remove = __devexit_p(wm8991_i2c_remove),
|
||||
.remove = wm8991_i2c_remove,
|
||||
.id_table = wm8991_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1645,8 +1645,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8993 = {
|
||||
.set_bias_level = wm8993_set_bias_level,
|
||||
};
|
||||
|
||||
static __devinit int wm8993_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8993_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8993_priv *wm8993;
|
||||
unsigned int reg;
|
||||
@ -1745,7 +1745,7 @@ err_enable:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8993_i2c_remove(struct i2c_client *i2c)
|
||||
static int wm8993_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
struct wm8993_priv *wm8993 = i2c_get_clientdata(i2c);
|
||||
|
||||
@ -1769,7 +1769,7 @@ static struct i2c_driver wm8993_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8993_i2c_probe,
|
||||
.remove = __devexit_p(wm8993_i2c_remove),
|
||||
.remove = wm8993_i2c_remove,
|
||||
.id_table = wm8993_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -4287,7 +4287,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8994 = {
|
||||
.set_bias_level = wm8994_set_bias_level,
|
||||
};
|
||||
|
||||
static int __devinit wm8994_probe(struct platform_device *pdev)
|
||||
static int wm8994_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct wm8994_priv *wm8994;
|
||||
|
||||
@ -4303,7 +4303,7 @@ static int __devinit wm8994_probe(struct platform_device *pdev)
|
||||
wm8994_dai, ARRAY_SIZE(wm8994_dai));
|
||||
}
|
||||
|
||||
static int __devexit wm8994_remove(struct platform_device *pdev)
|
||||
static int wm8994_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -4347,7 +4347,7 @@ static struct platform_driver wm8994_codec_driver = {
|
||||
.pm = &wm8994_pm_ops,
|
||||
},
|
||||
.probe = wm8994_probe,
|
||||
.remove = __devexit_p(wm8994_remove),
|
||||
.remove = wm8994_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm8994_codec_driver);
|
||||
|
@ -2256,7 +2256,7 @@ static struct regmap_config wm8995_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
static int __devinit wm8995_spi_probe(struct spi_device *spi)
|
||||
static int wm8995_spi_probe(struct spi_device *spi)
|
||||
{
|
||||
struct wm8995_priv *wm8995;
|
||||
int ret;
|
||||
@ -2280,7 +2280,7 @@ static int __devinit wm8995_spi_probe(struct spi_device *spi)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit wm8995_spi_remove(struct spi_device *spi)
|
||||
static int wm8995_spi_remove(struct spi_device *spi)
|
||||
{
|
||||
snd_soc_unregister_codec(&spi->dev);
|
||||
return 0;
|
||||
@ -2292,13 +2292,13 @@ static struct spi_driver wm8995_spi_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8995_spi_probe,
|
||||
.remove = __devexit_p(wm8995_spi_remove)
|
||||
.remove = wm8995_spi_remove
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm8995_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8995_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8995_priv *wm8995;
|
||||
int ret;
|
||||
@ -2325,7 +2325,7 @@ static __devinit int wm8995_i2c_probe(struct i2c_client *i2c,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8995_i2c_remove(struct i2c_client *client)
|
||||
static int wm8995_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -2344,7 +2344,7 @@ static struct i2c_driver wm8995_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8995_i2c_probe,
|
||||
.remove = __devexit_p(wm8995_i2c_remove),
|
||||
.remove = wm8995_i2c_remove,
|
||||
.id_table = wm8995_i2c_id
|
||||
};
|
||||
#endif
|
||||
|
@ -2765,8 +2765,8 @@ static struct snd_soc_dai_driver wm8996_dai[] = {
|
||||
},
|
||||
};
|
||||
|
||||
static __devinit int wm8996_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm8996_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm8996_priv *wm8996;
|
||||
int ret, i;
|
||||
@ -3077,7 +3077,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __devexit int wm8996_i2c_remove(struct i2c_client *client)
|
||||
static int wm8996_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
struct wm8996_priv *wm8996 = i2c_get_clientdata(client);
|
||||
int i;
|
||||
@ -3107,7 +3107,7 @@ static struct i2c_driver wm8996_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8996_i2c_probe,
|
||||
.remove = __devexit_p(wm8996_i2c_remove),
|
||||
.remove = wm8996_i2c_remove,
|
||||
.id_table = wm8996_i2c_id,
|
||||
};
|
||||
|
||||
|
@ -1327,8 +1327,8 @@ static const struct regmap_config wm9081_regmap = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
|
||||
static __devinit int wm9081_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
static int wm9081_i2c_probe(struct i2c_client *i2c,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct wm9081_priv *wm9081;
|
||||
unsigned int reg;
|
||||
@ -1386,7 +1386,7 @@ static __devinit int wm9081_i2c_probe(struct i2c_client *i2c,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __devexit int wm9081_i2c_remove(struct i2c_client *client)
|
||||
static int wm9081_i2c_remove(struct i2c_client *client)
|
||||
{
|
||||
snd_soc_unregister_codec(&client->dev);
|
||||
return 0;
|
||||
@ -1404,7 +1404,7 @@ static struct i2c_driver wm9081_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm9081_i2c_probe,
|
||||
.remove = __devexit_p(wm9081_i2c_remove),
|
||||
.remove = wm9081_i2c_remove,
|
||||
.id_table = wm9081_i2c_id,
|
||||
};
|
||||
#endif
|
||||
|
@ -664,7 +664,7 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit wm9090_i2c_remove(struct i2c_client *i2c)
|
||||
static int wm9090_i2c_remove(struct i2c_client *i2c)
|
||||
{
|
||||
snd_soc_unregister_codec(&i2c->dev);
|
||||
return 0;
|
||||
@ -683,7 +683,7 @@ static struct i2c_driver wm9090_i2c_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm9090_i2c_probe,
|
||||
.remove = __devexit_p(wm9090_i2c_remove),
|
||||
.remove = wm9090_i2c_remove,
|
||||
.id_table = wm9090_id,
|
||||
};
|
||||
|
||||
|
@ -382,13 +382,13 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9705 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(wm9705_audio_map),
|
||||
};
|
||||
|
||||
static __devinit int wm9705_probe(struct platform_device *pdev)
|
||||
static int wm9705_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_wm9705, wm9705_dai, ARRAY_SIZE(wm9705_dai));
|
||||
}
|
||||
|
||||
static int __devexit wm9705_remove(struct platform_device *pdev)
|
||||
static int wm9705_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -401,7 +401,7 @@ static struct platform_driver wm9705_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = wm9705_probe,
|
||||
.remove = __devexit_p(wm9705_remove),
|
||||
.remove = wm9705_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm9705_codec_driver);
|
||||
|
@ -685,13 +685,13 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9712 = {
|
||||
.num_dapm_routes = ARRAY_SIZE(wm9712_audio_map),
|
||||
};
|
||||
|
||||
static __devinit int wm9712_probe(struct platform_device *pdev)
|
||||
static int wm9712_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_codec(&pdev->dev,
|
||||
&soc_codec_dev_wm9712, wm9712_dai, ARRAY_SIZE(wm9712_dai));
|
||||
}
|
||||
|
||||
static int __devexit wm9712_remove(struct platform_device *pdev)
|
||||
static int wm9712_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_codec(&pdev->dev);
|
||||
return 0;
|
||||
@ -704,7 +704,7 @@ static struct platform_driver wm9712_codec_driver = {
|
||||
},
|
||||
|
||||
.probe = wm9712_probe,
|
||||
.remove = __devexit_p(wm9712_remove),
|
||||
.remove = wm9712_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(wm9712_codec_driver);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user