All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>
Subject: Applied "ASoC: sh: use devm_snd_soc_register_component()" to the asoc tree
Date: Mon, 10 Sep 2018 15:21:22 +0100 (BST)	[thread overview]
Message-ID: <20180910142122.A76E51122D51@debutante.sirena.org.uk> (raw)
In-Reply-To: <87a7ourupy.wl-kuninori.morimoto.gx@renesas.com>

The patch

   ASoC: sh: use devm_snd_soc_register_component()

has been applied to the asoc tree at

   https://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

>From afa88ee37b1383490df003ea005d1d9bc8afa8a8 Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: Fri, 7 Sep 2018 01:03:25 +0000
Subject: [PATCH] ASoC: sh: use devm_snd_soc_register_component()

Now we have devm_snd_soc_register_component().
Let's use it instead of snd_soc_register_component().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/sh/hac.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sound/soc/sh/hac.c b/sound/soc/sh/hac.c
index c2b496398e6b..17622ceb98c0 100644
--- a/sound/soc/sh/hac.c
+++ b/sound/soc/sh/hac.c
@@ -319,13 +319,12 @@ static int hac_soc_platform_probe(struct platform_device *pdev)
 	if (ret != 0)
 		return ret;
 
-	return snd_soc_register_component(&pdev->dev, &sh4_hac_component,
+	return devm_snd_soc_register_component(&pdev->dev, &sh4_hac_component,
 					  sh4_hac_dai, ARRAY_SIZE(sh4_hac_dai));
 }
 
 static int hac_soc_platform_remove(struct platform_device *pdev)
 {
-	snd_soc_unregister_component(&pdev->dev);
 	snd_soc_set_ac97_ops(NULL);
 	return 0;
 }
-- 
2.19.0.rc1

  reply	other threads:[~2018-09-10 14:21 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07  0:59 [PATCH 00/16] ASoC: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-07  1:00 ` [PATCH 01/16] ASoC: atmel_ssc_dai: " Kuninori Morimoto
2018-09-10 14:22   ` Applied "ASoC: atmel_ssc_dai: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:00 ` [PATCH 02/16] ASoC: au1x: ac97c: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-10 13:59   ` Mark Brown
2018-09-07  1:00 ` [PATCH 03/16] ASoC: bcm: " Kuninori Morimoto
2018-09-10 14:22   ` Applied "ASoC: bcm: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:01 ` [PATCH 04/16] ASoC: cirrus: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-10 14:06   ` Mark Brown
2018-09-11  0:08     ` Kuninori Morimoto
2018-09-07  1:01 ` [PATCH 05/16] ASoC: hdac_hda: " Kuninori Morimoto
2018-09-10 14:22   ` Applied "ASoC: hdac_hda: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:01 ` [PATCH 06/16] ASoC: rt5668: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-10 14:08   ` Mark Brown
2018-09-11  0:09     ` Kuninori Morimoto
2018-09-10 14:22   ` Applied "ASoC: rt5668: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:01 ` [PATCH 07/16] ASoC: tscs454: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-10 14:21   ` Applied "ASoC: tscs454: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:02 ` [PATCH 08/16] ASoC: davinci: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-07  1:02 ` [PATCH 09/16] ASoC: fsl: " Kuninori Morimoto
2018-09-07  1:02 ` [PATCH 10/16] ASoC: nuc900: " Kuninori Morimoto
2018-09-10 14:21   ` Applied "ASoC: nuc900: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:02 ` [PATCH 11/16] ASoC: omap: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-10 14:21   ` Applied "ASoC: omap: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:03 ` [PATCH 12/16] ASoC: pxa: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-07  1:03 ` [PATCH 13/16] ASoC: sh: " Kuninori Morimoto
2018-09-10 14:21   ` Mark Brown [this message]
2018-09-07  1:03 ` [PATCH 14/16] ASoC: tegra: " Kuninori Morimoto
2018-09-07  1:03 ` [PATCH 15/16] ASoC: txx9: " Kuninori Morimoto
2018-09-10 14:21   ` Applied "ASoC: txx9: use devm_snd_soc_register_component()" to the asoc tree Mark Brown
2018-09-07  1:04 ` [PATCH 16/16] ASoC: ux500: use devm_snd_soc_register_component() Kuninori Morimoto
2018-09-11 11:18 Applied "ASoC: sh: use devm_snd_soc_register_component()" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180910142122.A76E51122D51@debutante.sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.