From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2108C6FD1C for ; Thu, 9 Mar 2023 23:59:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230333AbjCIX7A (ORCPT ); Thu, 9 Mar 2023 18:59:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbjCIX67 (ORCPT ); Thu, 9 Mar 2023 18:58:59 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEC66E4C6E; Thu, 9 Mar 2023 15:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=kkckYUYlEpR0hik9N9jqBTopLfSh/l+Xu1nUM62mSF4=; b=OGzbOYAuD07fL4n+0DYs2d3o9B G5zjeLDT2HuVe5qRqSgkaozaGotMCSBxxIU3V/4oXAIkVDttJgqfNJfi9bAAA/iwXT3JelN5avQ6B nph1P84oozeg53oJ1Q2PjtcQ6xy3q40MbXEwvYJ8QuHqy4CkOFmr+B2CFOBpODaU9Qs4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1paQ9h-006vVt-Cg; Fri, 10 Mar 2023 00:58:41 +0100 Date: Fri, 10 Mar 2023 00:58:41 +0100 From: Andrew Lunn To: Christian Marangi Cc: Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Heiner Kallweit , Russell King , Gregory Clement , Sebastian Hesselbarth , Andy Gross , Bjorn Andersson , Konrad Dybcio , John Crispin , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Lee Jones , linux-leds@vger.kernel.org Subject: Re: [net-next PATCH v2 01/14] net: dsa: qca8k: move qca8k_port_to_phy() to header Message-ID: <673deedd-c973-4ba3-ad30-18838aecc2e1@lunn.ch> References: <20230309223524.23364-1-ansuelsmth@gmail.com> <20230309223524.23364-2-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230309223524.23364-2-ansuelsmth@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thu, Mar 09, 2023 at 11:35:11PM +0100, Christian Marangi wrote: > Move qca8k_port_to_phy() to qca8k header as it's useful for future > reference in Switch LEDs module since the same logic is applied to get > the right index of the switch port. > Make it inline as it's simple function that just decrease the port. > > Signed-off-by: Christian Marangi Reviewed-by: Andrew Lunn Andrew