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
@@ -348,12 +348,12 @@ static struct snd_soc_platform sh7760_soc_platform = {
|
||||
.pcm_free = camelot_pcm_free,
|
||||
};
|
||||
|
||||
static int __devinit sh7760_soc_platform_probe(struct platform_device *pdev)
|
||||
static int sh7760_soc_platform_probe(struct platform_device *pdev)
|
||||
{
|
||||
return snd_soc_register_platform(&pdev->dev, &sh7760_soc_platform);
|
||||
}
|
||||
|
||||
static int __devexit sh7760_soc_platform_remove(struct platform_device *pdev)
|
||||
static int sh7760_soc_platform_remove(struct platform_device *pdev)
|
||||
{
|
||||
snd_soc_unregister_platform(&pdev->dev);
|
||||
return 0;
|
||||
@@ -366,7 +366,7 @@ static struct platform_driver sh7760_pcm_driver = {
|
||||
},
|
||||
|
||||
.probe = sh7760_soc_platform_probe,
|
||||
.remove = __devexit_p(sh7760_soc_platform_remove),
|
||||
.remove = sh7760_soc_platform_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(sh7760_pcm_driver);
|
||||
|
Reference in New Issue
Block a user