Skip to content

Commit

Permalink
ASoC: kirkwood: 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 7759f2e commit 34e15fb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions sound/soc/kirkwood/kirkwood-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,12 @@ static struct snd_soc_platform_driver kirkwood_soc_platform = {
.pcm_free = kirkwood_dma_free_dma_buffers,
};

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

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

.probe = kirkwood_soc_platform_probe,
.remove = __devexit_p(kirkwood_soc_platform_remove),
.remove = kirkwood_soc_platform_remove,
};

module_platform_driver(kirkwood_pcm_driver);
Expand Down
6 changes: 3 additions & 3 deletions sound/soc/kirkwood/kirkwood-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static struct snd_soc_dai_driver kirkwood_i2s_dai_extclk = {
.ops = &kirkwood_i2s_dai_ops,
};

static __devinit int kirkwood_i2s_dev_probe(struct platform_device *pdev)
static int kirkwood_i2s_dev_probe(struct platform_device *pdev)
{
struct kirkwood_asoc_platform_data *data = pdev->dev.platform_data;
struct snd_soc_dai_driver *soc_dai = &kirkwood_i2s_dai;
Expand Down Expand Up @@ -540,7 +540,7 @@ static __devinit int kirkwood_i2s_dev_probe(struct platform_device *pdev)
return err;
}

static __devexit int kirkwood_i2s_dev_remove(struct platform_device *pdev)
static int kirkwood_i2s_dev_remove(struct platform_device *pdev)
{
struct kirkwood_dma_data *priv = dev_get_drvdata(&pdev->dev);

Expand All @@ -557,7 +557,7 @@ static __devexit int kirkwood_i2s_dev_remove(struct platform_device *pdev)

static struct platform_driver kirkwood_i2s_driver = {
.probe = kirkwood_i2s_dev_probe,
.remove = __devexit_p(kirkwood_i2s_dev_remove),
.remove = kirkwood_i2s_dev_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
Expand Down
6 changes: 3 additions & 3 deletions sound/soc/kirkwood/kirkwood-openrd.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static struct snd_soc_card openrd_client = {
.num_links = ARRAY_SIZE(openrd_client_dai),
};

static int __devinit openrd_probe(struct platform_device *pdev)
static int openrd_probe(struct platform_device *pdev)
{
struct snd_soc_card *card = &openrd_client;
int ret;
Expand All @@ -85,7 +85,7 @@ static int __devinit openrd_probe(struct platform_device *pdev)
return ret;
}

static int __devexit openrd_remove(struct platform_device *pdev)
static int openrd_remove(struct platform_device *pdev)
{
struct snd_soc_card *card = platform_get_drvdata(pdev);

Expand All @@ -99,7 +99,7 @@ static struct platform_driver openrd_driver = {
.owner = THIS_MODULE,
},
.probe = openrd_probe,
.remove = __devexit_p(openrd_remove),
.remove = openrd_remove,
};

module_platform_driver(openrd_driver);
Expand Down
6 changes: 3 additions & 3 deletions sound/soc/kirkwood/kirkwood-t5325.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static struct snd_soc_card t5325 = {
.num_dapm_routes = ARRAY_SIZE(t5325_route),
};

static int __devinit t5325_probe(struct platform_device *pdev)
static int t5325_probe(struct platform_device *pdev)
{
struct snd_soc_card *card = &t5325;
int ret;
Expand All @@ -106,7 +106,7 @@ static int __devinit t5325_probe(struct platform_device *pdev)
return ret;
}

static int __devexit t5325_remove(struct platform_device *pdev)
static int t5325_remove(struct platform_device *pdev)
{
struct snd_soc_card *card = platform_get_drvdata(pdev);

Expand All @@ -120,7 +120,7 @@ static struct platform_driver t5325_driver = {
.owner = THIS_MODULE,
},
.probe = t5325_probe,
.remove = __devexit_p(t5325_remove),
.remove = t5325_remove,
};

module_platform_driver(t5325_driver);
Expand Down

0 comments on commit 34e15fb

Please sign in to comment.