Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7774917rwb; Tue, 6 Dec 2022 09:40:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf783EZNF+E1VeUvHnxbnQTL599MCBQ6bS2cfwEfiUayDc27AESGLp6ICWw+jTqrKMk5aqT/ X-Received: by 2002:a17:906:124d:b0:7ad:b822:d2e4 with SMTP id u13-20020a170906124d00b007adb822d2e4mr74076903eja.35.1670348406238; Tue, 06 Dec 2022 09:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670348406; cv=none; d=google.com; s=arc-20160816; b=qmJsqHuTCXeUuiVBvPveIHupo2z546RrJYpnPkOOtXMncFdZD1IBJL1DCOWlPM7CV8 a41Mdwi6w9sSR1ZGMxc1RUwCmDEYJp3cOJuq/49tkjrrsUqXwl+ppQoGs+6lAG0O/2ER maCNChjubcrMrF2vvWFP5lF73TJ8KYLgOsM0mbazUGYGZKutmFq4m/tXKLwkPp1ScKGn 7ytN4uVea67rFZSVfmzx2r9B51HNsJJrBPmKh3cRaK+6TnBpooOMZYf0lNw9q6hU7lYe 2Hqs/E28MvmX9l1H+fOLwB2rnCbAtc7rRIF+MZUuyTHPURFznMbRZc/1jm4QdKnCz00o r98A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Pw21flipJQnHJ06qikzjVyBUg61wLktCATFObrBDAj0=; b=L72Vk1nwYtGXD6VpSHb3u64MMq2nBUCjtJF3Iih+z/tizMEaluwRSvusnW+l2REgiv KfzTBHWml8ybJTfBOwa+u2hk+VZAFBi+Gvuuhu8hozdQjF4UkDjTlzy0xSOA8KpwKyWh NYqZr8PAFREFgFF2qjVHkOzcgECQnxcDyd02CEKQDnKeZ20n4aVA87U0UpEwX2cyxnfr zMPIn1LZ5DKFlr7dgGL05c6be82mvZYJMBSlBHglSRMNq0jJO+nNSWAajZ25ZyYtvsO6 fi3rFYvZdTVEd3MrjEDLIIBg35QKL97DZshBjd0kR09OVVZSCEKh0Cq3e7wgcbDgxKj0 t3cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bnxEhZdA; 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 sh40-20020a1709076ea800b0078b2fed72b9si10318483ejc.111.2022.12.06.09.39.47; Tue, 06 Dec 2022 09:40:06 -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=bnxEhZdA; 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 S231990AbiLFQ5N (ORCPT + 77 others); Tue, 6 Dec 2022 11:57:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235686AbiLFQ5J (ORCPT ); Tue, 6 Dec 2022 11:57:09 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F165223; Tue, 6 Dec 2022 08:57:08 -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 ams.source.kernel.org (Postfix) with ESMTPS id 13DCDB81AD0; Tue, 6 Dec 2022 16:57:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15DCDC433C1; Tue, 6 Dec 2022 16:57:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670345825; bh=fiUZBItsIAyK+jAMIGNz3fSXYzREKztDb3GufaNBNhQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bnxEhZdA5VKyk53pDOuFbgYwJsTOx4Vg5dWwHZQaraMMJ/xbTXISKf5d1sGwEAz1U ATyrFA1yTURMPJdFmDDCSXcoicjWOKRgCZnPtVvlZZDH5Miz437R/AD9M1vMrPTrdm TreNWutBQ/l/koa+MfEnw0H85qR72HOXUplbQwVwybfXAP+ohyyWtbxf31FB9iIHq7 aKG/04trW9ZErW+KBBPd/a+qiLrplRreb0aBbxqvN5ou2buRhL5Dm8V6e/gd2yKWOa 0cHKS4kyaFYFkz9O6NR9Qk9jyx5fFTQcNqtkFodYNGyFZyo65hixFh2Z5Wgp6f02e/ VnnCgzeK5k76A== Date: Tue, 6 Dec 2022 16:56:59 +0000 From: Lee Jones To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Neil Armstrong , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-kernel@vger.kernel.org, Wolfram Sang , Angel Iglesias , linux-i2c@vger.kernel.org, kernel@pengutronix.de, Grant Likely , linux-amlogic@lists.infradead.org, Lee Jones Subject: Re: [PATCH 431/606] mfd: khadas-mcu: Convert to i2c's .probe_new() Message-ID: References: <20221118224540.619276-1-uwe@kleine-koenig.org> <20221118224540.619276-432-uwe@kleine-koenig.org> <20221121150854.3mwczqtbusawho4m@pengutronix.de> <20221206105908.jzcdnast3yw22eel@pengutronix.de> <20221206163516.i6rzewxts7do75y5@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221206163516.i6rzewxts7do75y5@pengutronix.de> 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 Tue, 06 Dec 2022, Uwe Kleine-König wrote: > On Tue, Dec 06, 2022 at 04:10:51PM +0000, Lee Jones wrote: > > On Tue, 06 Dec 2022, Uwe Kleine-König wrote: > > > > > Hey Lee, > > > > > > On Mon, Nov 21, 2022 at 04:51:21PM +0000, Lee Jones wrote: > > > > On Mon, 21 Nov 2022, Uwe Kleine-König wrote: > > > > > > > > > Hello Lee, > > > > > > > > > > On Mon, Nov 21, 2022 at 12:32:10PM +0000, Lee Jones wrote: > > > > > > On Fri, 18 Nov 2022, Uwe Kleine-König wrote: > > > > > > > > > > > > > From: Uwe Kleine-König > > > > > > > > > > > > > > The probe function doesn't make use of the i2c_device_id * parameter so it > > > > > > > can be trivially converted. > > > > > > > > > > > > > > Signed-off-by: Uwe Kleine-König > > > > > > > --- > > > > > > > drivers/mfd/khadas-mcu.c | 5 ++--- > > > > > > > 1 file changed, 2 insertions(+), 3 deletions(-) > > > > > > > > > > > > After a week or so, please collect-up all the tags you have received > > > > > > and submit a per-subsystem set for me to hoover up, thanks. > > > > > > > > > > For mfd I'd do: > > > > > > > > > > git checkout mfd/for-next > > > > > b4 am -P 413-481 20221118224540.619276-1-uwe@kleine-koenig.org > > > > > git am ./20221118_uwe_i2c_complete_conversion_to_i2c_probe_new.mbx > > > > > git send-email --to .... --cc .... mfd/for-next > > > > > > > > That's just crazy enough to work. > > > > > > > > Thanks for the tip. > > > > > > On irc you said you'd care for application of these patches ("I plan to > > > attempt the b4 solution"), they didn't land in next yet. Do you need a > > > reminder? Something else? > > > > I applied them, but they fail to build and I haven't had time to > > investigate. I guess they depend on some patches that have been > > accepted into another (input?) and are now in -next. Any idea if they > > are available on some immutable branch that I can pull from? > > If in your tree i2c_client_get_device_id() is missing, you want to pull > > https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_device_id_helper-immutable Ideal, thanks. -- Lee Jones [李琼斯]