Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9070976rwr; Thu, 11 May 2023 09:33:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7t77rvAmrXDFGXqChHCsD/uJAHmPfH/xD8u/M8TXmeZj8TJZYmyDIgs5wPbl4AESNypCey X-Received: by 2002:a17:902:a589:b0:1a6:d8a3:3346 with SMTP id az9-20020a170902a58900b001a6d8a33346mr21920194plb.31.1683822804971; Thu, 11 May 2023 09:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683822804; cv=none; d=google.com; s=arc-20160816; b=etTixEsWFj+GAjNze5Ql3z3zZgmauH8C06Hyh5Qh5cM0kjW4gURHlITa2Atr9XnGPK uG3ia8uCn0XOpS/zzK8lbCfrEKQsgwaNHGF482CVbYjbv34kqFPFADUT4vVX/sPmukA2 vAtvgzIj5ra85yYBWUC6oJrXRPslpQ9/zgSCdhvbSnEcLquvwNPSyF3Dw9m/5bHvYqXt dmsYKx9u04RQDcm/xWK+ZjhLOQfFUlguhlDRTlYkOD+7I2Hyh6+KOM8WWEdFmmdK1Vk8 zjaHLye0csBncR7Tb9PRAxuJX086dpz9ATP7xhBtKvSziHp/nVpCQZb8drSoFSOLr+4T izpQ== 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:from:date:dkim-signature; bh=kF3QO2v3kNP1OiWCnhoAGHxyz3mGercJhkHTF9hvKWA=; b=QVuXeNWdh1IvI0/SFXoGhaeg9yZBrR7XeNVCVPaWvcJ4Ij8MeIjAyNu+4EPHogw5rE t/ZYUH+lAubq51hq9V606YumwHpRNr/B1UJfkpu4KhBGpo3yrWQyNzp4UqFL5rKPL27B OTWoomEwWxxLEvGlX7j/jptdFIoSWd+6gCgP6+cr/2QMHZ/xlsF6O7bKhikKWSC3Z/aD +lKO3488oXDaZNpBH6blKKKtpaC29DjNyewQ+KcUkfrANCfQh/2tKj59IMd6p4kYFcjb GUUm6Xoagr7DQ7cT7jtQ3JEoNxdH/kFw0VAx/14AIP5COq3YqYT/XnTkznumwid7Hron P/Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ngk3IDFv; 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 s14-20020a170902988e00b001ac528e3f1bsi6684203plp.154.2023.05.11.09.33.10; Thu, 11 May 2023 09:33:24 -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=@kernel.org header.s=k20201202 header.b=Ngk3IDFv; 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 S238866AbjEKQav (ORCPT + 99 others); Thu, 11 May 2023 12:30:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238931AbjEKQaW (ORCPT ); Thu, 11 May 2023 12:30:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB2519B7; Thu, 11 May 2023 09:30:16 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 6D9D060DE1; Thu, 11 May 2023 16:30:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB9F5C433EF; Thu, 11 May 2023 16:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683822615; bh=Zs6HS+LhQsL65kXS1dDBGurrU/0i4pxZb2uUlUCbWFU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ngk3IDFvzbk44ahJBMRCL7/6ykr6qw1ibcNGNb8wKaN7/5TtT9RPwrw+1Rc1KnFKQ IDS3saOhr3E+OZ9r953ZCBbtF01MM1+w8j07vqaL8SyRGxC6/ZW8GaL7ftZzISmKKf qYO49B0k+ukEgB97k/z1o1EVqZHXeOdRqGy3FJO83XNNn0l4cBEiK4PDEB8a2D8ME0 DC4BTHewwmy8ZwEVQyBFdTTlBTt0gZtkdGwpa/bJc6aMi5ETQ2kYRSyLrzChlY1fPN oqqBrt8UHg68Nca/Y014wk1mL1qWo+YMNS+nErNX6C2ht3xySw/Zy9JDLj5bgMQzfN xnAuaNfUtNstA== Date: Thu, 11 May 2023 09:33:52 -0700 From: Bjorn Andersson To: Rohit Agarwal Cc: agross@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, andy.shevchenko@gmail.com, 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 v7 2/4] pinctrl: qcom: Remove the msm_function struct Message-ID: <20230511163352.kfjpvagh2rysyelo@ripper> References: <1683730825-15668-1-git-send-email-quic_rohiagar@quicinc.com> <1683730825-15668-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: <1683730825-15668-3-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Wed, May 10, 2023 at 08:30:23PM +0530, Rohit Agarwal wrote: > 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. > Looks nice! No need to carry our own structs for things that has made it into the framework. Reviewed-by: Bjorn Andersson But, ipq9574.c has made it into linux-next now, so this breaks the build of that driver. So please update this patch. And please send the two refactoring patches on their own, followed by the SDX75 based on that, so we can get those merged quickly, before any other impediments are introduced. Regards, Bjorn