Received: by 10.192.165.156 with SMTP id m28csp126098imm; Tue, 17 Apr 2018 07:34:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4872lgPUp2/AQBWdKxi4ZTWKf6q5EMfFFA5Nivz0qzp6RNPRaqbCbmJ/CK1mqbe4QLLkA2q X-Received: by 10.99.52.76 with SMTP id b73mr2025897pga.258.1523975695928; Tue, 17 Apr 2018 07:34:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523975695; cv=none; d=google.com; s=arc-20160816; b=bpGmnYd3+quKWpePRyoFCL+eflqSZ1GUZfWA72dlIEWIoEq9Pq9/qel4KQ4uR06KbJ tr78d1CJ9teYsRpLXNGGPcJZUO6FDx9IHLnG7YP+ZcmGBbZbPK03awe7+N3khSPi9KOh MWAEd73AtUU8gofsV3emdWN4Oef9nie5am0jpjCDYjih1oh7F7Cb46XqYDGBzujowv+s 4XEz1P0xzpmnZ4OE/wN69BTxI4wMbOTBhLlvxeY7OBvmeNDe7A3PHWYtMNju06mpshWw iqZPaCYyRwZv6inDOGdckOOwaFzbBJO+p6ufihZPjYFuJ6K/cLrp6K5j8QRqNVHFKraw R/og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=I/ElKePy3DIXGK1ieXioCjVk1TrBMBEKBKWzphgfBhs=; b=Fuwl7eaZfNBuT/6reTtjXPKrYZVi4A28H7V8Sp5/esDEudzjZEgWcktSACabApOW9J 9ZmNiLEluhjua+E/JGhqXall34JzwuLNR/G5leQogFiktCQ5T8siBzFRET0hSfLmyNkZ fIS+3wqm8ztdVg9UrlQVGLnKVC60vnmgchAkkVzkIz4zTmgpRAyDLTv0Px6E8XsiXAH4 TWV2ShiwUbAAcPl37Wkz4Wk78iIEWIQX8QGIslJkd6Nex9H0yS1J0u+VaWc8WxHwdakO EdCYYJk9uMFaw10YT1/KgaDcn2obkCTr2OtsT58BMTY2431hgM16IRPMnvLHYiCk1CyN s2GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axentia.se header.s=selector1 header.b=sbmoaLu+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14si11842271pgr.311.2018.04.17.07.34.41; Tue, 17 Apr 2018 07:34:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@axentia.se header.s=selector1 header.b=sbmoaLu+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753157AbeDQOc7 (ORCPT + 99 others); Tue, 17 Apr 2018 10:32:59 -0400 Received: from mail-eopbgr40128.outbound.protection.outlook.com ([40.107.4.128]:54756 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752620AbeDQOcy (ORCPT ); Tue, 17 Apr 2018 10:32:54 -0400 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=I/ElKePy3DIXGK1ieXioCjVk1TrBMBEKBKWzphgfBhs=; b=sbmoaLu+MICis1AFs2M/mtHabiiQGSeuoX77tXJmDvm28cbiev30F20uXGhi7XFNrECgITdw+/NYJvl5PYHcm7vxirQbxpVWUIff71OnhSOvjGMI1AlZO8Zvw5bwqsoWXFkV13/9k8sz3v9+KGYGnlOGxrrdFHP8NlojBK7JmpM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by HE1PR0202MB2777.eurprd02.prod.outlook.com (2603:10a6:3:e8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Tue, 17 Apr 2018 14:32:50 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Cc: Peter Rosin , Michael Hennerich , Wolfram Sang , Vadim Pasternak , Michael Shych , Guenter Roeck , linux-i2c@vger.kernel.org Subject: [PATCH 2/4] i2c: mux: mlxcpld: switch to using .probe_new Date: Tue, 17 Apr 2018 16:32:31 +0200 Message-Id: <20180417143233.25145-3-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180417143233.25145-1-peda@axentia.se> References: <20180417143233.25145-1-peda@axentia.se> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: DB6PR0301CA0039.eurprd03.prod.outlook.com (2603:10a6:4:3e::49) To HE1PR0202MB2777.eurprd02.prod.outlook.com (2603:10a6:3:e8::19) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);SRVR:HE1PR0202MB2777; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;3:ekvH9vM5csuqORmKPC5qSvV4jnPN2UBO4Y8QodQXg0uDIFGulDry2IEa1TBghe2fbc9InHFMwa03djOSYCAd6PAYFJZFoRDEmsjn0khoExs07D/ZXC2lfnnP4AYyt+FSmu6/bqqIIwEIJEkz2R0aX+ocq9UFWwqKKOavK0HtFIqyDnCOUQ27J3OLD3XX+rbNvSgaDdiLbGcblYRZZ7lIzqcyykB/+WGIF0uJmoX8Twiw2IDFNA8WMm7ztIxl4CFB;25:CH/lUWR5rDnFzmUf2PumUE1s18iiaEEBVtkLSuDsPSaiUem57r9QwmuApus2fzt6ZWY6M1pVsMnUoxAoEMM4OYdGhCE70E5kO2Tu3eCZbZ7tcwPhwZeDkkUHMoYLPDsctMukoQMM5G2R+PwAmFxH4Ul0H1WYuJMSnqlQEV20nYp5YTutW3+YqaqQ6aouPBdc7vcnLr1pU+O7PIA9WvpglJbYOg4iBF9XBhg+ctC3gG9jOWGywNftfGLyVJ0zf8uCQR9bHzSBTfKk5kDKaqGIRDZlVyGK467OR6BpeeJTolrk1gekLi3lsvtVWkpjKgXnFYj7t3ncX9BPqYSH7N5W6A==;31:1STeKU0sgEicEyyBZgIjirEvCnokHbq2Iwrz3JfuH/08ZjpRVIzIZry4nRJ/gpffaxFFUOr6dXAkzCFhSTeX6/C1OHQFBXc1LCMBihI0dcxRD6wZ6uX3OD/7weManCvry/qxYMTxBODaUNRPn/CyIyh8Te9I+FAhzcsYKlywU9aW0oDpTzfQ7kyxRY33itqOGACqWt/82qipSGpcvGu1LGl7lBdAfuEFmcwz90I76N0= X-MS-TrafficTypeDiagnostic: HE1PR0202MB2777: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231232)(944501327)(52105095)(6041310)(20161123564045)(20161123560045)(2016111802025)(20161123562045)(20161123558120)(6043046)(6072148)(201708071742011);SRVR:HE1PR0202MB2777;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0202MB2777; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;4:Sa/qsIMuGkUAcfleQmtmRA4SqoIXMhffjou0wa7+XtCSyWVJ5XC+7XqeXUazYqP5WVXJXwY/PoRICLKu+00hZbv6tg3PJHU1FSfrRPmLiyqWwUIObxgMlYC6pSrU/75HSpNhJ8vVvKrKg7pacLsVO5j3Eg3shf0c4ZMtiPNMbWHAfe89RznXxEI7aV9V40lOwiWAusJsft7wjK6IT1uKt+johXZztf7VevK2EXM/bZgEjJASbJK+5V1Wsosinyorxwzz0tK62O9JVQ9q7tCQDg== X-Forefront-PRVS: 0645BEB7AA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(979002)(376002)(396003)(39380400002)(39840400004)(366004)(346002)(189003)(199004)(6486002)(4326008)(1076002)(316002)(186003)(16526019)(53936002)(81156014)(6666003)(47776003)(52116002)(16586007)(105586002)(50226002)(8936002)(106356001)(8676002)(81166006)(48376002)(386003)(97736004)(6506007)(478600001)(74482002)(76176011)(305945005)(50466002)(7736002)(486006)(51416003)(6916009)(6116002)(2906002)(446003)(2361001)(476003)(3846002)(2351001)(25786009)(5660300001)(66066001)(26005)(8666007)(11346002)(2616005)(36756003)(54906003)(956004)(68736007)(86362001)(6512007)(133343001)(142923001)(42262002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0202MB2777;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;HE1PR0202MB2777;23:vokJynaWQJuvIT7o+T2MYWNz0wpcuCSawYksXtI?= =?us-ascii?Q?n24aF+8OBKMketYDc200pY+CkAQkSr/l8CfsjBeW2mLTQWJD7sCujDO1NYJg?= =?us-ascii?Q?Fs4R6Oxbu5CbgwD4KN06Be85q1e9WbzlV7eB4R9Ntkpbkt0bwkX8jqyRjDWL?= =?us-ascii?Q?lhtRqONVGLhGo+0QkKSCi2jyatnRh8v1KsjRuJollfhsq5VwBmlgMGakRDwA?= =?us-ascii?Q?9/zxpcMXhoRkJ3rd/d2mJdi4xexqM6MadUY9iq7HHzgHi9iy28nHfxbgVPbC?= =?us-ascii?Q?5VRLMl8pMLTrfFs7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y/Bs4O2aD0w4XL?= =?us-ascii?Q?JyaRhqMq4bhzYFI6WrJ0fiAgXc+/YTgNEEoineVwxUHJkS2TrCn8viSPEfnH?= =?us-ascii?Q?qfsqQm1D+CfgAbTY8TYGSA0Ev48R0HD6rWqzqVpG6ksR1XmGUsQUPXeiLPSD?= =?us-ascii?Q?gwxC8IS+uxJmrm+89ZbVL/Fdqbo6oENFdgCamaNMBbdKJXd0CqLftXoWBS9i?= =?us-ascii?Q?RQYBlrTOCOIaTLMv8CWjkWpw6Pe/RnUTun8nJ4eMI7cmfACDgLFMz8TCmODm?= =?us-ascii?Q?fzyYdjf2BedXzynvJeaDi3pIRa1IzY8uWmj9Oalgm4yYBwV+TxXma?= X-Microsoft-Antispam-Message-Info: IpBneugEvFVTTqRhD12+B+3NCh09Y04NJmwnQTTVomKiR367+31aVODymsgD5lObdMbkFl547dxFDK0lASv5ghxqfggbs7QdYv44nsovhHc0IGEoHREeDnVgXLm51YpQQbDCC6DMAbreI0hQedeo4xwtB8FWJOFBaEqg6+6tibUgOXtKSF0svHAfQnl+y840 X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;6:PVwUdme+RUAf7hiNnKcB9+pmAkz90IxHj0w94j2j0rerm1JgUCS/H0x8hOTATlG+DxCw/xAYjIBN59oyeYtgoei5NaSxhMxFPyil1L3qYDCAv0c/KNtdRwcd46GHHcmWw2Bi030VSXx0cDig/iBnjjS099rc9G+Q/o7yvJns3RRchhWlXQspUuoVYBKZMDH33jcOezGgRq/PCVza+250K8qTLuDA/3yfi77V2q9vUF1sAYESTxIPtx1RCpfOHFDh327EGnV5767owO7YjLx9q5Vqf16TEEiTjdE5wjRX93qkxsLyzI54CwM71TjfIoOBaj9kQYQV15dVTOVYZnCGxDU+Feb4OZVikyY+jLRiVCFSLmUpEPKd/jLJBN4H2nawde6ACybDXW/hXVfytvnEW7CkBhyrLuqM6ksz8aVVr6cCbHfnPcJIxS4fGDykLLqjsWUVJ76k2DwZRHQGTXHIaQ==;5:qtXXP6TFA0ev3mGtffqRLSMCxOe6jiEq/VJYM4nuDO1Dcchv09BiqdyKCJaTA0t+EiplgPbg4DZEAULZgYU/5Hsmnibxa546HucWPQVHoTNj3LGD6h6R4pBufcsSy4DiFdqlka/0+SoGDiHTaDIHIqQM2kexgb3+aZRNPeQaQ7Y=;24:iahezpQklEe1felC9u+TGWHvlSTn1iDp1De4pKsqxI++cQi8yBChnKqPihq31rrSDRitUbUy11uLIDkvjLjus/CB4Y+lnGlGq8F5/1UcLXs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;7:s3+dAQlMjDMp1QCc8kOgNLky8/WAo+0Y/8DtLVI7b7dBKUuwCMNljK+1XKlT47PkBM42Xt/+V8WgDjzPmR+xdME/i/VbLns59RRRHcXaQMYTrWnV1QtTrmYHR6AfHFPM/EsdFRHqi/T1h6otaadzJ+JTACbACaYJDaNU2YMv381/tEM73L/7cAVBNyt2z9KHW5W1nhHAqJHzwcPxiC3B0XtOESIJatcWR/9qAOEfwfy+F8aaCKULwqqklGkov/J1 X-MS-Office365-Filtering-Correlation-Id: 5ac55b49-39a5-4946-a3f6-08d5a4701998 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2018 14:32:50.6144 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5ac55b49-39a5-4946-a3f6-08d5a4701998 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2777 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-mlxcpld.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-mlxcpld.c b/drivers/i2c/muxes/i2c-mux-mlxcpld.c index 12ad8d65faf6..2fe86cc81da9 100644 --- a/drivers/i2c/muxes/i2c-mux-mlxcpld.c +++ b/drivers/i2c/muxes/i2c-mux-mlxcpld.c @@ -149,8 +149,7 @@ static int mlxcpld_mux_deselect(struct i2c_mux_core *muxc, u32 chan) } /* Probe/reomove functions */ -static int mlxcpld_mux_probe(struct i2c_client *client, - const struct i2c_device_id *id) +static int mlxcpld_mux_probe(struct i2c_client *client) { struct i2c_adapter *adap = to_i2c_adapter(client->dev.parent); struct mlxcpld_mux_plat_data *pdata = dev_get_platdata(&client->dev); @@ -208,7 +207,7 @@ static struct i2c_driver mlxcpld_mux_driver = { .driver = { .name = "mlxcpld-mux", }, - .probe = mlxcpld_mux_probe, + .probe_new = mlxcpld_mux_probe, .remove = mlxcpld_mux_remove, .id_table = mlxcpld_mux_id, }; -- 2.11.0