Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp305391imm; Thu, 26 Jul 2018 19:42:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcaktuXvP8QL5MxMoVOIu2QEzVbHxmYcOgljo0FtSUPl4Ivm7X7cedok+tbWUfNF0znvXkP X-Received: by 2002:a63:314f:: with SMTP id x76-v6mr4145790pgx.373.1532659343308; Thu, 26 Jul 2018 19:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532659343; cv=none; d=google.com; s=arc-20160816; b=yjLwu02k0PGHU8kYAjxCG3IbAGxKNM0Pun08rc4l3AEXCWyhEZuhHOAxd9bRYVNaHh NU2p95FBVpXTl7bepviJUnHjpBkaz4t4a0B5UjnK0+rKRBi4MXYObUr74lNAqltghWx2 FfbswbatXmJjc2iF+3rO736x9gBQUgZw5XWyXOcawIqUjlfA0zglK+dkSRjPb4czt1P0 mu3mOsU/KTQqCof1i24vZVBNgtbi6ovqRvXRJbACNCiyWT6QDpNIf1uOa2H1WE/CaO6N XkRUsZoQUEwLLiqusRl8yHPTf2ocJGXhBtjtO5BNPTVjaqlqKhiTzDeMFwx92FvXZAJx p3ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=lYKjDGyswWIciZxvc2B6VYhmilAWhkiW+RITq7I7NFk=; b=qm/Kd3DnEPRuzAmwavnkC8P3H2gzUY438P5Y3oxs29Pw30KOFpYZjeA3RjbgYntDzM IBEhANyj307AQMwImH+b5RMPOr7iY4Dgi7tX4/p9SxZjOfnC/yWfBtioUC/ErH53V3sj aHs6q9qDvbATUkc+r2nvsHEVcJcLN1JhDjBQhftW9E2dA+Iks2n0lJTv2cwTAZTGQVL5 LwTUNs2neuzO9xzcFjcNI/Og/uIkjzvAS1KNQOOZY+AJF1v1LaJAEbC4D7UWBH1zlvoi 1LdGGlv5x7H3Z9cBakfutH6vKRPUtzp4ozz6o9OY8SGtnun/TFlugtdb0Gq5HToLoN13 ooiQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o84-v6si2984767pfa.15.2018.07.26.19.41.45; Thu, 26 Jul 2018 19:42:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732148AbeG0D5Z (ORCPT + 99 others); Thu, 26 Jul 2018 23:57:25 -0400 Received: from mx.socionext.com ([202.248.49.38]:23204 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731974AbeG0D5Z (ORCPT ); Thu, 26 Jul 2018 23:57:25 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 27 Jul 2018 11:37:47 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 2A042180D65; Fri, 27 Jul 2018 11:37:47 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Fri, 27 Jul 2018 11:37:47 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id B810240176; Fri, 27 Jul 2018 11:37:46 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 919CF120448; Fri, 27 Jul 2018 11:37:46 +0900 (JST) From: Katsuhiro Suzuki To: Mark Brown , alsa-devel@alsa-project.org Cc: Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH] ASoC: uniphier: change functions to static Date: Fri, 27 Jul 2018 11:37:44 +0900 Message-Id: <20180727023744.7865-1-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch changes some functions that are not used by other objects to static. Signed-off-by: Katsuhiro Suzuki --- 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