Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4661687rwl; Wed, 28 Dec 2022 07:12:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1zVSLMIubRci6LYvtnf99Isa++79WjR0V73ZWcj7ctWvbdFEJGLjN3vUqAKhgZ6t0uArL X-Received: by 2002:a05:6a20:6d85:b0:9d:efbe:a0f1 with SMTP id gl5-20020a056a206d8500b0009defbea0f1mr28721972pzb.1.1672240376909; Wed, 28 Dec 2022 07:12:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672240376; cv=none; d=google.com; s=arc-20160816; b=P7sA7hNNcv8wY+rhndtXTe01L8fiZFJ1o+ozLqfLo/v7mIu5gGwEjhizQqWCCtLyzT trJk2pR+k01lsg8NzyR+EKpif4feakbRBxUXfhZn/4+7OsNjpUZxXUrXEM1QBxZVPNLZ +UEZUZLZgAnSn6l5roGyPsvM5adpnA9GYvtDEskLbuIPZs4cQUxchk/2Aq5yAxwsyKVW KivByLLJ9s8vo3npovgrPkHQVK8LDEw+0GwL64ib8KYEjnYQEDz5ZL5qF5cr5X1FLVTQ jRC/rs2zV9SGfXqjwbxiQD+C0+6wKtXBJ8LKiO4/m5OnsQdCDpJJrmIAneJsHdCtFU2d acow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=O50AltM+rGGzYphKPvVekYiSA7U2eeoEZDWvmyipI04=; b=mSdgVQt6rsvGCpLOsbEQapvPi90dVOx7Era3CGRsIQkQ8FmM6p6CDz7bVsmkHDE+1y bwQQ+NgxYafYjZGC2tt7fk8uC7qzHBYdcB2JXzdas4XtezCJlNKpoTG60yOVNv8Ay0k5 WsuiYOWuOyUOrbRZsMXi55McakVgNk8I+bqARGS0blE0aXsNeZdsJMdemakgzuR5tVzS mpTbgb1qUvKGL4k1ouQUsn/QTx4NddmgwvIW/sBTisp1g99WXtXbhZzBv/akv+Qv0gF+ WKfG8JBjTNVCbds5pWiDOdqdHQJAGfYmuDvewy44J2nDMLOcirjBMZvE5ivmwL7kVC7T Ce7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="U1mFe/xb"; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t37-20020a634625000000b004774fa3d9cesi17292771pga.618.2022.12.28.07.12.48; Wed, 28 Dec 2022 07:12:56 -0800 (PST) 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=@intel.com header.s=Intel header.b="U1mFe/xb"; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233551AbiL1PFy (ORCPT + 64 others); Wed, 28 Dec 2022 10:05:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233537AbiL1PFv (ORCPT ); Wed, 28 Dec 2022 10:05:51 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96E4EB6E; Wed, 28 Dec 2022 07:05:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672239950; x=1703775950; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vvsN9dHdNYsPS46Qk1pInWKgjG6g6OQU3qkb21QbfXY=; b=U1mFe/xbK5GqFu9scFw/BgGdjACIY4VirkhFJ+aOupbtr8rDMyKDLig2 fJZsel+KtIyztSFUc4dd7/p9PN2PPlcKDs61LdGswWtsNAq2kOiVMC64u Tt9aTYsHXKlCDRJdOXD8zhLxgl619gW4onTr/TocywH9g1JqUsoZwPDMR pesCCZ5Xf+mROozAM3EyRXxHqF9bVsRU/7D/vnW5rWBRtEAGLA+6cpJND k1AKEGzoKYj/8j8i1hjv7x5lrnAZ7cSlee7YQQ46z1n6D2mzQYLn0o87t RiN8/epbctd2Wgr9WONARx6+QSh7dGAVb2Bu1zxC8PtWiQbwceCd9abhg w==; X-IronPort-AV: E=McAfee;i="6500,9779,10574"; a="320966573" X-IronPort-AV: E=Sophos;i="5.96,281,1665471600"; d="scan'208";a="320966573" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2022 07:05:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10574"; a="827417335" X-IronPort-AV: E=Sophos;i="5.96,281,1665471600"; d="scan'208";a="827417335" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005.jf.intel.com with ESMTP; 28 Dec 2022 07:05:46 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pAY00-000g9r-31; Wed, 28 Dec 2022 17:05:44 +0200 Date: Wed, 28 Dec 2022 17:05:44 +0200 From: Andy Shevchenko To: Hanna Hawa Cc: wsa@kernel.org, linus.walleij@linaro.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, dwmw@amazon.co.uk, benh@amazon.com, ronenk@amazon.com, talel@amazon.com, jonnyc@amazon.com, hanochu@amazon.com, farbere@amazon.com, itamark@amazon.com Subject: Re: [PATCH v4 1/2] pinctrl: Add an API to get the pinctrl pins if initialized Message-ID: References: <20221221205116.73941-1-hhhawa@amazon.com> <20221221205116.73941-2-hhhawa@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221221205116.73941-2-hhhawa@amazon.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE 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, Dec 21, 2022 at 08:51:15PM +0000, Hanna Hawa wrote: > Add an API to get the pinctrl pins if it was initialized before driver > probed. This API will be used in I2C core to get the device pinctrl > information for recovery state change. ... > /* The device core acts as a consumer toward pinctrl */ > +#include It's slightly misplaced. The comment above is for the below inclusion. > #include Can we make it ----8<---- #include /* The device core acts as a consumer toward pinctrl */ #include ----8<---- ? With this addressed, Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko