Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758644AbcJQIce (ORCPT ); Mon, 17 Oct 2016 04:32:34 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:22375 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758568AbcJQIca (ORCPT ); Mon, 17 Oct 2016 04:32:30 -0400 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="222518081" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87pomz4c69.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 02/23] ASoC: simple-scu-card: code sync: rename asoc_simple_card_priv User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Rob Herring , Mark Brown CC: Linux-ALSA , Liam Girdwood , Simon , Laurent , Guennadi , Grant Likely , Frank Rowand , Linux-DT , Linux-Kernel In-Reply-To: <87shrv4c8x.wl%kuninori.morimoto.gx@renesas.com> References: <87shrv4c8x.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Mon, 17 Oct 2016 08:32:23 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0067.jpnprd01.prod.outlook.com (10.167.153.155) To SG2PR0601MB1454.apcprd06.prod.outlook.com (10.169.106.20) X-MS-Office365-Filtering-Correlation-Id: 5e15f9fc-719d-4330-b85b-08d3f6681f30 X-Microsoft-Exchange-Diagnostics: 1;SG2PR0601MB1454;2:Z4JvFHt1cAxJinb2wKAlGea1Y4XET8BUfXd0GJAv2ngTQPS3vdHP82FkbwOr9YtbIyHqP0EzcVunjCweOt8Shbt+uez5Stt5OPIx11UPK2zTn0Z2MIi+z1Hl7p2ThMwZssDdOVHZBtfaB8tpjaDhlUeNrEEZXDL2VwjPCx0R/12Nby+LPkCjNAoHtpTeLUU8pu/XwKMPwhXGVg0ygA10GA==;3:/sHM06doaQma0MGGcY7/AX1UKvo88K6T3+9th6FAgq9Dl1ctY2YL3nJUrJ30AF3c3UChDnH+K9aSfETtEcUtWVwhaaVTeiDmTnkKGOzwVyCeKIvK3HG1+yhwaQOn5PmuEwC9VApwkBxuLEil6Ik2Uw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SG2PR0601MB1454; X-Microsoft-Exchange-Diagnostics: 1;SG2PR0601MB1454;25:3w+EcMNYxP3cwdM+rnaiQfMUoEpf5orpCDEQXWTdX9m/GvhLK4oxgbaUcw3zAnIASpOA/ledG5VDNEv0NIxsTxLYkVK2mZOJ+I/d2GbiNcFMg+7FRpfJ8DsqJx1tiWCemlaE0CPdFZXQ1Ltbq/L+6PHkpLyeuNv4xWCPS6DwydLrj+G5QsKimRjsqfBwb4fkGKTd7pfxYm/spHfjXoUgTD6wSLHjeCFPviLpn56ee6FpA2K2Dgok6FOfkZ+zrgeInJqEIWn6fnfzapMvUi2lEJRhq9fitu/ttFir0LKOY73WBVkVo8nLD2pO9QSrAX7/mfmhsIrYJXnwQBedZxWL7TppKSoIFQk0MOpHfwx+Od9d7SrTmI6ohNJfsJVSMA79IKZsQhK+I8Va0K8QTYPmtkM/WtoN1BagJBgpg0pyY7ycX9cQkQVAJzyqCXyBiqerUQUenzxHpYQ6bKzULXhurmym43djrXYe+GDVmruA+hvR86U4bEXOW5XpGXF8TbyqsEXX2FMgLemtewFERyUIr/cu12EnyG6UWLJKxONX4giLzhP1eEVfui3SezPpjFHx8EwS2tqBGllHFDOY67ps5jz6IWrCHsrlO/94wJtmfWssd65xOd0AyPJy+H9zWkeUkk2WZHOu7rcrg3RGbSZ+lPrgKbRvguM+IfjFzniKwVQS1qwn0TKddy9FqZOwJLp7fpQzUkp3/dutGUKL8rpULQ== X-Microsoft-Exchange-Diagnostics: 1;SG2PR0601MB1454;31:DQpDQiCPPh41NkSkAS22PBY7Q9xtSUlQUPtyDLXuntKCkPK6nZhs+SSoK3FCf9w88mR+CkAmIeK+1hgCeeieVaDls8lUvnghFVOTDm6b3yJAw6lHr0FNWvX4nHnGTsqHpBtD+OoEvDler3H8t0BdycLG8iQJkeE3rIyb1CnwhrIPVSzLySD2KON95NiAFCFwn+dEsXGbWOEe8aKt1JYKMGJKgSlLwOxP5rsAiC1WXbhRQ+Jr1W42eUIB43rY3g5dxyeQlIodXXJfBR/c0s5GQQ==;20:jFBbGfcFugKx3hZXE5AxJlAs4AD4GQcspdVfFZqR1O/860LRRBfISt0FmuivUqlggfCeOgKj0m5Hoy3y8AxPfz4bve1kAmqDqx0bs1r0SzjEV+u0Q/LzKqSJki5DZyqRegHeqJAr+CXDuMKdlXWd76aY6VgigN9plewKKCAGF2l/kiFaalmWZCkgTsZSm9McjCm8J6TfQujdHanL/q6QOuMptBL0Uwx128gv7dfVlVeY9Hh+W+8SSJk8v31+mNwTnhT14pTB+glbQMhu9fH2Dhs4Ni0iDwmahi98OoVtQPNvbsdXA9boWxV63J3PSTmvBnoZu7B1p5JMNXhd7qBnTVylkGBmSz9RTGPXfPLqHb8ROTMxmpVUow2cYsGlAN/HwjSRWIE5H5/z2Mj6KrYXuhKNX8gGwBNoZlmB31WIfS4zCa+XYsP3oXHi03OEjeC6wNvj7bFERlALQ8OF6oREHjGgs1nLh2n5jv+Yfk4aelsCOVtH1CHWM5XHeBXCqVkn 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)(10201501046)(3002001)(6055026);SRVR:SG2PR0601MB1454;BCL:0;PCL:0;RULEID:;SRVR:SG2PR0601MB1454; X-Microsoft-Exchange-Diagnostics: 1;SG2PR0601MB1454;4:Koal22LLr5jhHLGJ/+Z3OVGutFQSv0kqxN8lDsa61I8fxEB7J06X5yzfmH9YDu304CY1/edZYtjpL/Z2SYWh/hMovFcHobB6pewrASeOGeslSnqEiD0QYwyscU9r5uuCSzq8nZLGIz8m+2n3Lmx9IIIpC6JEAnVwzonq2iNjSaR+Lsv9pHrnZKU8oWhPfsgadepIqcmfEUqdiLP+XzNq/3eSy02iNNOAytDTS3CR3yy/LtcsHJDTVWn0WctiTKDMe2J5r+pXcN6OFQFPW4dBuwDxa/PxNQJYgiI3HlXa0Ot32+mmsPlZrNG4/xJZLqQmZTPFNiAeBfXBDb9VwsyuSjSugYp+eG3qfy0VQ2X0ttjajQJHRojkJ5dlDGt7XcfLAMX54ERuzY16oUSA+s71UjA8aaC6I46zJ0zb38fSqmQ= X-Forefront-PRVS: 0098BA6C6C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(76176999)(86362001)(54356999)(66066001)(47776003)(23726003)(2906002)(92566002)(77096005)(50466002)(19580405001)(106356001)(50986999)(4326007)(229853001)(3846002)(230783001)(33646002)(101416001)(19580395003)(46406003)(36756003)(42186005)(8676002)(105586002)(68736007)(53416004)(81166006)(2950100002)(8666005)(7416002)(586003)(6116002)(5001770100001)(4001350100001)(69596002)(7736002)(97736004)(189998001)(305945005)(7846002)(83506001)(81156014)(5660300001)(7059030)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:SG2PR0601MB1454;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SG2PR0601MB1454;23:9NY3qC1aZpqWwrTqscUt5gkEHmQMPBX0fgbz0et?= =?us-ascii?Q?KyzyucYev3/LallEhWacRJ/uwRTaHNFcjR+g4pq+tt2gpvHoaexcBc1jCELf?= =?us-ascii?Q?qU70H9Pb2MjsJtQ0wA7ydcRIv9sufpgbSocOE8AU38SNVATnGBzd5YxE2oUq?= =?us-ascii?Q?eVvQT9H6unpKiz/GiBaRenSD5jY+03EjY7UYDJwGCS/S1U6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1lZ0PklyQ3Q3zZdoNnnV5+gQMvFueEWxO8xlsCj?= =?us-ascii?Q?Ft1uezSYjxkmgyDN146PgQnmIhlznr2HCsYyaMIAKdsztkIRNMFJHqoZbaPJ?= =?us-ascii?Q?U/sEvn4uKbCLe5eu1es+xr453N8GfqDv23dKoExy+FBUwF80Yz9zWmBDXKov?= =?us-ascii?Q?T9/nOi/Gs7bNqnPmR3xQgF99h7RbHSb476dC+gx/j?= X-Microsoft-Exchange-Diagnostics: 1;SG2PR0601MB1454;6:za0iXz4OYuaIUwmWk7mXBa5k6NqzO1ozs1jKZyavSou815SDRLfdT21K7QHw06USWHFP4feyGjN4N0olNZRWilGNqXRcAcx1G5GOCUnnpqcWAGiZBMbT5/KtAh37gGKS5MSW0dc8HgaweGFy1lUzTLZMTMVnT4sdR/bkj0I0oWxU9SqchvqDIfl3zAEML0uiXnG/Fz+P5k6dnLdm6tsuoiw0h68MykriK/POo78uElfTxQbYH/P4cSfc9aX5gKVCZtI9XdWeBlUUavSxg+p7LrR5R6WFtKJ1iifV0i6xVKGtQV8apfVRFzyGRV7RbOVMzfPFn0WpZ2TXRf4UbmAZnM6LT4Vi9yxISRgb/4Br0vQ=;5:vCcImoFEmzlSg/Tt6CwU5zZh+Q87kE/d1kEjcCyQEQCNaB9aXKbWJePDRbjFK0EK5+J76baRcBil7zOnOotwOVe42cq7Wz9UxlFBkNDu/1sOseKuwm6uD6jpwe7N5ha3qJtXpd9WTxR1IMjoCPjf+fdf6KbZZG9+L1wjGj6qcIE=;24:Tn3zsrlQgt6uFMgjWqaXXrA/lvwAPEUF/ZIC4nkK14zS4rfiDlsGoJV8DPnZMh43jdCjZIkrvN4rqFIy5fqR0Samlcx+5l/C4z5oojhlDWc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SG2PR0601MB1454;7:JDiSoqGD3chFbuh6u7+38IoZ/v+I7pSWT50Z8t+mlHpBrnypt61ilrDVUSc3BLslH/mZvvv5z5S0bjI1dSRvfDDVGkAtBdstUd4liL1oy07vttQnxCR8rbz+IGNSuvAwclfO9zMD1qLxqHGP2J0L9O2N7j4Dc4mQr71QqBMM5lFE5et8QigrpqLtk1JzV1WvDn4o6rsa4IG2EQAuvADQs951EwHrO64Nq1wp+8nlayDkLlbOkS37whWtCj/59sgiNUCIOK4fbJpKX+391+EmaCbsiFq0zWQXInHMvXbG5JGinJBYlFKzgHGwD6IM4yE61dQDYIb6XOk4G0ByKvRBucuAwhgKe565IXRSY+PTS7o=;20:rErxLghCG+5vsvYsLjR6VH3FDIfTQg8UdsuUcBnwxOFKR7KJLj6COmPC+F0eZEbA3867gdlGFM0Wt1YRfDy/5I4Ou/bk9cReRJ7QPY4oK8Nebj55vVHoOfxJPRg3lBPm2NbyukMfoeTk/WKrRPvAWWwpVJT+aI+tphxmHd0ZzkE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2016 08:32:23.9632 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR0601MB1454 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3767 Lines: 93 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 renames asoc_simple_card_priv to simple_card_data, same as other simple card family. Signed-off-by: Kuninori Morimoto --- sound/soc/generic/simple-scu-card.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sound/soc/generic/simple-scu-card.c b/sound/soc/generic/simple-scu-card.c index b8d8437..1704b18 100644 --- a/sound/soc/generic/simple-scu-card.c +++ b/sound/soc/generic/simple-scu-card.c @@ -22,7 +22,7 @@ #include #include -struct asoc_simple_card_priv { +struct simple_card_data { struct snd_soc_card snd_card; struct snd_soc_codec_conf codec_conf; struct asoc_simple_dai *dai_props; @@ -42,7 +42,7 @@ struct asoc_simple_card_priv { static int asoc_simple_card_startup(struct snd_pcm_substream *substream) { struct snd_soc_pcm_runtime *rtd = substream->private_data; - struct asoc_simple_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); + struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card); struct asoc_simple_dai *dai_props = simple_priv_to_props(priv, rtd->num); @@ -52,7 +52,7 @@ static int asoc_simple_card_startup(struct snd_pcm_substream *substream) static void asoc_simple_card_shutdown(struct snd_pcm_substream *substream) { struct snd_soc_pcm_runtime *rtd = substream->private_data; - struct asoc_simple_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); + struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card); struct asoc_simple_dai *dai_props = simple_priv_to_props(priv, rtd->num); @@ -66,7 +66,7 @@ static struct snd_soc_ops asoc_simple_card_ops = { static int asoc_simple_card_dai_init(struct snd_soc_pcm_runtime *rtd) { - struct asoc_simple_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); + struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card); struct snd_soc_dai *dai; struct snd_soc_dai_link *dai_link; struct asoc_simple_dai *dai_props; @@ -84,7 +84,7 @@ static int asoc_simple_card_dai_init(struct snd_soc_pcm_runtime *rtd) static int asoc_simple_card_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) { - struct asoc_simple_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); + struct simple_card_data *priv = snd_soc_card_get_drvdata(rtd->card); struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); struct snd_interval *channels = hw_param_interval(params, @@ -102,7 +102,7 @@ static int asoc_simple_card_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, } static int asoc_simple_card_dai_link_of(struct device_node *np, - struct asoc_simple_card_priv *priv, + struct simple_card_data *priv, unsigned int daifmt, int idx, bool is_fe) { @@ -196,7 +196,7 @@ static int asoc_simple_card_dai_link_of(struct device_node *np, } static int asoc_simple_card_parse_of(struct device_node *node, - struct asoc_simple_card_priv *priv) + struct simple_card_data *priv) { struct device *dev = simple_priv_to_dev(priv); @@ -253,7 +253,7 @@ static int asoc_simple_card_parse_of(struct device_node *node, static int asoc_simple_card_probe(struct platform_device *pdev) { - struct asoc_simple_card_priv *priv; + struct simple_card_data *priv; struct snd_soc_dai_link *links; struct asoc_simple_dai *props; struct device *dev = &pdev->dev; -- 1.9.1