Received: by 10.192.165.156 with SMTP id m28csp1012831imm; Wed, 18 Apr 2018 02:24:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx48BLtjrjQBpP0VDpHjeRykVt23i1t03T8nBVaV3KM3gTY8FDc94HkjCRiuy81bI0qTajs3a X-Received: by 10.98.31.200 with SMTP id l69mr1298257pfj.49.1524043472015; Wed, 18 Apr 2018 02:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524043471; cv=none; d=google.com; s=arc-20160816; b=KfjVHHh+zHnycU3MjsW0bqTN8v8mWDGgNHKpspd/kKTcwpvF1kHyE6VFpjWFTFtohU CBvKCkFqwaNJeXA9Drl3WHEGiWYyqEgNZnhsciTQ7ALMx2RYxSjKh4gRi4tB5wXv6nhu PSxAr0iSAZKZS1J1pBUAQu8B++kltbWdbo13ELjMa36AGG46eLEguFhlsk2ZQSbZihWS RElWXXUlcc0LOf/RwbVWLo7edOzy1+t2LiOmxAu33vLMdyL/OBg+p5tFZ2bL11guwtBU lpumIloweDLCgplI3cvJwVhz3UvZrGZijXsEFBA+gOZ3VrR8U7/SwQ5qJVOhlgQbJkHK PHHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:reply-to:dkim-signature :arc-authentication-results; bh=l26bG5Hz/sG7Ygec/SIPXURMgWeStKf50NoU9EI3IfA=; b=yrERhPNlVLCbmNx3zxykrm2P/FGQ23i2hirFTgzMBAxilAPoOqPak2A5KVc/Xdoq4y 2UySP25iQFMcLbHkTC41vABNcOogQjqwbsniAHEF+LT4agILnHpS2C8w4cofYgJlnCST OeSf1SaxkHRF1BuP5jj41TYZpcRPrcNRLtDzkfA6LPcpflZ0DSgSjbUl8RIaaJKTXVq9 pb7hOcTZPnWO0sxWdjbCk6fCGHkogJpIM1NbfTSxN1qWLhtpUFoM/cNIN7lsuqLC5Q9R yLErvme5ezDgSC3iBI6nKSZvV4H7Mh6n3pwoCSGauityIAQ8iUw0eKkGC+/iJq7wGGin mTbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector1-analog-com header.b=oSR37p1i; 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 h3-v6si853106plb.285.2018.04.18.02.24.17; Wed, 18 Apr 2018 02:24:31 -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=@analog.onmicrosoft.com header.s=selector1-analog-com header.b=oSR37p1i; 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 S1753073AbeDRJXK (ORCPT + 99 others); Wed, 18 Apr 2018 05:23:10 -0400 Received: from mail-by2nam03on0071.outbound.protection.outlook.com ([104.47.42.71]:14368 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752514AbeDRJXH (ORCPT ); Wed, 18 Apr 2018 05:23:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector1-analog-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=l26bG5Hz/sG7Ygec/SIPXURMgWeStKf50NoU9EI3IfA=; b=oSR37p1i317OtCexXsB0jHFsvnxE/gTr7DvrQhJaPn+xBTBxS5LLl429QPCqz/Wt6oBQ2b+g7iSHd49njie9rpRWyqWe0OaFOoa2e5a3x3qQqoHR+H2Exu0WO/dTiGnNGUMUzV8k+zMM7R0K3o8NaXRtTliBiqWKesbieqGaHKw= Received: from MWHPR03CA0016.namprd03.prod.outlook.com (2603:10b6:300:117::26) by BN6PR03MB2482.namprd03.prod.outlook.com (2603:10b6:404:15::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.12; Wed, 18 Apr 2018 09:23:05 +0000 Received: from BN1AFFO11FD019.protection.gbl (2a01:111:f400:7c10::133) by MWHPR03CA0016.outlook.office365.com (2603:10b6:300:117::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.12 via Frontend Transport; Wed, 18 Apr 2018 09:23:04 +0000 Authentication-Results: spf=pass (sender IP is 137.71.25.57) smtp.mailfrom=analog.com; the-dreams.de; dkim=none (message not signed) header.d=none;the-dreams.de; dmarc=bestguesspass action=none header.from=analog.com; Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.57 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.57; helo=nwd2mta4.analog.com; Received: from nwd2mta4.analog.com (137.71.25.57) by BN1AFFO11FD019.mail.protection.outlook.com (10.58.52.79) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.653.14 via Frontend Transport; Wed, 18 Apr 2018 09:23:01 +0000 Received: from NWD2HUBCAS9.ad.analog.com (nwd2hubcas9.ad.analog.com [10.64.69.109]) by nwd2mta4.analog.com (8.13.8/8.13.8) with ESMTP id w3I9N0Va028102 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Wed, 18 Apr 2018 02:23:00 -0700 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS9.ad.analog.com (10.64.69.109) with Microsoft SMTP Server id 14.3.210.2; Wed, 18 Apr 2018 05:23:00 -0400 Received: from [10.44.3.40] ([10.44.3.40]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id w3I9MvqQ016299; Wed, 18 Apr 2018 05:22:58 -0400 Reply-To: Subject: Re: [PATCH 1/4] i2c: mux: ltc4306: switch to using .probe_new To: Peter Rosin , CC: Wolfram Sang , Vadim Pasternak , Michael Shych , Guenter Roeck , References: <20180417143233.25145-1-peda@axentia.se> <20180417143233.25145-2-peda@axentia.se> From: Michael Hennerich Organization: Analog Devices Inc. Message-ID: Date: Wed, 18 Apr 2018 11:26:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180417143233.25145-2-peda@axentia.se> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.57;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(376002)(39380400002)(39860400002)(396003)(346002)(2980300002)(438002)(199004)(189003)(476003)(478600001)(36916002)(229853002)(77096007)(26005)(8936002)(6666003)(106466001)(426003)(336012)(4326008)(53546011)(2616005)(126002)(67846002)(44832011)(36756003)(186003)(43066004)(2486003)(23676004)(86362001)(72206003)(575784001)(11346002)(31696002)(8676002)(76176011)(486006)(446003)(3450700001)(316002)(65826007)(58126008)(54906003)(110136005)(65806001)(5660300001)(47776003)(50466002)(6246003)(2906002)(2870700001)(7636002)(106002)(31686004)(64126003)(305945005)(356003)(65956001)(142923001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR03MB2482;H:nwd2mta4.analog.com;FPR:;SPF:Pass;LANG:en;MLV:ovrnspm;A:1;MX:1;PTR:nwd2mail11.analog.com; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD019;1:Jp7LO+OcZ5QqtDBwPhzhwUwvEuHUXRFCGd85q3We6iPlCxOnTZxPagGSR2hI2mYZosacQElSOcYecqSFIC/09VZIxmWAHBELUBvq5aqqPDBidRGjDCo6TgzvMeGK4rtN X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060);SRVR:BN6PR03MB2482; X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2482;3:QF9eTcg43tEkeWlbmtc7hNRHvs5LvgS8MbWoioH0PYzVlk0hCyaDue9JnVPGtNi4cKAfi9e++Zur+bONS10GnrEeyrjdOcUJlaLzDXnr6kOKzwAJZrj1lfjQx0fMOqQyPlMKf6HoBz6rnPLQ+nbkUb/r5huAwa6UG2O9YzH8QSLCqw+Y+5F8BAXT4zRjrX0m71GDdJHbtS/cBw6A4JrxqmwQpmTEKQwgJWxInmw9Ud4cyhupj/g5tmeQj+TRnmWO7Rj5er8fahCDMXZxnih3tU1ieYjjrWo6lE3b75BN5YXwZK+EZwEFp/Oh4nagkSOY2LubVtBgEiVIk/IlaVRs3gUyFZeFZIEhXQ61qvJAmDw=;25:8HaQHIcz/23s6l9dhOeUTa1p9S2Z2Suj8waCKY+jypvVemrVphkKukfpeK4zxxJ73xicPkDbKXChDJpf6ZG1n0tsNmbCNS5tVuPv0vui+7K5nKfvRwzCACvVXoSIh2V0EDq7QpLWA8uVt4smMdhyVn6RcvNjJUnZpxjlq8obrRk91kzwtZ1MmMSogolUNmi6Il+dDdeQseLnRPZQrli1rgr56bgsiCljgHGs/28vu/4qjwu9Y6VmtMKB0ZoFXoqhyPrLFMAi1KjYKpHqgztDF/Sz2Q1MyLNfdMuqknp0IowKqLhn50dS31A1i5R38E53al6WwG16AZFqRIWb1OP6kg== X-MS-TrafficTypeDiagnostic: BN6PR03MB2482: X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2482;31:lLoDWJkJxDBVYiXncZmeqsHJeN/1ugCuyewcJrtUahq9U62IeHjmVg/nSdFrSYPOTo9yETG7tXSZ0DVlsDnd8LdLH+b2lX3h8V71EjhcLoR5JUW/bTxG6P21iBRpopyBPLBcRzNuu+rvDzWdWfwIu9Y2R9vyRwAdCP+UnTZiho+1Kw+AMMv/HiY/18lNB0Gi5eInkSwNR4hZPVSSB2yCNAz3i2nLFVRsjhwZslUW43U=;20:K1/SVrqGjM3S8oOyxKovtY4aAdlrqyJ72fFMQAFrFNmTN4mMPqp9hQ/heD/fB0O0WDCoE7LBGN9aDh79rV4e+R9V57REkJELMhb2VXr4Y55Ku2Hi4zvFck9Ud0kvb7m5yyPL7two6WFDDDx5O+NfAA0jBy9GWlakKgh0BugzJ+tzcggPvH8/zNoz5KZXMuQZoEkKulzrdPSqhdO3MzEJlp1Nmvz/lMrblEcAfZCQLDcH8LEsFrVITe4imr8HdrfHiKJIQVOPbac53qcWuSRTKqOIVk1fF2VN9Dmzdaz1c40OD86U6RnPBW2ocjzglNckJ1W6vzmVR+dI9654EBAGXv5+Hd//rEkFSzbCgorLhJ1keIBJy2xYKwmCSTOvtx1VUyoqSJ/xHz9BsRNsoacR22P7YrYY2CKPlr44wh/VK5VkvqVpH6BFMd0KgVpize0zJuSRt3eZK9TJw60uOu07elwIzMxYBswY/AxiC/uBgteDQyb0Kt7j55BzWhh6Y+Ko X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(232431446821674); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93004095)(3231232)(944501368)(52105095)(6055026)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:BN6PR03MB2482;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2482; X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2482;4:qW6Gyrf/yn9EM0i6OU+Z3NtuJ9OemFo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gv7dkoicgW69523mtG9yTh4wpZluu24iF7aaeN1Cic5po6cnOTRu+1A93GuHuTmqkzHcotQ==;5:LeOJVuuj4dMHTCaB+fIfQrgiug4ekXcPWm6QCYUTcV5sKJLzjOH+qWqYvnsNfgdTVRPxIiTyYf4B43a6pwZHOBhR1mlEtRwcCmi/bMncnMwM5txSQ/hH9wdLltVUovKRmzDnseFL00ok/tpUDgcgiLNxttbihehOTzH/MsdieT4=;24:jQXtCCpu+f0uPqVM7OtGVGAtT//KgpUpZ+Iw+qDkWCRo9cBowuKa1ZreyD00cC18zoXnCkb/TjHVyR7UVHMR7a+duxpH0ZQFUsELIH0S+/U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2482;7:lCiPBtCxJ59fx7tPlUVr3Babj2PUvzE23gAmWV1BT25+xFrF6NROVsmX0j4Az2LYcjZDsS4BZr0S6JvVOYYsUdOcPwRslnctAy/flC0ZWJuT8lki9Cm01rBYlMp5PhYCVn3EkRwIvb0aXlLbiXee6j6Xv76rAZsnSrzNwscflKJ4KdFQY00e/iPBW8KVerhe8854tQ/oOstVGKhXyK3bVgm9mgI2jrpbMma+jF7WIwYKaOU0eIfa8TzzZz1SDTRL X-MS-Office365-Filtering-Correlation-Id: d45c2404-9fc0-4389-92c2-08d5a50dfce8 X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2018 09:23:01.3311 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d45c2404-9fc0-4389-92c2-08d5a50dfce8 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.57];Helo=[nwd2mta4.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2482 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17.04.2018 16:32, Peter Rosin wrote: > Use the new probe style for i2c drivers. > > Signed-off-by: Peter Rosin Thanks Peter, Don't know why i2c needs a new probe style to save one function parameter... But this patch looks otherwise good to me. Acked-by: Michael Hennerich > --- > drivers/i2c/muxes/i2c-mux-ltc4306.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/i2c/muxes/i2c-mux-ltc4306.c b/drivers/i2c/muxes/i2c-mux-ltc4306.c > index 311b1cced0c0..a9af93259b19 100644 > --- a/drivers/i2c/muxes/i2c-mux-ltc4306.c > +++ b/drivers/i2c/muxes/i2c-mux-ltc4306.c > @@ -206,8 +206,7 @@ static const struct of_device_id ltc4306_of_match[] = { > }; > MODULE_DEVICE_TABLE(of, ltc4306_of_match); > > -static int ltc4306_probe(struct i2c_client *client, > - const struct i2c_device_id *id) > +static int ltc4306_probe(struct i2c_client *client) > { > struct i2c_adapter *adap = to_i2c_adapter(client->dev.parent); > const struct chip_desc *chip; > @@ -221,7 +220,7 @@ static int ltc4306_probe(struct i2c_client *client, > chip = of_device_get_match_data(&client->dev); > > if (!chip) > - chip = &chips[id->driver_data]; > + chip = &chips[i2c_match_id(ltc4306_id, client)->driver_data]; > > idle_disc = device_property_read_bool(&client->dev, > "i2c-mux-idle-disconnect"); > @@ -310,7 +309,7 @@ static struct i2c_driver ltc4306_driver = { > .name = "ltc4306", > .of_match_table = of_match_ptr(ltc4306_of_match), > }, > - .probe = ltc4306_probe, > + .probe_new = ltc4306_probe, > .remove = ltc4306_remove, > .id_table = ltc4306_id, > }; > -- Greetings, Michael -- Analog Devices GmbH Otl-Aicher Strasse 60-64 80807 München Sitz der Gesellschaft München, Registergericht München HRB 40368, Geschäftsführer: Peter Kolberg, Ali Raza Husain, Eileen Wynne