Commit dca66dab authored by Bill Pemberton's avatar Bill Pemberton Committed by Mark Brown
Browse files

ASoC: blackfin: 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: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b022aba5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -453,12 +453,12 @@ static struct snd_soc_platform_driver bf5xx_ac97_soc_platform = {
	.pcm_free	= bf5xx_pcm_free_dma_buffers,
};

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

static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev)
static int bf5xx_soc_platform_remove(struct platform_device *pdev)
{
	snd_soc_unregister_platform(&pdev->dev);
	return 0;
@@ -471,7 +471,7 @@ static struct platform_driver bf5xx_pcm_driver = {
	},

	.probe = bf5xx_soc_platform_probe,
	.remove = __devexit_p(bf5xx_soc_platform_remove),
	.remove = bf5xx_soc_platform_remove,
};

module_platform_driver(bf5xx_pcm_driver);
+3 −3
Original line number Diff line number Diff line
@@ -282,7 +282,7 @@ static struct snd_soc_dai_driver bfin_ac97_dai = {
		.formats = SNDRV_PCM_FMTBIT_S16_LE, },
};

static int __devinit asoc_bfin_ac97_probe(struct platform_device *pdev)
static int asoc_bfin_ac97_probe(struct platform_device *pdev)
{
	struct sport_device *sport_handle;
	int ret;
@@ -352,7 +352,7 @@ static int __devinit asoc_bfin_ac97_probe(struct platform_device *pdev)
	return ret;
}

static int __devexit asoc_bfin_ac97_remove(struct platform_device *pdev)
static int asoc_bfin_ac97_remove(struct platform_device *pdev)
{
	struct sport_device *sport_handle = platform_get_drvdata(pdev);

@@ -372,7 +372,7 @@ static struct platform_driver asoc_bfin_ac97_driver = {
	},

	.probe = asoc_bfin_ac97_probe,
	.remove = __devexit_p(asoc_bfin_ac97_remove),
	.remove = asoc_bfin_ac97_remove,
};

module_platform_driver(asoc_bfin_ac97_driver);
+3 −3
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ static struct snd_soc_card bf5xx_ad1836 = {
	.num_links = 1,
};

static __devinit int bf5xx_ad1836_driver_probe(struct platform_device *pdev)
static int bf5xx_ad1836_driver_probe(struct platform_device *pdev)
{
	struct snd_soc_card *card = &bf5xx_ad1836;
	const char **link_name;
@@ -98,7 +98,7 @@ static __devinit int bf5xx_ad1836_driver_probe(struct platform_device *pdev)
	return ret;
}

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

@@ -113,7 +113,7 @@ static struct platform_driver bf5xx_ad1836_driver = {
		.pm = &snd_soc_pm_ops,
	},
	.probe = bf5xx_ad1836_driver_probe,
	.remove = __devexit_p(bf5xx_ad1836_driver_remove),
	.remove = bf5xx_ad1836_driver_remove,
};
module_platform_driver(bf5xx_ad1836_driver);

+3 −3
Original line number Diff line number Diff line
@@ -292,12 +292,12 @@ static struct snd_soc_platform_driver bf5xx_i2s_soc_platform = {
	.pcm_free	= bf5xx_pcm_free_dma_buffers,
};

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

static int __devexit bfin_i2s_soc_platform_remove(struct platform_device *pdev)
static int bfin_i2s_soc_platform_remove(struct platform_device *pdev)
{
	snd_soc_unregister_platform(&pdev->dev);
	return 0;
@@ -310,7 +310,7 @@ static struct platform_driver bfin_i2s_pcm_driver = {
	},

	.probe = bfin_i2s_soc_platform_probe,
	.remove = __devexit_p(bfin_i2s_soc_platform_remove),
	.remove = bfin_i2s_soc_platform_remove,
};

module_platform_driver(bfin_i2s_pcm_driver);
+3 −3
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ static struct snd_soc_dai_driver bf5xx_i2s_dai = {
	.ops = &bf5xx_i2s_dai_ops,
};

static int __devinit bf5xx_i2s_probe(struct platform_device *pdev)
static int bf5xx_i2s_probe(struct platform_device *pdev)
{
	struct sport_device *sport_handle;
	int ret;
@@ -267,7 +267,7 @@ static int __devinit bf5xx_i2s_probe(struct platform_device *pdev)
	return 0;
}

static int __devexit bf5xx_i2s_remove(struct platform_device *pdev)
static int bf5xx_i2s_remove(struct platform_device *pdev)
{
	struct sport_device *sport_handle = platform_get_drvdata(pdev);

@@ -281,7 +281,7 @@ static int __devexit bf5xx_i2s_remove(struct platform_device *pdev)

static struct platform_driver bfin_i2s_driver = {
	.probe  = bf5xx_i2s_probe,
	.remove = __devexit_p(bf5xx_i2s_remove),
	.remove = bf5xx_i2s_remove,
	.driver = {
		.name = "bfin-i2s",
		.owner = THIS_MODULE,
Loading