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:

committed by
Mark Brown

parent
e51e97eecd
commit
7a79e94e97
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user