From patchwork Wed Jul 15 07:11:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6793661 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4C51F9F2E8 for ; Wed, 15 Jul 2015 07:15:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 71931205FF for ; Wed, 15 Jul 2015 07:15:51 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 29E1620592 for ; Wed, 15 Jul 2015 07:15:50 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 39C8E265A35; Wed, 15 Jul 2015 09:15:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id E2EC7265882; Wed, 15 Jul 2015 09:12:57 +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 B8D4B26581E; Wed, 15 Jul 2015 09:12:56 +0200 (CEST) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by alsa0.perex.cz (Postfix) with ESMTP id AEF3926586F for ; Wed, 15 Jul 2015 09:11:06 +0200 (CEST) Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 15 Jul 2015 16:11:05 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 218C850B56; Wed, 15 Jul 2015 16:11:05 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 21B0728070; Wed, 15 Jul 2015 16:11:05 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 1D96D2806D; Wed, 15 Jul 2015 16:11:05 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id SAC24744; Wed, 15 Jul 2015 16:11:05 +0900 X-IronPort-AV: E=Sophos;i="5.15,477,1432566000"; d="scan'";a="191575703" Received: from mail-pu1apc01lp0021.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.21]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 15 Jul 2015 16:11:04 +0900 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; Received: from morimoto-PC.renesas.com (211.11.155.144) by SG2PR06MB0602.apcprd06.prod.outlook.com (10.161.10.152) with Microsoft SMTP Server (TLS) id 15.1.213.14; Wed, 15 Jul 2015 07:11:02 +0000 Message-ID: <87wpy1vqy3.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown In-Reply-To: <87d1ztx5pb.wl%kuninori.morimoto.gx@renesas.com> References: <87d1ztx5pb.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 15 Jul 2015 07:11:02 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0016.jpnprd01.prod.outlook.com (25.161.131.154) To SG2PR06MB0602.apcprd06.prod.outlook.com (25.161.10.152) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0602; 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c3h8QmuZ49dxBa9D4WOgltmmJFahy/CDvYIp/iRjEKQM; 4:2Geyp0L5gCAUYGszMCocI+5Luzrt+pN0owHnj3xHR/XMK20TQ3Wj5zSbIWcTHjpIBTvXkT86zZmZYI+rElgebs59+PfBr+T8CySDhrnA7TZWuhlvQi6qn5Ab7s3RaTa6HEwuuArH9/SVuoxeLZmhnPYVKCm1UzEGc+NMuUW3kGj1zV9KTcuXUabb8/mqBZ4xwY43l57XR2/KNA/YiiUOLyw381PoZEeFtfjxBGDu6tkVVVcu0YQVvGS6FgnW8hVdJXMCW/Rtrx8Nl90FKip7CLLgVXoX6LCZd65LgA4efRk= SG2PR06MB0602: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:SG2PR06MB0602; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0602; X-Forefront-PRVS: 0638FD5066 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(107886002)(77096005)(86362001)(66066001)(4001350100001)(5001960100002)(77156002)(2950100001)(36756003)(122386002)(110136002)(87976001)(40100003)(575784001)(46102003)(50466002)(19580395003)(229853001)(92566002)(47776003)(23726002)(76176999)(50986999)(62966003)(46406003)(19580405001)(189998001)(42186005)(53416004)(33646002)(83506001)(54356999)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0602; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0602; 23:Gt4Wt8E5PAPi9cYqT/e44sLn68/Wlt5LdmJtLi9awqCilqB4LI3RMCxLEtmmlcvqvbaTnXQ5odwZFAZVsbJ4YG5Y44phcwb5a0t94JPCWg3P5n5BExcDyMdmvL6UiQLWZ1r9kk85FqE9mzOsm9GE2vvQZ6xuQko40ok5q+55SX/J0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/dQwstDjMsg6z1ek2TIS3iLVZk2fDPRxlnPvxkqCyTCmDN14dmBEVNrIfzwOYhSVQckZ+ASw6EzJEJRPFETT73tX+bCklHIsWf3yNCN0P4Ht5BjzsnVtKl8UCDYuv3gBkt0/lcKRyI1L3/PAIUALWOuWtXLo= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2015 07:11:02.3552 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0602 Cc: Linux-ALSA , shiiba , Liam Girdwood , komatsu , kobayashi , Simon Subject: [alsa-devel] [PATCH 11/35] ASoC: rsnd: move DVC specific macro into dvc.c 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto rsnd_dvc_nr() is used only from dvc.c Signed-off-by: Kuninori Morimoto Tested-by: Keita Kobayashi --- sound/soc/sh/rcar/dvc.c | 1 + sound/soc/sh/rcar/rsnd.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/sh/rcar/dvc.c b/sound/soc/sh/rcar/dvc.c index dbf0da6..8a61aa3 100644 --- a/sound/soc/sh/rcar/dvc.c +++ b/sound/soc/sh/rcar/dvc.c @@ -24,6 +24,7 @@ struct rsnd_dvc { struct rsnd_kctrl_cfg_s rdown; /* Ramp Rate Down */ }; +#define rsnd_dvc_nr(priv) ((priv)->dvc_nr) #define rsnd_dvc_of_node(priv) \ of_get_child_by_name(rsnd_priv_to_dev(priv)->of_node, "rcar_sound,dvc") diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index 46eb4da..8f793f0 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h @@ -579,7 +579,4 @@ void rsnd_dvc_remove(struct platform_device *pdev, struct rsnd_priv *priv); struct rsnd_mod *rsnd_dvc_mod_get(struct rsnd_priv *priv, int id); -#define rsnd_dvc_nr(priv) ((priv)->dvc_nr) - - #endif