Skip to content

Commit

Permalink
ASoC: s6000: 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 7ff6000 commit 9ac8a71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sound/soc/s6000/s6000-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ static struct snd_soc_dai_driver s6000_i2s_dai = {
.ops = &s6000_i2s_dai_ops,
};

static int __devinit s6000_i2s_probe(struct platform_device *pdev)
static int s6000_i2s_probe(struct platform_device *pdev)
{
struct s6000_i2s_dev *dev;
struct resource *scbmem, *sifmem, *region, *dma1, *dma2;
Expand Down Expand Up @@ -566,7 +566,7 @@ static int __devinit s6000_i2s_probe(struct platform_device *pdev)
return ret;
}

static void __devexit s6000_i2s_remove(struct platform_device *pdev)
static void s6000_i2s_remove(struct platform_device *pdev)
{
struct s6000_i2s_dev *dev = dev_get_drvdata(&pdev->dev);
struct resource *region;
Expand Down Expand Up @@ -597,7 +597,7 @@ static void __devexit s6000_i2s_remove(struct platform_device *pdev)

static struct platform_driver s6000_i2s_driver = {
.probe = s6000_i2s_probe,
.remove = __devexit_p(s6000_i2s_remove),
.remove = s6000_i2s_remove,
.driver = {
.name = "s6000-i2s",
.owner = THIS_MODULE,
Expand Down
6 changes: 3 additions & 3 deletions sound/soc/s6000/s6000-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,12 +500,12 @@ static struct snd_soc_platform_driver s6000_soc_platform = {
.pcm_free = s6000_pcm_free,
};

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

static int __devexit s6000_soc_platform_remove(struct platform_device *pdev)
static int s6000_soc_platform_remove(struct platform_device *pdev)
{
snd_soc_unregister_platform(&pdev->dev);
return 0;
Expand All @@ -518,7 +518,7 @@ static struct platform_driver s6000_pcm_driver = {
},

.probe = s6000_soc_platform_probe,
.remove = __devexit_p(s6000_soc_platform_remove),
.remove = s6000_soc_platform_remove,
};

module_platform_driver(s6000_pcm_driver);
Expand Down

0 comments on commit 9ac8a71

Please sign in to comment.