ASoC: pxa: 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> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
此提交包含在:
@@ -241,7 +241,7 @@ static struct snd_soc_card tosa = {
|
||||
.num_links = ARRAY_SIZE(tosa_dai),
|
||||
};
|
||||
|
||||
static int __devinit tosa_probe(struct platform_device *pdev)
|
||||
static int tosa_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct snd_soc_card *card = ⤩
|
||||
int ret;
|
||||
@@ -262,7 +262,7 @@ static int __devinit tosa_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit tosa_remove(struct platform_device *pdev)
|
||||
static int tosa_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct snd_soc_card *card = platform_get_drvdata(pdev);
|
||||
|
||||
@@ -277,7 +277,7 @@ static struct platform_driver tosa_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tosa_probe,
|
||||
.remove = __devexit_p(tosa_remove),
|
||||
.remove = tosa_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(tosa_driver);
|
||||
|
新增問題並參考
封鎖使用者