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

ASoC: pxa: 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>
Acked-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent a0a3d518
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ static struct snd_soc_card brownstone = {
	.num_dapm_routes = ARRAY_SIZE(brownstone_audio_map),
};

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

@@ -152,7 +152,7 @@ static int __devinit brownstone_probe(struct platform_device *pdev)
	return ret;
}

static int __devexit brownstone_remove(struct platform_device *pdev)
static int brownstone_remove(struct platform_device *pdev)
{
	snd_soc_unregister_card(&brownstone);
	return 0;
@@ -164,7 +164,7 @@ static struct platform_driver mmp_driver = {
		.owner	= THIS_MODULE,
	},
	.probe		= brownstone_probe,
	.remove		= __devexit_p(brownstone_remove),
	.remove		= brownstone_remove,
};

module_platform_driver(mmp_driver);
+3 −3
Original line number Diff line number Diff line
@@ -303,7 +303,7 @@ static struct snd_soc_card corgi = {
	.num_dapm_routes = ARRAY_SIZE(corgi_audio_map),
};

static int __devinit corgi_probe(struct platform_device *pdev)
static int corgi_probe(struct platform_device *pdev)
{
	struct snd_soc_card *card = &corgi;
	int ret;
@@ -317,7 +317,7 @@ static int __devinit corgi_probe(struct platform_device *pdev)
	return ret;
}

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

@@ -331,7 +331,7 @@ static struct platform_driver corgi_driver = {
		.owner	= THIS_MODULE,
	},
	.probe		= corgi_probe,
	.remove		= __devexit_p(corgi_remove),
	.remove		= corgi_remove,
};

module_platform_driver(corgi_driver);
+3 −3
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ static struct gpio e740_audio_gpios[] = {
	{ GPIO_E740_WM9705_nAVDD2, GPIOF_OUT_INIT_HIGH, "Audio power" },
};

static int __devinit e740_probe(struct platform_device *pdev)
static int e740_probe(struct platform_device *pdev)
{
	struct snd_soc_card *card = &e740;
	int ret;
@@ -165,7 +165,7 @@ static int __devinit e740_probe(struct platform_device *pdev)
	return ret;
}

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

@@ -180,7 +180,7 @@ static struct platform_driver e740_driver = {
		.owner	= THIS_MODULE,
	},
	.probe		= e740_probe,
	.remove		= __devexit_p(e740_remove),
	.remove		= e740_remove,
};

module_platform_driver(e740_driver);
+3 −3
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ static struct gpio e750_audio_gpios[] = {
	{ GPIO_E750_SPK_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" },
};

static int __devinit e750_probe(struct platform_device *pdev)
static int e750_probe(struct platform_device *pdev)
{
	struct snd_soc_card *card = &e750;
	int ret;
@@ -147,7 +147,7 @@ static int __devinit e750_probe(struct platform_device *pdev)
	return ret;
}

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

@@ -162,7 +162,7 @@ static struct platform_driver e750_driver = {
		.owner	= THIS_MODULE,
	},
	.probe		= e750_probe,
	.remove		= __devexit_p(e750_remove),
	.remove		= e750_remove,
};

module_platform_driver(e750_driver);
+3 −3
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ static struct gpio e800_audio_gpios[] = {
	{ GPIO_E800_HP_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" },
};

static int __devinit e800_probe(struct platform_device *pdev)
static int e800_probe(struct platform_device *pdev)
{
	struct snd_soc_card *card = &e800;
	int ret;
@@ -137,7 +137,7 @@ static int __devinit e800_probe(struct platform_device *pdev)
	return ret;
}

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

@@ -152,7 +152,7 @@ static struct platform_driver e800_driver = {
		.owner	= THIS_MODULE,
	},
	.probe		= e800_probe,
	.remove		= __devexit_p(e800_remove),
	.remove		= e800_remove,
};

module_platform_driver(e800_driver);
Loading