Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2406744rwd; Wed, 17 May 2023 09:28:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6zoGNFqlyMW+1rW5jkE6lSMvGxnzpG3fzu+RB+HAn+qS1cpi6drLLbBNNfPlJ51UblSjJz X-Received: by 2002:a17:902:e5ce:b0:1ae:e2b:3ad8 with SMTP id u14-20020a170902e5ce00b001ae0e2b3ad8mr14257611plf.66.1684340910164; Wed, 17 May 2023 09:28:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684340910; cv=none; d=google.com; s=arc-20160816; b=z7JDHZ33zHbcNEK+ZjLlD23h3jqeHwgHmDXje4x385RxGH7IcjwFxqHRhF7mvOduKn OK44ECeTVXxG/1v7FGeyiP5HQ+cmPc2FB7xmterTxnDO4fGjLuXHCgejhVnsFAEsjpQf cMhVtzoVV/KPIAW500mqCA9gSFUzykAx+v48V0OQ00+uuoi+iNOMAdW98A4RdVsa+Spo W8rRSlxmFSvqasYxOFZvLpoZ9LlVAuwUylU5nfU699HCQJG9/5veBnKKIqqNnubZkF6C RAV4euyfEQXfslr025v0CjfEboK67w9yTCflUg0NjnWd85qNkaa51+GzxAmeP9yBf+kX i3qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jgjp1d3N77q+IodXVp+VHbaG3km+u5vTOblhT8sjyiE=; b=o2w5WxeH1eDgL83axERBh4hqGsraKIWEzGp+tsvBMLIg6WAlQ66Q5LZGIQROOIySjn 6bnFzt3abjqst3yModhtMJOvXIJ+rGJhPNSqwTe0VNSNFD9YVDpn8sOFq5hcwQPSjlgy O6k+YE94vq8jJN8TSCF+6wOe8Ai3ubmqF6yrhzZAeQnucVYgGuDDwfWFTX+jsddhZGzU /9HJm+lahUILcyom9+s32gac/glz63JV1fSUpooN0gpL/7kUhK7gOzi2t9DPCNp+vu/f HbvdzIvKqt1yF27OO9Q4K3dUozS47W12BnKHxcvrgq1o5yvSK075EYa/BMToSk0wXk/1 mFRA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pc18-20020a17090b3b9200b0024e3b9ce927si2339206pjb.144.2023.05.17.09.28.18; Wed, 17 May 2023 09:28:30 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229599AbjEQQRX (ORCPT + 99 others); Wed, 17 May 2023 12:17:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjEQQRN (ORCPT ); Wed, 17 May 2023 12:17:13 -0400 X-Greylist: delayed 76 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 17 May 2023 09:17:12 PDT Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22987E66; Wed, 17 May 2023 09:17:12 -0700 (PDT) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1pzJLB-00050y-T9; Wed, 17 May 2023 17:45:25 +0200 Date: Wed, 17 May 2023 17:45:25 +0200 From: Martin Kaiser To: Arnd Bergmann Cc: Fabio Estevam , Arnd Bergmann , soc@kernel.org, Russell King , Bartosz Golaszewski , Hartley Sweeten , Alexander Sverdlin , Andre Przywara , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Vladimir Zapolskiy , Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Viresh Kumar , Shiraz Hashim , Sudeep Holla , Lorenzo Pieralisi , Linus Walleij , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Alan Stern , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-OMAP , linux-clk@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 05/13] ARM: imx: remove unused mx25_revision() Message-ID: <20230517154525.ljoamjlfhpejtizm@viti.kaiser.cx> References: <20230516153109.514251-1-arnd@kernel.org> <20230516153109.514251-6-arnd@kernel.org> <4e026f08-d733-4b01-ab47-e921d041e74e@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e026f08-d733-4b01-ab47-e921d041e74e@app.fastmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: Martin Kaiser X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Thus wrote Arnd Bergmann (arnd@arndb.de): > I think either way is ok to address the warning. If we wanted to do this > properly, the mx{25,27,31,35,5}_revision functions could all be removed > and the logic hooked up to imx_set_soc_revision() in the same way that > they already use mxc_set_cpu_type() for drivers/soc/imx/soc-imx.c. > I'll leave it up to you, if you want to merge Martin's patches or > a replacement for the soc-imx driver through the imx tree for 6.5, > I'll drop my patch from this series, otherwise I'll keep it for now > and we can still do it better at later point. I suggest we merge my patches for imx25 first and then clean up all the older imx families to use the common functions. I've just rebased the patches against today's linux-next. My understanding is that they have to go through the clk tree. Thanks, Martin