Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3814671imm; Mon, 30 Jul 2018 04:05:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc2yonVPDxYzG8Zc0R0LzvOIE+otcngyihkEh+E7Jqo31NpZaWIdMh8TAXlbmu++hp26ong X-Received: by 2002:a63:8341:: with SMTP id h62-v6mr15572064pge.298.1532948747310; Mon, 30 Jul 2018 04:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532948747; cv=none; d=google.com; s=arc-20160816; b=hgGaBdeHbB9ebzQWF2xFf4kowVzv2obEEVGqmdvqEFtFyHC0j2qgDRp3ePGbLsFt4O ZN6krj4zkjcsrCqBJjJMtIWWRLnyBAJYXToUFdUHINbI8TH4fj3rB88epOKOV+eFsVrj JSfqR5TCof8ci9U6986/7mJZAxpuFduB79ml0SwD1/QH7VsglgTvwa3GdqDIAidKVYGo JuaHcrzXSrxDZ5LJpza/alKNtennD/LO+riO2OHHZK+8Fyof4GktCqumlsyr5HfmG3PD IV8LwhWZyy4p/DxTYo2kCE5RGSRtGZOweFEkttr1UicMEoVlTseacj9YEkNA0ZhO2oVH 3/BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=ctB5JL92VoYNZvYSz6X6ThwG4567aUmrayABB6PmceI=; b=RefvSPdCN6DB8vIiu7b1DQEVojzrswOyrLMdKvgC443mIlFMm2i/s3Co3HvaoMW1WO 04VEX2qaVmf080m6N3U8dUK2/GMCztiNK0qZjQHhgOGXyPNvW7EmkodnUFhQ4dU0NBMi 3ORnIX5sedpeLeDws3Uk3pjtH59ITwHFLKZvTMiAmd9P2MOtvqjO2nsygp/3FkiRptKe 3ls87K+KtwJGBbW3w5BVBhxlolnONfjm2JZw1uObRhLOVcObUcEMPnHUioi9cPiLb2q9 f2oEAbp88d4wkiO+tBItPB7Udl7W6hwFYJjU1UdbhWita1oNAiSrzf/t2909d7Us90MW siXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=veWxI5ye; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x25-v6si11318225pfi.138.2018.07.30.04.05.09; Mon, 30 Jul 2018 04:05:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=veWxI5ye; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726876AbeG3Mhf (ORCPT + 99 others); Mon, 30 Jul 2018 08:37:35 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:50300 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726530AbeG3Mhf (ORCPT ); Mon, 30 Jul 2018 08:37:35 -0400 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=ctB5JL92VoYNZvYSz6X6ThwG4567aUmrayABB6PmceI=; b=veWxI5yekfGN niB7emSez9nDvyDmDiYBCXtCFTJHj0slcwn5l6B3p/0ZGpJf5vTGtoqs9uNK8/D+cm3xIAHcdfS3r 5UTlgauUAU5gqQpoM1eFVhZPN6RYBVqEtEwL5nC1TOHXsQlM/jsETuQF9W5+La7v+dNouVTvKKg0V Rwb9I=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fk5x7-00053W-VB; Mon, 30 Jul 2018 11:03:02 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 72F1F1124216; Mon, 30 Jul 2018 12:03:01 +0100 (BST) From: Mark Brown To: Katsuhiro Suzuki Cc: Mark Brown , Mark Brown , alsa-devel@alsa-project.org, Jassi Brar , linux-arm-kernel@lists.infradead.org, Masami Hiramatsu , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: uniphier: change functions to static" to the asoc tree In-Reply-To: <20180727023744.7865-1-suzuki.katsuhiro@socionext.com> Message-Id: <20180730110301.72F1F1124216@debutante.sirena.org.uk> Date: Mon, 30 Jul 2018 12:03:01 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: uniphier: change functions to static 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 d8504acca759ae672c6d34d49a33d54ace094cbb Mon Sep 17 00:00:00 2001 From: Katsuhiro Suzuki Date: Fri, 27 Jul 2018 11:37:44 +0900 Subject: [PATCH] ASoC: uniphier: change functions to static This patch changes some functions that are not used by other objects to static. Signed-off-by: Katsuhiro Suzuki Signed-off-by: Mark Brown --- sound/soc/uniphier/aio-core.c | 6 +++--- sound/soc/uniphier/aio.h | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sound/soc/uniphier/aio-core.c b/sound/soc/uniphier/aio-core.c index 8b09bbb0f8d0..9bcba06ba52e 100644 --- a/sound/soc/uniphier/aio-core.c +++ b/sound/soc/uniphier/aio-core.c @@ -327,7 +327,7 @@ static int aio_port_set_ch(struct uniphier_aio_sub *sub) * * Return: Zero if successful, otherwise a negative value on error. */ -int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate) +static int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate) { struct regmap *r = sub->aio->chip->regmap; struct device *dev = &sub->aio->chip->pdev->dev; @@ -446,7 +446,7 @@ int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate) * * Return: Zero if successful, otherwise a negative value on error. */ -int aio_port_set_fmt(struct uniphier_aio_sub *sub) +static int aio_port_set_fmt(struct uniphier_aio_sub *sub) { struct regmap *r = sub->aio->chip->regmap; struct device *dev = &sub->aio->chip->pdev->dev; @@ -511,7 +511,7 @@ int aio_port_set_fmt(struct uniphier_aio_sub *sub) * * Return: Zero if successful, otherwise a negative value on error. */ -int aio_port_set_clk(struct uniphier_aio_sub *sub) +static int aio_port_set_clk(struct uniphier_aio_sub *sub) { struct uniphier_aio_chip *chip = sub->aio->chip; struct device *dev = &sub->aio->chip->pdev->dev; diff --git a/sound/soc/uniphier/aio.h b/sound/soc/uniphier/aio.h index 23a5c3c68658..ca6ccbae0ee8 100644 --- a/sound/soc/uniphier/aio.h +++ b/sound/soc/uniphier/aio.h @@ -325,9 +325,6 @@ int aio_chip_set_pll(struct uniphier_aio_chip *chip, int pll_id, void aio_chip_init(struct uniphier_aio_chip *chip); int aio_init(struct uniphier_aio_sub *sub); void aio_port_reset(struct uniphier_aio_sub *sub); -int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate); -int aio_port_set_fmt(struct uniphier_aio_sub *sub); -int aio_port_set_clk(struct uniphier_aio_sub *sub); int aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through, const struct snd_pcm_hw_params *params); void aio_port_set_enable(struct uniphier_aio_sub *sub, int enable); -- 2.18.0