Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6147293rwd; Wed, 24 May 2023 11:20:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6v+6OEKcgio2tGjO7vqX/GbYDbtZHGNic94UvqygkGtgqDpyvQL5IQRK1mkvq2CBl72qGB X-Received: by 2002:a05:6a00:181b:b0:64c:ef3a:407f with SMTP id y27-20020a056a00181b00b0064cef3a407fmr4991049pfa.29.1684952451323; Wed, 24 May 2023 11:20:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684952451; cv=none; d=google.com; s=arc-20160816; b=tHrBeMOiGa/x+BCXyenK9y2Zrxiop1pluI7wvaQbP+rGSVmYLgoHBKT679dMY3twwU WpJAhHtSpTY9IQVKkUGj3Q6v8VT5ScHaEN3+TF1iB7IJthheEEPyorX5CnzgAqVE5gKi pRpwzc4LR/4QXEdgsnuSQ81FK4K56U74kbpj5mbH0Ztx7kbEDWBAPXtsPsgrg7Q9O4M7 dRSbJrLuqAW6G7go+8aUoBkmMmVNej4p0mC71lFU479dVf7PlSzZ7xmq3Yh9pA6UCkBV z/T/xxHDP2+wzEJ5JlduS6VECH/ABMpqrxOgUYu/dop6DysKdymQRnF6r21QmVgk5VLq yOMg== 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=J6hQKtSgQEWi9rODQsWaqyzCQpbBtWGNPmRG6g+0ml8=; b=k+lRuQIY/aTENf9oZosCbNGAL5xKveocwxd1KRgVLiVmCI2TwndLYM7oSSgrtgEHgF Ax4lPZlyfLKdAFrrQyvEbFVZPwgsLQuzSlnrbGdMuWtP58sthtMVIlrbVUYXbvoIGtzD Np0jWydFUZ06gdvnqJV1M/rfHW93CjfVi6EGGQJMlBYyvH1l+UGJLwyREJqEpEJqo4YH 1z8R0c6DfORSpXAobqs9o+xSslurzEMwGJPbp1ggZqaQQ9QB1Q65Gdod8yFTPITUjXn2 zo0RjFSXShVxdgcTQFTV3iJHE8NpuLJHV+fb3AjfxXGMYBkB54eMbXd5rAHTlZhpfnBy uayQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=lJmaJjwz; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a2-20020aa79702000000b0064cecf7b981si2358873pfg.311.2023.05.24.11.20.39; Wed, 24 May 2023 11:20:51 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=lJmaJjwz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236814AbjEXSKB (ORCPT + 99 others); Wed, 24 May 2023 14:10:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236851AbjEXSJt (ORCPT ); Wed, 24 May 2023 14:09:49 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E198C98; Wed, 24 May 2023 11:09:47 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-306dbad5182so849190f8f.1; Wed, 24 May 2023 11:09:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684951786; x=1687543786; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=J6hQKtSgQEWi9rODQsWaqyzCQpbBtWGNPmRG6g+0ml8=; b=lJmaJjwzNATJXlTs4cbN5TwMpgB2XYhqF7kgxMI4BhGPK4IikPyo2VhVkvzRIuPTAL 1Ih5Ph68b/w6yXNkdw339e9iZ/7tfZ6mfkktqV9WlNueekaxrunwZ6NIYkL54UojcCGf xM9M7eY295tsyFW+MjG3Q0XfUh/JHH/ZafxzBNdVqhSilxeSjLd6lMhCLauyGT0xA9Rt hXaJ4wmejq2/Z6Cb8SgjvUVO86z3A4mFVv8o9EG8As9XdtIqPCluFrsHVulzPz7GdWm4 egMR/6FNpF1ewy2josOqyA8cXF4WpKnLdHa83fxy/D68OCg0hFfY4NClrTd1Z5/zXF13 WDyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684951786; x=1687543786; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=J6hQKtSgQEWi9rODQsWaqyzCQpbBtWGNPmRG6g+0ml8=; b=Xc2TPD85LnY4v5mC8SnzGGuITT9ko/IjhDVqCn/0nrrDXSstL6Q+osBfit3dcv2d/S EcYbBpDyBz1YqNAlPBLBXrLJOXU0q4+Gyk5z6pMK3lXlBAmRWKpyf/10XMEZK3zHVHkK fAg+M1eTiUySRajsQqEguSW2zO5AED4DDGQM+RboGbd4MYnw4IE2J8YpXgViqAVsitCg TS9ouPIZxl/7nFnG1HVby91HKo2gu5XxG4v1D2IhqjDThb4EYJqz3J16xUX6SKTF21zo vw9satrWwaWVp3021oU4EzcsFrdZXJXWB28ZVubHkCaAQKXBQhOEMFreKMwguNAGPodg 6UJw== X-Gm-Message-State: AC+VfDzpEEgttRf4pm6zdLgk2QZj78pa7J8H2XEI8E5zCH/4TfDlt+lv FqpmbsATqxTkgJUGm6LT/bw= X-Received: by 2002:a05:6000:104e:b0:306:368d:8a1c with SMTP id c14-20020a056000104e00b00306368d8a1cmr446044wrx.45.1684951786193; Wed, 24 May 2023 11:09:46 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id l1-20020a05600012c100b0030630de6fbdsm15134104wrx.13.2023.05.24.11.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 11:09:45 -0700 (PDT) Date: Wed, 24 May 2023 21:09:43 +0300 From: Vladimir Oltean To: arinc9.unal@gmail.com Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 11/30] net: dsa: mt7530: remove pad_setup function pointer Message-ID: <20230524180943.y24syoustr65o2qk@skbuf> References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-12-arinc.unal@arinc9.com> <20230522121532.86610-12-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230522121532.86610-12-arinc.unal@arinc9.com> <20230522121532.86610-12-arinc.unal@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 On Mon, May 22, 2023 at 03:15:13PM +0300, arinc9.unal@gmail.com wrote: > From: Arınç ÜNAL > > The pad_setup function pointer was introduced with 88bdef8be9f6 ("net: dsa: > mt7530: Extend device data ready for adding a new hardware"). It was being > used to set up the core clock and port 6 of the MT7530 switch, and pll of > the MT7531 switch. > > All of these were moved to more appropriate locations, and it was never > used for the switch on the MT7988 SoC. Therefore, this function pointer > hasn't got a use anymore. Remove it. > > Tested-by: Arınç ÜNAL > Signed-off-by: Arınç ÜNAL > Acked-by: Daniel Golle > --- Reviewed-by: Vladimir Oltean