Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7348025rwr; Wed, 10 May 2023 07:11:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Pa8D1m2QF81a4iDSqfVEHQ6vfzYwcKN89bOcqBNmU+soxgiJL6PQX7sokoIAtzEPGNuXU X-Received: by 2002:a05:6870:44d6:b0:172:7fc0:9188 with SMTP id t22-20020a05687044d600b001727fc09188mr8206407oai.35.1683727914555; Wed, 10 May 2023 07:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683727914; cv=none; d=google.com; s=arc-20160816; b=sQ/4/6jrhIt15Ac27YVQ/gNzOHIzVZTKWpxMvoaaKAknrrmkee7ufUQeguui6fM/CN x+F6wFQW8ECb5omyBSTyBsRdsOwB9uHKUnFk88VZvp9SJydGAoLza85cioSQQHLOmrvQ DdnyApzbuyjckNUHjocpB7bHGm6RjQpsLESG9MYN+ZYWvLsKYxh5Niq2DNKT5+eNWOmN 2GK3edESmjfTmKtxphyd+JI1MS108HXObWm0kixHwYpuZI175xBb7ABwOLxmovjCAO5P o2EiDCWSnlfyOBHPDQhmAMqTY5Z0/6qaluL0byZh6CE31c4J7Eg3SD5uZbs/K4Fg9oTY PwsQ== 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-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=j035gCgXTbQ5IHs+WBgX+TimQfk5qVQ0t/HKZa3DDM8=; b=zAjcmNRXXO9/0ol6H6eAg2gZPFMY265eBf8x1lnG0Zmg97+pcMyffRyKQAIVYNjl0I Rixn0szHQzAYC6+fcZsIExri8ggsF6oetxTg23H3JmBf2FJOpYHzqbbwZAYapIUPSZxe QwPZU4A+JI5GKe3swH6aMiaafM7KP2xR7ayNCSIPsRapKir6MXLVisYiIKRews0vJAAB OMZrL+4b65aGa6KC7M5ORrH4XKrJe28L+JYk6UYXyi3y4ebFwrTaakxiE5axChQQgy2c uzUlR2wpqEtZM3fCbWk38n1MuNKmKl1NPm8Tcz4XQ+2d0xspRGzj4NF6xVv+DrXZB6Hn hEmw== 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; dmarc=fail (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 c25-20020a056870479900b001841b0a77d2si9597370oaq.43.2023.05.10.07.11.40; Wed, 10 May 2023 07:11:54 -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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237158AbjEJOGk (ORCPT + 99 others); Wed, 10 May 2023 10:06:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237316AbjEJOGh (ORCPT ); Wed, 10 May 2023 10:06:37 -0400 Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87167D872 for ; Wed, 10 May 2023 07:06:10 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw21.mail.saunalahti.fi (Halon) with ESMTP id ce6e2510-ef3b-11ed-abf4-005056bdd08f; Wed, 10 May 2023 17:06:06 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Wed, 10 May 2023 17:06:06 +0300 To: Rohit Agarwal Cc: andy.shevchenko@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, richardcochran@gmail.com, manivannan.sadhasivam@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v6 2/4] pinctrl: qcom: Remove the msm_function struct Message-ID: References: <1683718725-14869-1-git-send-email-quic_rohiagar@quicinc.com> <1683718725-14869-3-git-send-email-quic_rohiagar@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1683718725-14869-3-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, May 10, 2023 at 05:08:43PM +0530, Rohit Agarwal kirjoitti: > Remove the msm_function struct to reuse the generic pinfunction > struct. Also, define a generic PINFUNCTION macro that can be used across > qcom target specific pinctrl files to avoid code repetition. With ~330 LoCs removed! Reviewed-by: Andy Shevchenko Thank you! > Signed-off-by: Rohit Agarwal > Suggested-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko