Received: by 10.192.165.156 with SMTP id m28csp302896imm; Tue, 17 Apr 2018 10:21:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+vVe05V985kT1HbVuna5H+yix/miOLGesCVc6NLUZUmCaWriQzYKwKtGt3jvFBFe2/k3on X-Received: by 2002:a17:902:8a8a:: with SMTP id p10-v6mr2823304plo.251.1523985712338; Tue, 17 Apr 2018 10:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523985712; cv=none; d=google.com; s=arc-20160816; b=XTnwiEln6huxLpiJ3wvxMr/GW/rcE+GGzWcrgyiBc8oHgcYE4DGylGstWg/QRzlE3x X+GT6H2nk6qdaokK8dZLMfGjdPgIuB/3J9GENhRsuk8TrTx7wT0/g5Ji7IEMcktASclR q8diWUXzhENGupfzFRHOlVVz3oIn2ecTQSfRy+KQ94cHY5o41YIYjfdTXAgDCEYfCF6E b3JYnCR9GAO6V4OlUhHN2DP63Vs3Ujju8zOlD53AeiKQtwv0Do7EP6muvedC3Rtciktf fqN/CQc2cJgmquWddKAAvWs8zQpWcQZLC/q+uOIT8VExFqPLkENUYuqzL8RkTNhcu2K0 t0Ig== 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=rQo0XfBnhKBw7JM++Wgxm2FBl7+zBWnI/+qs8DtUlm8=; b=TpyRwW7u0+qohxYFWKo6ppvJkU4INgkLxy3aqWkn3WMe0dbIR/5pFPJM8ILzpAx4bK 8bbWF88Mii32X4NgC6i73jKXYZ4UcsFEGutIvhOo8OC7Cs734/fayA1MeTZSgAbUWpiv zAi2Rgzt2xI/DEUbBdnfZWniYbFDcgnrmpCyxAKEB5TqR+Q5qAYcwog8+Dyq71eWzf+a sTzdzlU+qoybOE6kNhVxzpd0MYmBpZrY5lr+n/Cj4vaUINsbXudmEdYpbbU4pivMIdvE iOulkcY0crPkGjmIRrfVcdlkANQCrQhSfaH4VVWTKMm0buImQXqpsIAUCUfly5EKt0N9 uaPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axentia.se header.s=selector1 header.b=LZYEoln1; 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 f7si2197180pgp.168.2018.04.17.10.21.37; Tue, 17 Apr 2018 10:21:52 -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=LZYEoln1; 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 S1753179AbeDQOdZ (ORCPT + 99 others); Tue, 17 Apr 2018 10:33:25 -0400 Received: from mail-eopbgr40134.outbound.protection.outlook.com ([40.107.4.134]:10113 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752732AbeDQOc6 (ORCPT ); Tue, 17 Apr 2018 10:32:58 -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=rQo0XfBnhKBw7JM++Wgxm2FBl7+zBWnI/+qs8DtUlm8=; b=LZYEoln1jBV/V6OrUwPcgn6GZk1oxio418bNpB2YAuNIXk86u1oPazbjhomKBnQYozNLXT7ZY+6oNoD3M89/BZgBV9O0H9dXjvUwg+fqV/aryE4Y0/kRgcjYzz6v3OdkgjxtmzPpCT/oX+Jb2iKt+Np09ggKtWzg9QutDhKd2n4= 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:54 +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 3/4] i2c: mux: pca9541: switch to using .probe_new Date: Tue, 17 Apr 2018 16:32:32 +0200 Message-Id: <20180417143233.25145-4-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:ZkOcWhLXVGTEvSUcHQbZhHTigeqGdtoBXDKmmySKGWALx63x+c7ZLmznqo66a/gpnEVB+VwcXbnM1y36mGoX+r2CQN4Dfz+G62i2m8bokrmNWsI1+0SvxnGVUUZtp8XDYNjAKXzf7bs3cJ5OShY74zf6ZVSf03Box3oai3KlfZkOQqDxS00g2uXyvYkAiocJ+EddE+8u2ZwEew8FiohVr1I7nZh9yEmzH8dvybujEbF8TylJaa1ekWMy3WufPvpg;25:HZvlagPnUbSu6BZZSg0I9eM6Le4Hff0YKsX9vzIxthAU1iHWFf+QLVfJ+VyEENnOYdkuljkZq0SBlKhNdwnyL8xsRAnoCyRdBJm69f+QOMlfmewS/pvKK2LCQQXnXe7sp0nNtkL6GBwtCHdV6MBsMZNU6VxU1qN7u2hV+uY64mbiKoTfNpsIpliC0QFPAxzgGChMrvrnfO5e2d5ETznXPWr7xMkCSUNmfJmBesMcHhRkGSwiNlGHiLboA/Nj03xAlqfv5lqzKUZEzzka2QvlJV9O+veCuAAp+6aTiC3Mdgi9juNVBP/o7k2uLQMLkTGb5MyHBCakg784qH9jO9nQnA==;31:QwUinYZ41lKqpnNXHdt8790NUjuRXyoeZkYgo7HFYv2jMNs7hzm9uIcEchWkiYS//OWbqucoon2sEZwtUrJXgs/8x+KM5C+fcFsKbTba8SWDU/My+evAZBWiDouGnehZGFxjDUnnQeBn8QiQ7Ed9lglhwcY5KoPwWepHv3+GkflR5PPjCWqNK6BRtYMCpIzFU2DNaJlP8a/Kcp0l6qxO1bLj0DgEF1Dv1pdBkh+Anz0= 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:Ak650WAvd3adDl04kn9aeVdA5O53OvbBm4cEj4fS/CriZr6R2h2wLF2E7pgNMVn42l8zi5OUiWb1ewaLw7KijJxP4FfSpoTuDU1xx+lZUOMGgrYrDmwNR1QWRW5FnY0eUVlmVM1967ODtotPXg7FPmhg+UMlbtEFGYomCaWB/KaQmBLWnhg08dZAeRGUt6NhcvRmeowTHD0HB5/9v+xg2qVBcS6I0GhS5JvJSm9bdHUuakf/Nh9K4kon6J948OoDMqrONjEKtyO3eYPB0r0f/g== X-Forefront-PRVS: 0645BEB7AA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(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)(142923001)(42262002);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:9OA0z2LREB+nww8x6q3ZjukZQAnQ6PN1QQa8nZ8?= =?us-ascii?Q?dKqdb4XXZww3MhQ5QbLCPLYsDLHrzEZmvsUFdEOdDJHiFCeUoPeq3QQftBL+?= =?us-ascii?Q?xDIIjJqKm2Zw7toJVkgUEepYtqt+FyGfV+K5cxT85Kf8SIMkL0ByhQQNb8lW?= =?us-ascii?Q?NxhE8bT/o7wXJr19DAQalyfG/iOILQ7DiWJ7Z9RpuNsaC/QPaKXDPOIQVjgz?= =?us-ascii?Q?eDFc/E0mKVUjquJ4A+od4guajiW4af9F8sf6oRiUA5OxsGoqlgnXR1cZWnG+?= =?us-ascii?Q?fQCpa99r4jJkveWq311phXOo2zM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betXkIq2YyZKw=;24:tNZqSjcQYlk6cN3akTuh/nd3peGxjjU8wfYkYorN0NM1Gvj5xXQPECTTf0aFYwdlSdhvODIJjGg00Q3ZBI3zY+9utgwntTGMbCQ1r/6pL0s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;7:C1VajGNMp26m+RprCxYf/SIljT6UfbJZrxVBjFAEvoJ5u+BbEYiyRRZsEQV1EGlBMh9a0uyu2ngq9e4sT6MRt8M2jNwU1dZjOmnVwM4Mm3TZt1IvNCgyxJfCU9Uo6zwg4hKMb6oBPPp5Lni1LnJfNv9LpGUkKxB8VJroanAUgpgJbOoJBbhv4691C+ihqeHbl/UJ+Mb4FEvs3lxNK0MJPBUXiYOIoxElHbAv4dXClo6uAbzeLlvAGPZ7N2rO/bHF X-MS-Office365-Filtering-Correlation-Id: dd942864-9954-49c1-8ae4-08d5a4701ba7 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2018 14:32:54.0831 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dd942864-9954-49c1-8ae4-08d5a4701ba7 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-pca9541.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c b/drivers/i2c/muxes/i2c-mux-pca9541.c index 6a39adaf433f..f61c5de29e2f 100644 --- a/drivers/i2c/muxes/i2c-mux-pca9541.c +++ b/drivers/i2c/muxes/i2c-mux-pca9541.c @@ -330,8 +330,7 @@ static int pca9541_release_chan(struct i2c_mux_core *muxc, u32 chan) /* * I2C init/probing/exit functions */ -static int pca9541_probe(struct i2c_client *client, - const struct i2c_device_id *id) +static int pca9541_probe(struct i2c_client *client) { struct i2c_adapter *adap = client->adapter; struct pca954x_platform_data *pdata = dev_get_platdata(&client->dev); @@ -390,7 +389,7 @@ static struct i2c_driver pca9541_driver = { .name = "pca9541", .of_match_table = of_match_ptr(pca9541_of_match), }, - .probe = pca9541_probe, + .probe_new = pca9541_probe, .remove = pca9541_remove, .id_table = pca9541_id, }; -- 2.11.0