Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6008496rwb; Mon, 14 Nov 2022 12:49:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf6p1UWObLlH9lZddfDmQ1JtTxWirNBtGffrne2TPSag4efYvnCB12uy32n/EG9AMQUVvlyc X-Received: by 2002:a17:902:d482:b0:186:a5a7:cc3b with SMTP id c2-20020a170902d48200b00186a5a7cc3bmr969473plg.18.1668458990615; Mon, 14 Nov 2022 12:49:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668458990; cv=none; d=google.com; s=arc-20160816; b=Dp3EMjI4hhS/ZadjEZs/6vCzpyycdRONwlyKjNwqhIckhOHoSmzemL2FYnOSicXUDW U5ha2BizIyxgqLGLtUmRf3cUEll+Jf+SiybjgNKBmX2KhElZkomVPgVmHjAxJI7IICw5 xw7T8ufXeFR4uIxNDrMr/+u2/7F8yX1yu4C2liabH67exxEqB5GFIn61vvYgOQI3/bHi 2dK+5E6lm9X60XJNTVk2sV22oXfyd9kHZmc3yey5ByIw2JEkpfxvn/BbYU9yPb1+GgQ1 1IIvrEGo9+wdxgAHDwqHNIy1Pys36drofpYOj9F5Ncc+YzOeCxf7ghTPVzypW14jlC+T /Igg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=/h2XdUL+NeEgHd0bDhZRx2gUtmTIjTvygMiwPHQV3Rw=; b=wtdXoxQWxOTL1xCdsKF8NZEkEgu6pXy+F5hssEQiW0NQ36RZq5f47Gb3ZQViJhPytQ jB++AURTHoUwyEdrzl+Li9D7/IEnS3a8SoNBu93FkstaZhxsWbby0e5OnkrIgbXDMgDu Al7kYtNH3PvZ5BMEkLPA71GMVboe9KhyIStmG2RR2nSBeTKwYlaCv2B+/8Vk/bBVuBuo hcClFW022ANQElrdC1mprIsnqOL5wpaQCd7SSnB0i5L8p2aA92Dj74Z1euGBsCuqzMKF q9xq2JaNEVDyhLVliVvs1Vh0pcmR3mbAYFXm8jwo9TZ3D/TVFGh8Z+D9k5YNklq5PDyj k7nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g5XeBLhv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj9-20020a170903048900b00185714cba54si9028626plb.167.2022.11.14.12.49.38; Mon, 14 Nov 2022 12:49:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g5XeBLhv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237612AbiKNU3C (ORCPT + 88 others); Mon, 14 Nov 2022 15:29:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236756AbiKNU3B (ORCPT ); Mon, 14 Nov 2022 15:29:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AF50EE17; Mon, 14 Nov 2022 12:29:00 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 94C2061455; Mon, 14 Nov 2022 20:28:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63E22C433C1; Mon, 14 Nov 2022 20:28:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668457739; bh=K4HmrMQ73Wqp5/X3xK3jmCOM5qtsuad8CDbwkc4kS9o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=g5XeBLhvvs5fGdldayu7RQYrKBtrsH4r9iNAwKB449UHN1EvJlIqcB0RKFmCwwUb+ XAUrxEY8unkTssZNkvSa4GTlz/NcmD77U5HIMKhlwjKgb7l7mWcenCuR/aGSGD7ibD MS3lNwC9+UnPukvKXIvWOeBY8VobctepoIVl5ac3lNCUPxxIeAvVwC8UKRBC3wydyp z9ZVo2v8FQpLvar2dMFB4SKK9HTkX4DyqtiQAPO9WT8e6VlY4dbujgBjsXiRIHLdEW WAnV2MrACSuAingJW929GlWK1i5skj36S165wki9SkiXgEkRUeF4LNT/NqFjWjS8ew DqLzIIv0f1fhQ== Date: Mon, 14 Nov 2022 20:41:16 +0000 From: Jonathan Cameron To: Wolfram Sang Cc: Angel Iglesias , linux-iio@vger.kernel.org, Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , linux-kernel@vger.kernel.org, Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , linux-i2c@vger.kernel.org Subject: Re: [PATCH v3 1/2] i2c: core: Introduce i2c_client_get_device_id helper function Message-ID: <20221114204116.5d9169ba@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Nov 2022 20:53:20 +0100 Wolfram Sang wrote: > On Sun, Nov 13, 2022 at 06:46:30PM +0100, Angel Iglesias wrote: > > Introduces new helper function to aid in .probe_new() refactors. In ord= er > > to use existing i2c_get_device_id() on the probe callback, the device > > match table needs to be accessible in that function, which would require > > bigger refactors in some drivers using the deprecated .probe callback. > >=20 > > This issue was discussed in more detail in the IIO mailing list. > >=20 > > Link: https://lore.kernel.org/all/20221023132302.911644-11-u.kleine-koe= nig@pengutronix.de/ > > Suggested-by: Nuno S=C3=A1 > > Suggested-by: Andy Shevchenko > > Suggested-by: Jonathan Cameron > > Signed-off-by: Angel Iglesias > > Reviewed-by: Andy Shevchenko =20 >=20 > Immutable branch here: >=20 > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_de= vice_id_helper-immutable >=20 > I merged this branch also into i2c/for-mergewindow. >=20 > Thank you, everyone! >=20 Excellent. Merged that into iio.git/togreg and applied patch 2. Thanks, Jonathan