From patchwork Thu Apr 12 21:14:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10339263 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 58CFC60365 for ; Thu, 12 Apr 2018 21:16:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44B0A284F4 for ; Thu, 12 Apr 2018 21:16:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39912284F9; Thu, 12 Apr 2018 21:16:01 +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=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham 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 6D08E284F4 for ; Thu, 12 Apr 2018 21:16:00 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4746B26736C; Thu, 12 Apr 2018 23:15:39 +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 C1A822673F4; Thu, 12 Apr 2018 23:15:35 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30118.outbound.protection.outlook.com [40.107.3.118]) by alsa0.perex.cz (Postfix) with ESMTP id D05922673C7 for ; Thu, 12 Apr 2018 23:15:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=j/oBFZIL8NIrvwodMUe5/1IVrTtOlxbRzu3lkqsYMJU=; b=YAMDdwxbBPAdOeqgzYZvY4xdYeLOfssUIdUo2NIdfgLp14aFMIx5gM9+V0ziSg5jGhrD9ck5RbIoAyFLGbfGM9AqnU4/qTLgY0pXxkuRGoER1k6QZPdjQuQX/Bs+foKmptxiY8K6tNS1fnFJqEf/tzISfr7g6BiOuYkxumhTdao= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.9; Thu, 12 Apr 2018 21:15:31 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Date: Thu, 12 Apr 2018 23:14:37 +0200 Message-Id: <20180412211437.21599-6-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180412211437.21599-1-peda@axentia.se> References: <20180412161601.GI9929@sirena.org.uk> <20180412211437.21599-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR02CA0105.eurprd02.prod.outlook.com (2603:10a6:7:29::34) To AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(2017052603328)(7153060)(7193020); SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 3:sqyal9f4mQf8Q5SltMNIewbti466yVbJrUoivM9Ih63FQ+IXbDIe8kctW+E+TY6gvIGqHhVPSNAhU7o8BUJ20jsqbaBdXoIhUrko9CSFCoEpU8Gz0x78bf5JtxqZ9acqe744KJWPfmupMY2yTOAGjSg+Gn+nvCp2bYVoWo59rAq4v2yKhDMk+ZrpFo/DHWaqR9gqK2aP/0UEyhVkChllY4p0/8RsqQTmmkY01OYdKuHva7fiX2tKTkDkyrTtT9VI; 25:1iIQQ/RVZGegPPnhaDuXFiDDQPtfFuovVPSZRLYxrJ34iyU7qCpyinwEVMvvIwxVa52fG/WSEzmCKtzdFR8kTPRYN3MnFxFhpbBhBwoqZ8htBAxwzyQNtXBV0OIwosK/Eh64s9HkUWQu1KczI64ncaYtk/RUFCyChp0IunyFtXNyPJFfxtIiRjal2XzqWsxJx2BZudz8wX5tjAGmBbbjdp8dDpHU4C1jpO5SFfBsy9g77bBs8xnAv3t5FIzoL5lceGZ4jXBk+51k2RrDF7XgNvgAewvAQ9uoGtSEIuL89gNmPeeaAeGK0BSFz9mIXpiE6t8wvQS1WxD32G+TuDsmuQ==; 31:MW4XWSCS10rOsq7SujIRRUSRsOGvy96WGZ9zkUwBmrpeYh9h4luXtTds0EOCXZQ3dPr/rD68F5ZHmlFEn7jfGI5Vr6Ssg/F5nUIKm0jHq8m9fcvmu6ykFjXToVtIln9yxDh/90zG66RPuhT509U+nBi9L1vih7C1uqa/kcZUsHd5lzDWIwhKGJqCxudTlLYksd/6pasbt/XfNNLKoywW5MbiNuit8u47+qn2c48rFac= X-MS-TrafficTypeDiagnostic: AM4PR0202MB2770: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231232)(944501327)(52105095)(10201501046)(93006095)(93001095)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(2016111802025)(6072148)(6043046)(201708071742011); SRVR:AM4PR0202MB2770; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 4:d6Vh9DyrhAaZLwPZkmn64rTMQ3k+ZCNgagUwvxOqi18qxtgiS+I3Co4uvlQkQmf09ylvvKCMCqe0BzKFo+Y9+R/SSx1OPEK0lZVRblHsL2xj6jVbNaAziCl5VQ9/KTKysy9k0/CZA8kfjldD60rgVlLxQZ60zG2eZaE4MKaTuwSgnfj/CW9/FfecFFm/MJ4z63LKfvLDgkYNR2sOFQXC7ohxk6GOn/rEWPfxOM22Oa46ON6P3GC6+XW/9ZI2dgsQU+lTesbACOqMByfjUvZ+eg== X-Forefront-PRVS: 06400060E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39380400002)(346002)(39830400003)(376002)(189003)(199004)(97736004)(6916009)(2361001)(36756003)(2351001)(68736007)(6512007)(66066001)(86362001)(11346002)(2616005)(2906002)(6116002)(7736002)(47776003)(478600001)(1076002)(476003)(486006)(956004)(446003)(26005)(54906003)(3846002)(4326008)(8936002)(25786009)(6486002)(51416003)(39060400002)(186003)(316002)(386003)(53936002)(105586002)(74482002)(16526019)(16586007)(76176011)(106356001)(6506007)(50466002)(81166006)(5660300001)(52116002)(305945005)(81156014)(8676002)(50226002)(48376002)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0202MB2770; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0202MB2770; 23:8HI9G5FDUQ8q8aHT+RoK+pbCLiJoUFNYRUiVphb?= =?us-ascii?Q?nKZzhDRK+gonaADWaWxuuVH/PQz7IffM7NHqYz1uoYuPqMBmfIaG/HqYtMFu?= =?us-ascii?Q?VMixEBzE6A0pryfx2l2A7TXRx10zRdE16VCNvKZowKBuWMk1AlCyxg3LFJp3?= =?us-ascii?Q?rBSEqJT968PclFl52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==; 5:VKvphFaI0FAUYfwctt+jBbeoluRCnC/X9y5+bIZok+l70IeSOcXvHm6vMO7dZVNSxOl8ZIx1n4P1O7oChDAiypsfZpbaf4sM46JOK8mOJsWiGTB+8U/t0bVraJrK1zP4quE0EhJIIUP9XNb/dYT4wruffsAPuRzK4zmEsUUSxEY=; 24:ZmFvd3jJBp4gMWS9MH/Y5IAR1JlNvlM+LERA/0swgIkLgrmkpUCk8vmFPw1gart364iz/CrkMVjL5QlXENu0MvMFnLtUiD0fUfKcti3bVKQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 7:3udPTtsQtduGk+fmYWeYHvq66fQNFP7raviyoVFARNt8WYOjtuYf0aqCXs43whEvzeQQL/D3kGZmUJvslFHRTv/2Rdf4iL+tprdGLXtacBTGvaE0z8wRGiDTqevKHlOyjuLlkoDzzvGyt7wJtEWBBF0EzX7/SxDFPqT1VUWPVibKZVFEQL8b5OucVe0+uUx5S9LbUZJkPCXk9/pZ85kzHczAbl1KaWBODul9lhIJuHJjz+HDWua4NGI2nhcwybCE X-MS-Office365-Filtering-Correlation-Id: f5e8be23-7cdb-4d1a-3656-08d5a0ba8614 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2018 21:15:31.1782 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f5e8be23-7cdb-4d1a-3656-08d5a0ba8614 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0202MB2770 Cc: alsa-devel@alsa-project.org, Liam Girdwood , Takashi Iwai , Mark Brown , Peter Rosin Subject: [alsa-devel] [PATCH v2 5/5] ASoC: tfa9879: switch to using .probe_new 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 Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c index 4d9b3f393808..d686e04bc5c7 100644 --- a/sound/soc/codecs/tfa9879.c +++ b/sound/soc/codecs/tfa9879.c @@ -272,8 +272,7 @@ static struct snd_soc_dai_driver tfa9879_dai = { .ops = &tfa9879_dai_ops, }; -static int tfa9879_i2c_probe(struct i2c_client *i2c, - const struct i2c_device_id *id) +static int tfa9879_i2c_probe(struct i2c_client *i2c) { struct tfa9879_priv *tfa9879; int i; @@ -314,7 +313,7 @@ static struct i2c_driver tfa9879_i2c_driver = { .name = "tfa9879", .of_match_table = tfa9879_of_match, }, - .probe = tfa9879_i2c_probe, + .probe_new = tfa9879_i2c_probe, .id_table = tfa9879_i2c_id, };