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 83368CA0FF6 for ; Wed, 6 Sep 2023 14:50:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241920AbjIFOu5 (ORCPT ); Wed, 6 Sep 2023 10:50:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjIFOu4 (ORCPT ); Wed, 6 Sep 2023 10:50:56 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9759610D0; Wed, 6 Sep 2023 07:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694011853; x=1725547853; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=HjAh8SMqCXR1Rjl9aKlTDFEP6jadc3qGb5loq/FNe5w=; b=nV2Ae7tMzwJ0UFkb8VXzx4aLELs4XcFC8Tx6esfxmJnKju5I8HCIwGPQ Zh2Pb73DYK9LepwQeEuxE60nANVte35K4BvnyoN0QT4IPsM8kjcq+Yaqw EUuE4vgSFB98ydqIXgNUVs2TQebEoZAhTcJ6Jb89ieQspuXQTd172ZziI fhjvWS4DVcbyhDrgYhHYrWA180MzcXlDflagOdM6+64QMKvubHDnh7/5o F+A015cRogv3hxKWI8fTgg4r239ajwPyOzstDlFHijzru4UAeA7vlCsOU 7zj1qQrvzoqTY1U+kVlZsZmmLaTuGGHW9VVXtl/KaNrNzP6T5jGk5PJnV A==; X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="375986346" X-IronPort-AV: E=Sophos;i="6.02,232,1688454000"; d="scan'208";a="375986346" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 07:50:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="831691131" X-IronPort-AV: E=Sophos;i="6.02,232,1688454000"; d="scan'208";a="831691131" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 07:50:48 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qdtrg-006y3r-0f; Wed, 06 Sep 2023 17:50:44 +0300 Date: Wed, 6 Sep 2023 17:50:43 +0300 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Russell King , Mika Westerberg , Linus Walleij , Dipen Patel , Thierry Reding , Jonathan Hunter , Hans de Goede , Mark Gross , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, timestamp@lists.linux.dev, linux-tegra@vger.kernel.org, platform-driver-x86@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 18/21] gpio: acpi: replace gpiochip_find() with gpio_device_find() Message-ID: References: <20230905185309.131295-1-brgl@bgdev.pl> <20230905185309.131295-19-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230905185309.131295-19-brgl@bgdev.pl> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, Sep 05, 2023 at 08:53:06PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We're porting all users of gpiochip_find() to using gpio_device_find(). > Update the ACPI GPIO code. ... > - return gpiochip_get_desc(chip, pin); > + return gpiochip_get_desc(gdev->chip, pin); gpio_device_get_desc() ? -- With Best Regards, Andy Shevchenko