mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 16:50:05 +00:00
ASoC: lm49453: 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
c88f3de855
commit
bd479f6f5f
@ -1483,8 +1483,8 @@ static const struct regmap_config lm49453_regmap_config = {
|
|||||||
.cache_type = REGCACHE_RBTREE,
|
.cache_type = REGCACHE_RBTREE,
|
||||||
};
|
};
|
||||||
|
|
||||||
static __devinit int lm49453_i2c_probe(struct i2c_client *i2c,
|
static int lm49453_i2c_probe(struct i2c_client *i2c,
|
||||||
const struct i2c_device_id *id)
|
const struct i2c_device_id *id)
|
||||||
{
|
{
|
||||||
struct lm49453_priv *lm49453;
|
struct lm49453_priv *lm49453;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
@ -1514,7 +1514,7 @@ static __devinit int lm49453_i2c_probe(struct i2c_client *i2c,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __devexit lm49453_i2c_remove(struct i2c_client *client)
|
static int lm49453_i2c_remove(struct i2c_client *client)
|
||||||
{
|
{
|
||||||
snd_soc_unregister_codec(&client->dev);
|
snd_soc_unregister_codec(&client->dev);
|
||||||
return 0;
|
return 0;
|
||||||
@ -1532,7 +1532,7 @@ static struct i2c_driver lm49453_i2c_driver = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
},
|
},
|
||||||
.probe = lm49453_i2c_probe,
|
.probe = lm49453_i2c_probe,
|
||||||
.remove = __devexit_p(lm49453_i2c_remove),
|
.remove = lm49453_i2c_remove,
|
||||||
.id_table = lm49453_i2c_id,
|
.id_table = lm49453_i2c_id,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user