From patchwork Mon Sep 4 14:49:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 111597 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp1628474qge; Mon, 4 Sep 2017 07:49:45 -0700 (PDT) X-Google-Smtp-Source: ADKCNb64GdS7KCPZpRncVXM0rLnMFJGTjD2MPZHe37RWtnLewnJPQbp9eaB1gjNGs1/14PBzvNaN X-Received: by 10.28.153.85 with SMTP id b82mr388498wme.121.1504536585878; Mon, 04 Sep 2017 07:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504536585; cv=none; d=google.com; s=arc-20160816; b=e9chzCbhgIG5LQp49zWf3gBULpXrjOq4lsHB5FIXPWffx+jUmpoxrEKy1yRlb462fJ 4kPQSRb7Bg8M7cEnMLvK+nVF44AuhHKADsrjRfCD3pBXcBB2BPNx/8CbWoclmswJkaeT QKW7KV/EV8z2vWbmrlF8LzN0EYa1Ql2d+0CbimDM3oQxFuxY0Ndc8hRCEbRaOUGqBs89 0B8oSD4NxiNHDi/F1XtxcxXX8wPWH9KOoYheosFzdsyn5+zJanUrz58vado3I9U2Njeh wfOqKPNDmilqgotz+mI1MOVIQr/PnRcMpSbzx2DoJr+zIhJOq6BrFE/OdLI6dNQZWuLP hnog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=oKpJLXtMLJrYlwXKbw3MncFQg1YwaNw6PRRNsWheN6g=; b=nkxaBU7ZSv/XiFRbZLnrY2Q1g51NPsnBJfJ3UDYou+li0FwgRaZj8s+gLsMaCvUnyP z9odCc4IqjhC7bBWhZiP1+OpMeo9FWbeN7163Ot5EjryWFumJXeOtdJM66+nXwQLnP5B QIdKVmMhtkX0waamIjzoySRiAgM5fcBQV4IT4aEwjoI7sOz/KFtUaYq+GnkGvRZYtm+U iNX8xny6ffz90nGNTLNZ5hT5bXrxIOGWBZfVdU5Vl4M6Jsf2+LSVzLKAdTexh4DgZIpg plBLASbTQXkYOJfdebXow42y4pNVeigv+x/05reYXeju684W3UQzWzCGkoXm9ThbddRF KJ1g== 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=cezd5qMf; 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 u31si5401472wrc.135.2017.09.04.07.49.45; Mon, 04 Sep 2017 07:49:45 -0700 (PDT) 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=cezd5qMf; 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 9A3FF26707A; Mon, 4 Sep 2017 16:49:44 +0200 (CEST) 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 BF6D926707B; Mon, 4 Sep 2017 16:49:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RP_MATCHES_RCVD, SPF_PASS, URIBL_BLOCKED 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 BDD6F26704E for ; Mon, 4 Sep 2017 16:49:40 +0200 (CEST) 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=UAQqztgAPBYXjd9nOhqfJ5j8X9gWen2+K7jX1m6RrMw=; b=cezd5qMfkonh a23EhbQ4j2ceZTVXhGACRQS1BxvuSq6717bM4qSersnX04Uoqu0Yj2/MsSFzHO+di9cERkxcwz7Jg EW+eetcz1c+woz/fxQTJivklCKkrguOP+N9OJWvwEeGEwDn2Z/1eeZpRxgNHxFjpOX+iZcrcoL674 cFrWo=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dosh1-0003mR-8Q; Mon, 04 Sep 2017 14:49:39 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dosh0-0006UC-Ln; Mon, 04 Sep 2017 15:49:38 +0100 From: Mark Brown To: Takashi Iwai In-Reply-To: <20170904135448.26314-2-tiwai@suse.de> Message-Id: Date: Mon, 04 Sep 2017 15:49:38 +0100 Cc: alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: cs43130: Fix unused compiler warnings for PM runtime" 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: cs43130: Fix unused compiler warnings for PM runtime 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 >From 7051334672e54fae67e02d5d3296fb62b3343be7 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 4 Sep 2017 15:54:48 +0200 Subject: [PATCH] ASoC: cs43130: Fix unused compiler warnings for PM runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add __maybe_unused prefix for addressing the following warnings: sound/soc/codecs/cs43130.c:2615:12: warning: ‘cs43130_runtime_resume’ defined but not used [-Wunused-function] sound/soc/codecs/cs43130.c:2596:12: warning: ‘cs43130_runtime_suspend’ defined but not used [-Wunused-function] Fixes: 8f1e5bf9b440 ("ASoC: cs43130: Add support for CS43130 codec") Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- sound/soc/codecs/cs43130.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.14.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/cs43130.c b/sound/soc/codecs/cs43130.c index 4229a95e2859..643e37fc218e 100644 --- a/sound/soc/codecs/cs43130.c +++ b/sound/soc/codecs/cs43130.c @@ -2597,7 +2597,7 @@ static int cs43130_i2c_remove(struct i2c_client *client) return 0; } -static int cs43130_runtime_suspend(struct device *dev) +static int __maybe_unused cs43130_runtime_suspend(struct device *dev) { struct cs43130_private *cs43130 = dev_get_drvdata(dev); @@ -2616,7 +2616,7 @@ static int cs43130_runtime_suspend(struct device *dev) return 0; } -static int cs43130_runtime_resume(struct device *dev) +static int __maybe_unused cs43130_runtime_resume(struct device *dev) { struct cs43130_private *cs43130 = dev_get_drvdata(dev); int ret;