From patchwork Thu Aug 25 01:52:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9298569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B955B60757 for ; Thu, 25 Aug 2016 01:56:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8DBF29000 for ; Thu, 25 Aug 2016 01:56:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D9FD29163; Thu, 25 Aug 2016 01:56:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7A8229000 for ; Thu, 25 Aug 2016 01:55:59 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 220EA266CE7; Thu, 25 Aug 2016 03:55:59 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id CFEC8266E02; Thu, 25 Aug 2016 03:53:43 +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 83D33266B67; Thu, 25 Aug 2016 03:53:42 +0200 (CEST) Received: from relmlie1.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by alsa0.perex.cz (Postfix) with ESMTP id EA10726669D for ; Thu, 25 Aug 2016 03:52:11 +0200 (CEST) Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 25 Aug 2016 10:52:07 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 813F34F13E; Thu, 25 Aug 2016 10:52:07 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 663FC1806F; Thu, 25 Aug 2016 10:52:07 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 5F9D91800A; Thu, 25 Aug 2016 10:52:07 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id LBV27512; Thu, 25 Aug 2016 10:52:07 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'208";a="218060332" Received: from mail-sg2apc01lp0244.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.244]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 25 Aug 2016 10:52:06 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ZN7RdbGmQ861PEBT3axesF6fJf7G8nm5/CChro6/vTE=; b=Ul7vU+HdhVuNDCppWIMTP2id2aP3jVO35M86YZeuCROOL1RSmNJ2i0UdZ6jFn0dQ2fd2GZWDKz7dBUGRGrzxg88kCq9/77INK7qulxPoF79bvOxoNrsjf4m83QpwZPYbcGyg6odWTE0oXjYVg0CmjzCb/85zyIfi/Tzk1d39eSg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by PS1PR0601MB1452.apcprd06.prod.outlook.com (10.165.210.156) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21; Thu, 25 Aug 2016 01:52:03 +0000 Message-ID: <87r39d1v3i.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: <871t1d39ta.wl%kuninori.morimoto.gx@renesas.com> References: <871t1d39ta.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 25 Aug 2016 01:52:03 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0112.jpnprd01.prod.outlook.com (10.167.154.30) To PS1PR0601MB1452.apcprd06.prod.outlook.com (10.165.210.156) X-MS-Office365-Filtering-Correlation-Id: d9c617e5-0c13-42a9-a3d5-08d3cc8a6987 X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1452; 2:FydbuwOv4wndTKf4VzIGU071IHhKQOWS1M2vOchy6UC4YxOZt5Y6HOOf+iiSBvLaJv6unL0y6q2NpwllkGwfmi+b2Fr6TknIx70oVQGfSrW1xaGxk+hevHY01kkvusasIuebjNsNDUihpeD7umTWMxJSsIaKY+yCGKzMmbYZ7PKLFwRAYHMcbmR3wGEWHcgZ; 3:ArkKc0aEp8GNfum26rZQ6CkPgNUo+wKZD2lgfC/pMCajjsVLTP9+nyh9HfYV6o8agI6KrdvBN1sER3P7YWvkdIZX/NGFkvqVX5K/RjzUA1mC3KOeuADaMUiadhRp3rWl; 25:u18mZzNajbkiwr3pS5nBQMW7RJ43v96+/nOKV3OkSC9UF2w3XEXBEGmSE+ANdKu/Huc0E8yz4sQYLyvuDimNKN2zNsudLOFKsWF7Iyask+895XirwMf3lFpyATaxbIDWV9h1jZSdYFAxqymPeLsRiCl9dY4X0d29WFaQFbuxh/9SdIZxVMjTc+l9bq9OvYe8JO4lO4OPRsVrg/5nYPh+LJb4YbP+zPm6fHgPLyepTbN/iZTS8zQAfPSH/qkE7WzbJlPmuq3si4IgxnnITgd3NPbc3ZtBjMannoWdxbr2X2c2hx08sJIRQ5UPVivPvFjE7UzbpXmg124UHpNygZbGbcnf604x2pcisay2SFpYElwukKp42j5jpmpAvaIyhfdNawkj2F5ZyAov4HL+ZXgRyEbduCxD2onzLdxF3gNJmQM= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR0601MB1452; X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1452; 31:QNaEyEGv4spKkImbeibxFbi/ONVMmlh4LO01umnJC42/SzIJrnCmf2Cg885vtGR9HNAAYflcO35rFsUwor33dRafgPfRGBgJhDk/m7b0R+W/b2M3IjOHq85nH8RLMatbjae2npUuUqbmIv06p6gU9xRZRpg5ZflIVR5OpdAHB6oMHem3tSAyuu3mfiq1OnYh0ENm6jzBBOO1m/Uqrl2biyIq1Lj4Ii6R/IpO7r/clnc=; 20:/RXCruAma1FIvAX1oveme2ur+WpIBR99lziuVFC8HEh4RiXZQoO/1kVZDoteKBehXl+cLXuIqNPGtsIiBkxSRohSH99Qus3Fr8MyoqW9p8cWHuhW4iWSYqc2DcjgWv3Hrp+QuJ+uAWH9zJGW/HPbxC8yMCIq/k1dvqMwmoFDDY01bQhTX0GmEyTXQYsAe0Aw6w2ivTbB5cAOlcjiRVGPPwurGY/hrnCusbj8R57mMyaQazZrm3tC+k6+jp7OGBwO4kSC21SdvmqArauHMVe+m2ZZmrlP9MFzsrabnK+mZ5/oVL0UeoUZm93skUXAOx+5+0YvKpjRf/avpNPB2yvKvtKnKBvWw+6skTmsJs8tj0A9y4SyYsqEgzCneSZu+NrRpqwaYxqX0wm4i6yyXgLqs4s8bwJOvNUNXiAMlJ1IZ901oLxv+1XmEzth8qeAjXhATChbS4Kn9YHDzRbvf0Tql5+geBhcR6ZrDKQcooNNiiUY9E2zJQz3+nPQ/atWC658 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:PS1PR0601MB1452; BCL:0; PCL:0; RULEID:; SRVR:PS1PR0601MB1452; X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1452; 4:fUBW+WFbRgDZCR/5565/Y/S7LdjLX+ZKYPkrWByUcHojj3nuvU7B6xt3OjyxXvROEPr4AXoqP1bMQ3R7mD+ikwIFpXHqCIVVw3CYZfqU0ONVGPRAh0aBKitJHOzvU+UspEJIXV/Iziga86A+oPLOWn1kmn0fmqdrCK0TWOLNmkIiSemWfL0BX3+Ys3r/D2nEBr6zE+irKkYsRVEKldYa5QMnTJmDZyQAZ+Q5GyiSql3/SLXSCoErBf/FpNcA0SLd9C8anq8/mRotRxSrfFL4dvYia/wIxJmrGpr2qFd1V669j//8vEoHHCb+oFT8B3S1QQJqXqlWbKABCQMR31O0cjiUdg1ToREfleQ16640bR72yD03P6KqpCwfbPhJsGZi6YOCC1Ed8GDHxbuatAoPpg== X-Forefront-PRVS: 0045236D47 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(66066001)(77096005)(2950100001)(68736007)(3846002)(19580405001)(19580395003)(586003)(2906002)(7736002)(36756003)(105586002)(86362001)(305945005)(5660300001)(47776003)(92566002)(81166006)(50986999)(42186005)(4001350100001)(81156014)(110136002)(83506001)(7846002)(6116002)(33646002)(76176999)(8676002)(229853001)(69596002)(106356001)(189998001)(46406003)(54356999)(23726003)(50466002)(4326007)(53416004)(97736004)(101416001)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:PS1PR0601MB1452; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; PS1PR0601MB1452; 23:LvEaSC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H/DeiuL/OTWd5OJIRbqn4/Y3MRab36qQB1VmrBVoJxERueja0usc/tLtpFGw5B0JKj6K5yTABF2IKRKMKnLHEFR9MX+n4B7G3Tx0vA7eOeXVyNryR3SacqxsrQjXjTHV8KgGrEh1jYjwz8N/CV2BpfoWIDifQUQxfseUWQ4j+xU8OhkPjPPzqEkfUOQdJYua/ECIpQfG5R7QxkQ18d/XzPVmDQa0ECqy9r38Z68yv/1vfP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1452; 20:l5XvMaHn+PGjQltJ2rVjGO7AldfCLD3b1YechuSJ8r8o4J3Mjszc126slotTqtcNupYpCza8d35xnmRk+O3QQJsWWuqvPeMUxmHOv4Szaq0KoUZdN8DQi38zFiDM0VKDkvqkfu29atWRADhep3+uhrsgnLmy3MCnyMfpLO/3MAw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2016 01:52:03.4449 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR0601MB1452 Cc: Linux-ALSA , Simon , Liam Girdwood Subject: [alsa-devel] [PATCH 7/9] ASoC: simple-card: code sync: use tag 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 simple sound card family are using very similar style, but because of its historical reason, there are small differences. For example pointer style, function name, caller postion etc... This patch synchronized simple card style to other simple card family. This patch uses tag on asoc_simple_card_probe Signed-off-by: Kuninori Morimoto --- sound/soc/generic/simple-card.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 7d15b50..c17f851 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -401,11 +401,11 @@ static int asoc_simple_card_probe(struct platform_device *pdev) return -ENOMEM; /* Init snd_soc_card */ - priv->snd_card.owner = THIS_MODULE; - priv->snd_card.dev = dev; dai_link = priv->dai_link; - priv->snd_card.dai_link = dai_link; - priv->snd_card.num_links = num_links; + priv->snd_card.owner = THIS_MODULE; + priv->snd_card.dev = dev; + priv->snd_card.dai_link = priv->dai_link; + priv->snd_card.num_links = num_links; /* Get room for the other properties */ priv->dai_props = devm_kzalloc(dev,