ASoC: sh: 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
9ac8a7122e
commit
bb5eb6ec26
@@ -379,13 +379,13 @@ static struct snd_soc_dai_driver sh4_ssi_dai[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static int __devinit sh4_soc_dai_probe(struct platform_device *pdev)
|
||||
static int sh4_soc_dai_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_dais(&pdev->dev, sh4_ssi_dai,
|
||||
ARRAY_SIZE(sh4_ssi_dai));
|
||||
}
|
||||
|
||||
static int __devexit sh4_soc_dai_remove(struct platform_device *pdev)
|
||||
static int sh4_soc_dai_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_dais(&pdev->dev, ARRAY_SIZE(sh4_ssi_dai));
|
||||
return 0;
|
||||
@@ -398,7 +398,7 @@ static struct platform_driver sh4_ssi_driver = {
|
||||
},
|
||||
|
||||
.probe = sh4_soc_dai_probe,
|
||||
.remove = __devexit_p(sh4_soc_dai_remove),
|
||||
.remove = sh4_soc_dai_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(sh4_ssi_driver);
|
||||
|
Reference in New Issue
Block a user