Skip to content

Commit

Permalink
ASoC: utils: 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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
wfp5p authored and broonie committed Dec 9, 2012
1 parent da79487 commit e51e97e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/soc-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static struct snd_soc_dai_driver dummy_dai = {
.name = "snd-soc-dummy-dai",
};

static __devinit int snd_soc_dummy_probe(struct platform_device *pdev)
static int snd_soc_dummy_probe(struct platform_device *pdev)
{
int ret;

Expand All @@ -111,7 +111,7 @@ static __devinit int snd_soc_dummy_probe(struct platform_device *pdev)
return ret;
}

static __devexit int snd_soc_dummy_remove(struct platform_device *pdev)
static int snd_soc_dummy_remove(struct platform_device *pdev)
{
snd_soc_unregister_platform(&pdev->dev);
snd_soc_unregister_codec(&pdev->dev);
Expand All @@ -125,7 +125,7 @@ static struct platform_driver soc_dummy_driver = {
.owner = THIS_MODULE,
},
.probe = snd_soc_dummy_probe,
.remove = __devexit_p(snd_soc_dummy_remove),
.remove = snd_soc_dummy_remove,
};

static struct platform_device *soc_dummy_dev;
Expand Down

0 comments on commit e51e97e

Please sign in to comment.