Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1096157pxj; Fri, 4 Jun 2021 06:05:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR/wu2OKDRdbpGuu1K3O9LoHgDX2ZlPvfaIKrcxwlsKzOHPD701jEGKlc7tf8Dhsm+SgeP X-Received: by 2002:aa7:cad6:: with SMTP id l22mr4549167edt.303.1622811944996; Fri, 04 Jun 2021 06:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622811944; cv=none; d=google.com; s=arc-20160816; b=Ac8/IvK73qYv3Xd5Q5CEN9rsoICPgt+J83eTlyOjbXR49HXVIkjgVUmIVlowREIy1D SoNsVtvT8TRRRyo2TdTM4wTQA/6kx1gU3ylp3hm2++kw7cjq4YbiG7vZgnZ0CSE0D/Zo JF/kfvBM3e/debYn5b34wpw2/ijw1Lv28UrQId+kVT2w+sQ98ZKEB0q/ihFsDJ/3krnU MxKWUprvCOrvNUss38UeJMLeJHMBzV0oY0P9WExa5Wqry+avWnYbTfeO41S8ZHBnxfI9 WGaZW5IR4EeSD9H4xVM1HlawsGGK0jTr2cjjtLRMZwK+FdU/MA0UY82MQuNaNjcBIPsP HXVw== 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 :ironport-sdr:ironport-sdr; bh=PumSRHWWoBkJ3nclOcpA0YAsMa2MroY3tmNwS2IUbJ0=; b=iB+pDI5W+HTXeRJ8hZV2qdIR+vWI5/e0tZIfNqVwhWKiMXDd4KlxcPLKBy+vyrgV3g 3TFlM9FYzyw1PGiGGKlW/l8sxt90lhivk8APXbRtfur1NBEHZdOYbZy2n/6N+kGlmCMs m0rCwr7KJKzrDi7GcK5V9eueOM/knj6AF3ZIHHONPiVzrtRubrZgKuooHimhxevXqmoB WEBJj2nySe7BPpzNK4VVVGf65VtbwyrxzLgvqHQy/4MUvysl1caI8Sbd5fg1agPJHCX1 7YAmciOK8E5CttoC/ukac4ZP+wL7m5AXweiGnpYrjyR62gfbzeOZiAmhidUXqXgrboG+ mSqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nb10si4290337ejc.344.2021.06.04.06.05.18; Fri, 04 Jun 2021 06:05:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230242AbhFDNDj (ORCPT + 99 others); Fri, 4 Jun 2021 09:03:39 -0400 Received: from mga06.intel.com ([134.134.136.31]:16771 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbhFDNDh (ORCPT ); Fri, 4 Jun 2021 09:03:37 -0400 IronPort-SDR: pEXOvpOtTvrxJAeHNwXUzM87VYl/SxPN4rai7Gfkkx4eMQ7UAxQCPHOVaBUMZS/C7zhPJDCzVp 01hzPRr+5LSA== X-IronPort-AV: E=McAfee;i="6200,9189,10004"; a="265447303" X-IronPort-AV: E=Sophos;i="5.83,248,1616482800"; d="scan'208";a="265447303" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2021 06:01:51 -0700 IronPort-SDR: YXattzU+nD0Pt4rfrx5zmfQeaWPVg2k6kE9A+mYBGNQ3kbckhw8SDqemjUyWPeOmzTYB/iDguh Gz2fgiP7EW7g== X-IronPort-AV: E=Sophos;i="5.83,248,1616482800"; d="scan'208";a="551154548" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2021 06:01:44 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lp9SH-00HE4p-S9; Fri, 04 Jun 2021 16:01:41 +0300 Date: Fri, 4 Jun 2021 16:01:41 +0300 From: Andy Shevchenko To: Daniel Scally Cc: "Rafael J . Wysocki" , Lee Jones , Hans de Goede , Maximilian Luz , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, platform-driver-x86@vger.kernel.org, devel@acpica.org, Len Brown , Mika Westerberg , Linus Walleij , Bartosz Golaszewski , Wolfram Sang , Mark Gross , Robert Moore , Erik Kaneda , laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com Subject: Re: [PATCH v5 4/6] gpiolib: acpi: Add acpi_gpio_get_io_resource() Message-ID: References: <20210603224007.120560-1-djrscally@gmail.com> <20210603224007.120560-5-djrscally@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210603224007.120560-5-djrscally@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 03, 2021 at 11:40:05PM +0100, Daniel Scally wrote: > Add a function to verify that a given acpi_resource represents an IO > type GPIO resource, and return it if so. I would rephrase this to something like: "Add a function to verify that a given ACPI resource represents a GpioIo() type of resource, and return it if so." I can amend when applying to my branch. -- With Best Regards, Andy Shevchenko