Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ASoC: spear: 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 bb5eb6ec
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -184,12 +184,12 @@ struct snd_soc_platform_driver spear_soc_platform = {
	.pcm_free	=	spear_pcm_free,
};

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

static int __devexit spear_soc_platform_remove(struct platform_device *pdev)
static int spear_soc_platform_remove(struct platform_device *pdev)
{
	snd_soc_unregister_platform(&pdev->dev);

@@ -203,7 +203,7 @@ static struct platform_driver spear_pcm_driver = {
	},

	.probe = spear_soc_platform_probe,
	.remove = __devexit_p(spear_soc_platform_remove),
	.remove = spear_soc_platform_remove,
};

module_platform_driver(spear_pcm_driver);