ASoC: au1x: Convert to devm_snd_soc_register_platform
Subsystems (4)
PATCH 1/5 ASoC: au1x: Convert to devm_snd_soc_register_platform
--- sound/soc/au1x/dbdma2.c | 11 ++--------- sound/soc/au1x/dma.c | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-)
sound/soc/au1x/dbdma2.c +2 -9
@@ -344,14 +344,8 @@ static int au1xpsc_pcm_drvprobe(struct platform_device *pdev)platform_set_drvdata (pdev, dmadata); -return snd_soc_register_platform (&pdev->dev, &au1xpsc_soc_platform); -} - -static int au1xpsc_pcm_drvremove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); - -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &au1xpsc_soc_platform); }static struct platform_driver au1xpsc_pcm_driver = {
@@ -359,7 +353,6 @@ static struct platform_driver au1xpsc_pcm_driver = { .name = "au1xpsc-pcm", }, .probe = au1xpsc_pcm_drvprobe, - .remove = au1xpsc_pcm_drvremove, };module_platform_driver (au1xpsc_pcm_driver);
sound/soc/au1x/dma.c +2 -9
@@ -312,14 +312,8 @@ static int alchemy_pcm_drvprobe(struct platform_device *pdev)platform_set_drvdata (pdev, ctx); -return snd_soc_register_platform (&pdev->dev, &alchemy_pcm_soc_platform); -} - -static int alchemy_pcm_drvremove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); - -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &alchemy_pcm_soc_platform); }static struct platform_driver alchemy_pcmdma_driver = {
@@ -327,7 +321,6 @@ static struct platform_driver alchemy_pcmdma_driver = { .name = "alchemy-pcm-dma", }, .probe = alchemy_pcm_drvprobe, - .remove = alchemy_pcm_drvremove, };module_platform_driver (alchemy_pcmdma_driver);
Signature · 1 line
2.1.0
PATCH 2/5 ASoC: blackfin: Convert to devm_snd_soc_register_platform
--- sound/soc/blackfin/bf5xx-ac97-pcm.c | 10 ++-------- sound/soc/blackfin/bf5xx-i2s-pcm.c | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-)
sound/soc/blackfin/bf5xx-ac97-pcm.c +2 -8
@@ -450,13 +450,8 @@ static struct snd_soc_platform_driver bf5xx_ac97_soc_platform = {static int bf5xx_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &bf5xx_ac97_soc_platform); -} - -static int bf5xx_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &bf5xx_ac97_soc_platform); }static struct platform_driver bf5xx_pcm_driver = {
@@ -465,7 +460,6 @@ static struct platform_driver bf5xx_pcm_driver = { }, .probe = bf5xx_soc_platform_probe, - .remove = bf5xx_soc_platform_remove, };module_platform_driver (bf5xx_pcm_driver);
sound/soc/blackfin/bf5xx-i2s-pcm.c +2 -8
@@ -342,13 +342,8 @@ static struct snd_soc_platform_driver bf5xx_i2s_soc_platform = {static int bfin_i2s_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &bf5xx_i2s_soc_platform); -} - -static int bfin_i2s_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &bf5xx_i2s_soc_platform); }static struct platform_driver bfin_i2s_pcm_driver = {
@@ -357,7 +352,6 @@ static struct platform_driver bfin_i2s_pcm_driver = { }, .probe = bfin_i2s_soc_platform_probe, - .remove = bfin_i2s_soc_platform_remove, };module_platform_driver (bfin_i2s_pcm_driver);
Signature · 1 line
2.1.0
Mark Brown
maintainerApplied "ASoC: blackfin: Convert to devm_snd_soc_register_platform" to the asoc tree
The patch
ASoC: blackfin: Convert to devm_snd_soc_register_platform
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
c4d2ab0d59f53a1534e6817b5dbd28719f667c39Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Thu, 27 Aug 2015 09:11:13 +0800
Subject: [PATCH] ASoC: blackfin: Convert to devm_snd_soc_register_platform
--- sound/soc/blackfin/bf5xx-ac97-pcm.c | 10 ++-------- sound/soc/blackfin/bf5xx-i2s-pcm.c | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-)
sound/soc/blackfin/bf5xx-ac97-pcm.c +2 -8
@@ -450,13 +450,8 @@ static struct snd_soc_platform_driver bf5xx_ac97_soc_platform = {static int bf5xx_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &bf5xx_ac97_soc_platform); -} - -static int bf5xx_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &bf5xx_ac97_soc_platform); }static struct platform_driver bf5xx_pcm_driver = {
@@ -465,7 +460,6 @@ static struct platform_driver bf5xx_pcm_driver = { }, .probe = bf5xx_soc_platform_probe, - .remove = bf5xx_soc_platform_remove, };module_platform_driver (bf5xx_pcm_driver);
sound/soc/blackfin/bf5xx-i2s-pcm.c +2 -8
@@ -342,13 +342,8 @@ static struct snd_soc_platform_driver bf5xx_i2s_soc_platform = {static int bfin_i2s_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &bf5xx_i2s_soc_platform); -} - -static int bfin_i2s_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &bf5xx_i2s_soc_platform); }static struct platform_driver bfin_i2s_pcm_driver = {
@@ -357,7 +352,6 @@ static struct platform_driver bfin_i2s_pcm_driver = { }, .probe = bfin_i2s_soc_platform_probe, - .remove = bfin_i2s_soc_platform_remove, };module_platform_driver (bfin_i2s_pcm_driver);
Signature · 1 line
2.5.0
PATCH 3/5 ASoC: nuc900: Convert to devm_snd_soc_register_platform
In reply to Axel Lin--- sound/soc/nuc900/nuc900-pcm.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
sound/soc/nuc900/nuc900-pcm.c +1 -8
@@ -308,13 +308,7 @@ static struct snd_soc_platform_driver nuc900_soc_platform = {static int nuc900_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &nuc900_soc_platform); -} - -static int nuc900_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, &nuc900_soc_platform); }static struct platform_driver nuc900_pcm_driver = {
@@ -323,7 +317,6 @@ static struct platform_driver nuc900_pcm_driver = { }, .probe = nuc900_soc_platform_probe, - .remove = nuc900_soc_platform_remove, };module_platform_driver (nuc900_pcm_driver);
Signature · 1 line
2.1.0
Mark Brown
maintainerApplied "ASoC: nuc900: Convert to devm_snd_soc_register_platform" to the asoc tree
The patch
ASoC: nuc900: Convert to devm_snd_soc_register_platform
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
d5f1117ff60d1e314b15e3a85b7705db3421d7d4Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Thu, 27 Aug 2015 09:12:17 +0800
Subject: [PATCH] ASoC: nuc900: Convert to devm_snd_soc_register_platform
--- sound/soc/nuc900/nuc900-pcm.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
sound/soc/nuc900/nuc900-pcm.c +1 -8
@@ -308,13 +308,7 @@ static struct snd_soc_platform_driver nuc900_soc_platform = {static int nuc900_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &nuc900_soc_platform); -} - -static int nuc900_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, &nuc900_soc_platform); }static struct platform_driver nuc900_pcm_driver = {
@@ -323,7 +317,6 @@ static struct platform_driver nuc900_pcm_driver = { }, .probe = nuc900_soc_platform_probe, - .remove = nuc900_soc_platform_remove, };module_platform_driver (nuc900_pcm_driver);
Signature · 1 line
2.5.0
PATCH 4/5 ASoC: pxa: Convert to devm_snd_soc_register_platform
In reply to Axel Lin--- sound/soc/pxa/mmp-pcm.c | 9 +-------- sound/soc/pxa/pxa2xx-pcm.c | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-)
sound/soc/pxa/mmp-pcm.c +1 -8
@@ -232,13 +232,7 @@ static int mmp_pcm_probe(struct platform_device *pdev) mmp_pcm_hardware[SNDRV_PCM_STREAM_CAPTURE ].period_bytes_max = pdata->period_max_capture; } -return snd_soc_register_platform (&pdev->dev, &mmp_soc_platform); -} - -static int mmp_pcm_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, &mmp_soc_platform); }static struct platform_driver mmp_pcm_driver = {
@@ -247,7 +241,6 @@ static struct platform_driver mmp_pcm_driver = { }, .probe = mmp_pcm_probe, - .remove = mmp_pcm_remove, };module_platform_driver (mmp_pcm_driver);
sound/soc/pxa/pxa2xx-pcm.c +1 -8
@@ -124,13 +124,7 @@ static struct snd_soc_platform_driver pxa2xx_soc_platform = {static int pxa2xx_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &pxa2xx_soc_platform); -} - -static int pxa2xx_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, &pxa2xx_soc_platform); }#ifdef CONFIG_OF
@@ -147,7 +141,6 @@ static struct platform_driver pxa_pcm_driver = { }, .probe = pxa2xx_soc_platform_probe, - .remove = pxa2xx_soc_platform_remove, };module_platform_driver (pxa_pcm_driver);
Signature · 1 line
2.1.0
Mark Brown
maintainerApplied "ASoC: pxa: Convert to devm_snd_soc_register_platform" to the asoc tree
The patch
ASoC: pxa: Convert to devm_snd_soc_register_platform
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
637c4497bbf0c9a4e00d6be2731bd560bf609f6bMon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Thu, 27 Aug 2015 09:13:46 +0800
Subject: [PATCH] ASoC: pxa: Convert to devm_snd_soc_register_platform
--- sound/soc/pxa/mmp-pcm.c | 9 +-------- sound/soc/pxa/pxa2xx-pcm.c | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-)
sound/soc/pxa/mmp-pcm.c +1 -8
@@ -232,13 +232,7 @@ static int mmp_pcm_probe(struct platform_device *pdev) mmp_pcm_hardware[SNDRV_PCM_STREAM_CAPTURE ].period_bytes_max = pdata->period_max_capture; } -return snd_soc_register_platform (&pdev->dev, &mmp_soc_platform); -} - -static int mmp_pcm_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, &mmp_soc_platform); }static struct platform_driver mmp_pcm_driver = {
@@ -247,7 +241,6 @@ static struct platform_driver mmp_pcm_driver = { }, .probe = mmp_pcm_probe, - .remove = mmp_pcm_remove, };module_platform_driver (mmp_pcm_driver);
sound/soc/pxa/pxa2xx-pcm.c +1 -8
@@ -124,13 +124,7 @@ static struct snd_soc_platform_driver pxa2xx_soc_platform = {static int pxa2xx_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &pxa2xx_soc_platform); -} - -static int pxa2xx_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, &pxa2xx_soc_platform); }#ifdef CONFIG_OF
@@ -147,7 +141,6 @@ static struct platform_driver pxa_pcm_driver = { }, .probe = pxa2xx_soc_platform_probe, - .remove = pxa2xx_soc_platform_remove, };module_platform_driver (pxa_pcm_driver);
Signature · 1 line
2.5.0
PATCH 5/5 ASoC: txx9: Convert to devm_snd_soc_register_platform
In reply to Axel Lin--- sound/soc/txx9/txx9aclc.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
sound/soc/txx9/txx9aclc.c +2 -8
@@ -411,13 +411,8 @@ static struct snd_soc_platform_driver txx9aclc_soc_platform = {static int txx9aclc_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &txx9aclc_soc_platform); -} - -static int txx9aclc_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &txx9aclc_soc_platform); }static struct platform_driver txx9aclc_pcm_driver = {
@@ -426,7 +421,6 @@ static struct platform_driver txx9aclc_pcm_driver = { }, .probe = txx9aclc_soc_platform_probe, - .remove = txx9aclc_soc_platform_remove, };module_platform_driver (txx9aclc_pcm_driver);
Signature · 1 line
2.1.0
Mark Brown
maintainerApplied "ASoC: txx9: Convert to devm_snd_soc_register_platform" to the asoc tree
The patch
ASoC: txx9: Convert to devm_snd_soc_register_platform
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
95e3c2305b79e9c0e5f2cb0090efca397249b51fMon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Thu, 27 Aug 2015 09:14:50 +0800
Subject: [PATCH] ASoC: txx9: Convert to devm_snd_soc_register_platform
--- sound/soc/txx9/txx9aclc.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
sound/soc/txx9/txx9aclc.c +2 -8
@@ -411,13 +411,8 @@ static struct snd_soc_platform_driver txx9aclc_soc_platform = {static int txx9aclc_soc_platform_probe (struct platform_device *pdev) { -return snd_soc_register_platform (&pdev->dev, &txx9aclc_soc_platform); -} - -static int txx9aclc_soc_platform_remove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &txx9aclc_soc_platform); }static struct platform_driver txx9aclc_pcm_driver = {
@@ -426,7 +421,6 @@ static struct platform_driver txx9aclc_pcm_driver = { }, .probe = txx9aclc_soc_platform_probe, - .remove = txx9aclc_soc_platform_remove, };module_platform_driver (txx9aclc_pcm_driver);
Signature · 1 line
2.5.0
Mark Brown
maintainerApplied "ASoC: au1x: Convert to devm_snd_soc_register_platform" to the asoc tree
In reply to Axel LinThe patch
ASoC: au1x: Convert to devm_snd_soc_register_platform
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
edd98a1a2d163cef6d91226bf42ca002ced6ff16Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Thu, 27 Aug 2015 09:09:29 +0800
Subject: [PATCH] ASoC: au1x: Convert to devm_snd_soc_register_platform
--- sound/soc/au1x/dbdma2.c | 11 ++--------- sound/soc/au1x/dma.c | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-)
sound/soc/au1x/dbdma2.c +2 -9
@@ -344,14 +344,8 @@ static int au1xpsc_pcm_drvprobe(struct platform_device *pdev)platform_set_drvdata (pdev, dmadata); -return snd_soc_register_platform (&pdev->dev, &au1xpsc_soc_platform); -} - -static int au1xpsc_pcm_drvremove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); - -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &au1xpsc_soc_platform); }static struct platform_driver au1xpsc_pcm_driver = {
@@ -359,7 +353,6 @@ static struct platform_driver au1xpsc_pcm_driver = { .name = "au1xpsc-pcm", }, .probe = au1xpsc_pcm_drvprobe, - .remove = au1xpsc_pcm_drvremove, };module_platform_driver (au1xpsc_pcm_driver);
sound/soc/au1x/dma.c +2 -9
@@ -312,14 +312,8 @@ static int alchemy_pcm_drvprobe(struct platform_device *pdev)platform_set_drvdata (pdev, ctx); -return snd_soc_register_platform (&pdev->dev, &alchemy_pcm_soc_platform); -} - -static int alchemy_pcm_drvremove (struct platform_device *pdev) -{ -snd_soc_unregister_platform (&pdev->dev); - -return 0 ; +return devm_snd_soc_register_platform (&pdev->dev, + &alchemy_pcm_soc_platform); }static struct platform_driver alchemy_pcmdma_driver = {
@@ -327,7 +321,6 @@ static struct platform_driver alchemy_pcmdma_driver = { .name = "alchemy-pcm-dma", }, .probe = alchemy_pcm_drvprobe, - .remove = alchemy_pcm_drvremove, };module_platform_driver (alchemy_pcmdma_driver);
Signature · 1 line
2.5.0
Quoted 5 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>--- sound/soc/au1x/dbdma2.c | 11 ++--------- sound/soc/au1x/dma.c | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-)