Message ID | 20180411124238.9385-1-peda@axentia.se (mailing list archive) |
---|---|
State | Accepted |
Commit | 0ae91ec43c16c825d914d056e55ba77d06b600fd |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 4B34260365 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 11 Apr 2018 12:43:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 276AF2892B for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 11 Apr 2018 12:43:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BBC128938; Wed, 11 Apr 2018 12:43: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 A32AE2892B for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 11 Apr 2018 12:42:59 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 608712673F4; Wed, 11 Apr 2018 14:42: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 80F88267403; Wed, 11 Apr 2018 14:42:55 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0132.outbound.protection.outlook.com [104.47.0.132]) by alsa0.perex.cz (Postfix) with ESMTP id 5208D2673F2 for <alsa-devel@alsa-project.org>; Wed, 11 Apr 2018 14:42:50 +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=EVrWB/PJV/xC0qNTe3A6uzcXkHfV2lC75/cEDXvK7R8=; b=oWvYyoD6pOgG1H1/qViAz6QtBkCM1QjDUD4/MUdP4jXbiFcvYHZUXnydaSBRE+adeiRXRzYLV1VOcUj9+H7gNP/fkJTQl8lJavM5nhYo8VkWZqzCDWMQm6fSn1+0x52rgTYUkppZtvNan7kti1QT9iQr7TEN+8K4Q+YOrqNgthE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by VI1PR0202MB2783.eurprd02.prod.outlook.com (2603:10a6:800:db::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Wed, 11 Apr 2018 12:42:47 +0000 From: Peter Rosin <peda@axentia.se> To: linux-kernel@vger.kernel.org Date: Wed, 11 Apr 2018 14:42:37 +0200 Message-Id: <20180411124238.9385-1-peda@axentia.se> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: DB6PR01CA0028.eurprd01.prod.exchangelabs.com (2603:10a6:6:45::41) To VI1PR0202MB2783.eurprd02.prod.outlook.com (2603:10a6:800:db::8) 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:VI1PR0202MB2783; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2783; 3:jh/vfJyW/6PgWfekgf8cWmtlr/gawHlkrRC2J7GjIKlGaDDNsIUWKgE8H23gyzJ6de90YADujWs1+gSE0jL5hBbPs81NPi3JGijMZu5TgHdVeEZa6fyzIaXcOa7sZu+/Q802zgNSekEjYUmxsv7Z4TpuqQG230Lul9Ls+ZtVI3vJVM1Y8waf39TzFKaiPupGva6nDDMmZsDqUIcwnpMgdLATKgkQbqfR1/JkxKq2gi2oyzhjRbRbsyPuvVwTZ6oT; 25:iFZkcKndkrCYweEmYePviMxjz880ECIQF1AsheV/JWOyBAZEZfArhw1Qc4aWf+IlZxeyu3PIQEiKDn6D6Ky6J0izqnxdQCywi6nANUwXe8vo53EW3yrKf4X5lag8cNvyftDI02jsek81PbXzHclFTHEMOdNUJoAytjdtzF+SH7s5r3z8H2MPObdWs70cSzcgngAx5zqgVYGBx05RDdbtN3EbZcdzdAx8D9M8T6h6RVtIk51gjuyR8GtB2Seennv5KTcpv2d+YPM1lI4KAcRkVC0Mtwrpi2W/4yX9IzEnbtTDA75cUqVQMQAMnIb6fJex/oXLridyEpokvdMLwcKTrw==; 31:jBLqMMVX4dt+ZIFK6wKju5R1aJGbTLcmCPyJ1Spj3K3xTxC7QbE4yDxf0OPhe1sPTXAavtDWg1ncbelmUREuXIx1hUw//9e3L2zFpKaqjXlz7k9SOojbqGa9wDFcdLVjXrsmln/HDIt+OexKIZW14LgaqUQN2NZVnJmfGFljrda3c9zQ9nD2/m3gz3ivMtEiZwWY38RWQfvwnHdcEsVThRb3RoMpp0vPTzhOa9iT4Co= X-MS-TrafficTypeDiagnostic: VI1PR0202MB2783: X-Microsoft-Antispam-PRVS: <VI1PR0202MB27833845BEEA89FD6638C4ECBCBD0@VI1PR0202MB2783.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6041310)(20161123558120)(2016111802025)(20161123560045)(20161123564045)(20161123562045)(6072148)(6043046)(201708071742011); SRVR:VI1PR0202MB2783; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0202MB2783; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2783; 4:oxUKdY9hQNFY9v9Kw/WAf/D7j5KAfgHuLsfMJ/+rsA+kssxKz+hAIdez7keRgUcy8s2YREMkSk6Yq+h9FFZ1jA//5xezQzSkSaYIj/cwpwHScTMVqhStpVSrkfCytMGTwCdrxIgfJ2dnlHnTBg0zRAX4O+lyTXR2Tt2Glva8c1+qaFSipoo+Wf1+nqhRqlLYvl2IZP8mitrSXLRKymAhXqgGiyjpzhPDo3ccL6HrjidvUL+w5zetA2gAtrXrHt0xYuXeHDWzMovGGTgiO/lsdA== X-Forefront-PRVS: 0639027A9E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(346002)(376002)(366004)(39380400002)(39830400003)(189003)(199004)(6916009)(6666003)(52116002)(54906003)(7736002)(16586007)(81166006)(6512007)(68736007)(478600001)(81156014)(105586002)(1076002)(39060400002)(66066001)(8676002)(47776003)(305945005)(59450400001)(86362001)(50226002)(486006)(316002)(53936002)(51416003)(8936002)(26005)(2616005)(6116002)(186003)(3846002)(16526019)(97736004)(48376002)(25786009)(2351001)(956004)(50466002)(476003)(4326008)(2361001)(6506007)(36756003)(2906002)(106356001)(74482002)(386003)(5660300001)(6486002)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0202MB2783; 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; VI1PR0202MB2783; 23:XbUIlFo70wIEd2t2LTv5+v1kDz2neCG9bbmbQQ0?= =?us-ascii?Q?TaotMIPJsrAhgTkKIwySRhfjL47FMxPc4hlvmdI33CHatxV5EwVh35HIAG1y?= =?us-ascii?Q?g8SpDLSxixBWQuDXW2k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Axmb2oEpZwh09XgYWKTUvdINVsWMQOZLcyZo9yZUnP7qiN5lud33ZZH7Kga74aCQ==; 5:EG506qg742S4yz9fnd5BAqv6jc31Iv281frRJxt5fP/Om2pkem87vIVzEz27ThIEACIDL0vVPrJIIWpXHO/+odtkK1y5Gomoo+veVA6W8T7OC4stADclTYl8xnluAUXFJvtObhROliMqwAD8on9M5750Kl51AugCAi/BstjZt5Q=; 24:30WXWl1J2LdBNQEftPHV4yiwN0mMtUbRelmwQu29THWkrQWo/cgGOOz55+u/DpFvOUrh+7bjG/DQw5ezwQC9fLQw1t2AiTW2oHsClHGAOcs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2783; 7:UlZoV/A/Mh4uFxK3E+felkt4wlKsuY8G7t9gR4D8JPhWjQYZf5D0sUWzo0SEIx1EUOLrvtGn181PjDEV+LrujElQZ3diFf2AQJUsyVXyeNCO8BdRRSdF2FnoG7sJqPkps9pPoH8IuSxVmy9aimAkbYLqqFAMbA3HEV+9zU+FKfS/HTz7BfeAjtyza6pf2Gypk9VV87Irfb3Fag26ihsKyc6RecwB80gVdY5v2GLccXm51Qft8JD1bdVyY4lyqEXb X-MS-Office365-Filtering-Correlation-Id: 29923497-529e-4ce7-79d1-08d59fa9bb32 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2018 12:42:47.4073 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 29923497-529e-4ce7-79d1-08d59fa9bb32 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0202MB2783 Cc: alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>, Takashi Iwai <tiwai@suse.com>, Mark Brown <broonie@kernel.org>, Peter Rosin <peda@axentia.se> Subject: [alsa-devel] [PATCH 1/2] ASoC: max9860: 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/codecs/max9860.c b/sound/soc/codecs/max9860.c index a2dc6a47f466..376bd48e4790 100644 --- a/sound/soc/codecs/max9860.c +++ b/sound/soc/codecs/max9860.c @@ -599,8 +599,7 @@ static const struct dev_pm_ops max9860_pm_ops = { SET_RUNTIME_PM_OPS(max9860_suspend, max9860_resume, NULL) }; -static int max9860_probe(struct i2c_client *i2c, - const struct i2c_device_id *id) +static int max9860_probe(struct i2c_client *i2c) { struct device *dev = &i2c->dev; struct max9860_priv *max9860; @@ -738,7 +737,7 @@ static const struct of_device_id max9860_of_match[] = { MODULE_DEVICE_TABLE(of, max9860_of_match); static struct i2c_driver max9860_i2c_driver = { - .probe = max9860_probe, + .probe_new = max9860_probe, .remove = max9860_remove, .id_table = max9860_i2c_id, .driver = {
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin <peda@axentia.se> --- sound/soc/codecs/max9860.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)