Skip to content

Commit

Permalink
ASoC: spear: remove __dev* attributes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Mark Brown committed Dec 9, 2012
1 parent bb5eb6e commit 468c117
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/spear/spear_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ struct snd_soc_platform_driver spear_soc_platform = {
.pcm_free = spear_pcm_free,
};

static int __devinit spear_soc_platform_probe(struct platform_device *pdev)
static int spear_soc_platform_probe(struct platform_device *pdev)
{
return snd_soc_register_platform(&pdev->dev, &spear_soc_platform);
}

static int __devexit spear_soc_platform_remove(struct platform_device *pdev)
static int spear_soc_platform_remove(struct platform_device *pdev)
{
snd_soc_unregister_platform(&pdev->dev);

Expand All @@ -203,7 +203,7 @@ static struct platform_driver spear_pcm_driver = {
},

.probe = spear_soc_platform_probe,
.remove = __devexit_p(spear_soc_platform_remove),
.remove = spear_soc_platform_remove,
};

module_platform_driver(spear_pcm_driver);
Expand Down

0 comments on commit 468c117

Please sign in to comment.