From patchwork Wed Dec 27 10:39:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 122770 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp7547349edb; Wed, 27 Dec 2017 02:40:06 -0800 (PST) X-Google-Smtp-Source: ACJfBot6lKp7KG3B3mCC0IokK+/6Ek7XQJV2uk1qSEJ4uopt/a8zsO6AKlZdqNXVs4YrUQEmPiva X-Received: by 10.28.61.135 with SMTP id k129mr21993052wma.81.1514371206452; Wed, 27 Dec 2017 02:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514371206; cv=none; d=google.com; s=arc-20160816; b=FvZNBTn/TUZ0EMPGGLFFh3utov+UJTdpchJCbC0xAwCzAIvdZxU4zGKAviienTK/6F /Vd9ZSGJSCXMwKpXnrV7RpP8w2Fpgukx+wqcwZb6hMYHhRM9D+AcFgtBmjGKS8GOGJrP w7C/9o9HA2609IT/Jz6b7sGXX043B9DqbgxgbncKwGGFPpT6gbsmgNAq96aM0ZbO5xhQ Azd3WIdYPKlNn8hx0RAoAKk7GJqVqN3wUQ9T+yV7tuuPT/ah4U9D8cZY3/X1Glwyj0jd o8ni7ru6ZVfB+6o0B6mBes6/GhdbFpjKCFIf+BbfhRKDztgVTY6QqrMQwP1FD3UR7Uve FLwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=KdiYIQqn69JV91EDyVE455JL2DPCuNI2U0eK78DYOAo=; b=feFVX+rXB+aAwnLQ3fT8f1xvlzt0dzNW3Xkpzb766ngo9PD2x7DDVQEmPG+ekQQSXw BaPX8LjiM9d1SaC4HytGy7E4wV0vjOMoSSnDys5vEt3R45URhgE4H3K7tlDBodR5Tgqp U6cv6mP7b0RtfXkl8XWGIVKIW2gAGN5X0Y/b5zsei4r6KeDXGOVoA7ReiY+J6px+lRhS 9egCETq4NVXRXl2XjM+acf7x23ElhFF0h2k5LFKqe8g8NdfnTEZM0rfzvxS/aemAtKlt Q/o5A440KWeVOlFjftv2bR7iEg6J6RulJp8EmXJ2D2MV8py7SCq6NHG910fwJEG8vOPE cWHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=aJLJbmTz; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id v13si11299240wra.381.2017.12.27.02.40.06; Wed, 27 Dec 2017 02:40:06 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=aJLJbmTz; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 1E4052673AD; Wed, 27 Dec 2017 11:39:46 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2E43E2673A6; Wed, 27 Dec 2017 11:39:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 68FEE2673B0 for ; Wed, 27 Dec 2017 11:39:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=AKzY73cJk7c8uoX+7JY7kHYTNQJ4pxEc406AOHwo5ns=; b=aJLJbmTzVYIB MPI22hK8U5vDEDxlFKl67tu+YgMmNAf8Eq9yxc6ZN9H0dmsY5r9qzQTahPazhafYzOOI7FwPp0UJf GhAeFp+1Nn9wtTySu155gCLyHGvniPxtQoH6LTh2g8w19cfpmD5H+p5kyyMnNUvr5sKjfoNOqqwsD 30iRc=; Received: from host159-180-118-107.range159-180.btcentralplus.com ([159.180.118.107] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eU97e-00049o-4I; Wed, 27 Dec 2017 10:39:42 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 9AD4644006B; Wed, 27 Dec 2017 10:39:41 +0000 (GMT) From: Mark Brown To: Kuninori Morimoto In-Reply-To: <871sjqyyr3.wl%kuninori.morimoto.gx@renesas.com> Message-Id: <20171227103941.9AD4644006B@finisterre.ee.mobilebroadband> Date: Wed, 27 Dec 2017 10:39:41 +0000 (GMT) Cc: alsa-devel@alsa-project.org, Mark Brown , Simon Subject: [alsa-devel] Applied "ASoC: wm2200: use snd_soc_codec_get_drvdata()" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: wm2200: use snd_soc_codec_get_drvdata() 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 ac769ab17282e4ca1b95fdc22c58975cba8f3619 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Wed, 20 Dec 2017 01:37:13 +0000 Subject: [PATCH] ASoC: wm2200: use snd_soc_codec_get_drvdata() snd_soc_codec_get_drvdata() is common function to get private data. Let's use it. Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/codecs/wm2200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.15.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c index d83dab57a1d1..2d03db6efb79 100644 --- a/sound/soc/codecs/wm2200.c +++ b/sound/soc/codecs/wm2200.c @@ -1550,7 +1550,7 @@ static const struct snd_soc_dapm_route wm2200_dapm_routes[] = { static int wm2200_probe(struct snd_soc_codec *codec) { - struct wm2200_priv *wm2200 = dev_get_drvdata(codec->dev); + struct wm2200_priv *wm2200 = snd_soc_codec_get_drvdata(codec); int ret; wm2200->codec = codec;