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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DF7BEB8FD7 for ; Wed, 6 Sep 2023 14:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=g495sUsJEz36HWeuQ7cEHPqh51e6l7hv4ElaK1if60Y=; b=zvBz/roKYWY+iR SbL3quU3eryyl1QkTvrVRW7wUIiisuo/pPuKdgyojqJkM7XrWnG0D2PxORmNNTPabLv8xKBwH26D5 KICYe+j2H95JseDG9WgKQWdYkyRYHvwulAnohkxkBXodgMYjyRtaFVdHGqKbF1egLbsPOew9L4Brc BkyHJR/O6KcAhicPqI4Zy5zzXHTQY8+T7jK98vndLvE5C/GkFLqrwLwwOcZGTJnOjaBAIiJw1QprI tRDnQ3WZyls3cqvGHXR6T74SIHcOyt6Xd6U+sgzASPrtpghLJCQU4dx94UnL4W7y/BzEFFv8Z9hpE JAOveo9IgtqDD6l+acQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdtMC-00ADnI-2J; Wed, 06 Sep 2023 14:18:12 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdtMB-00ADmj-2A for linux-arm-kernel@bombadil.infradead.org; Wed, 06 Sep 2023 14:18:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=LHSHqtI9M4ejSPlv3l3Uk4EyTE7t042E/DEyORIn8Zs=; b=qMh7h/tpe2i+SMj3M07wYl9qMJ zyvI8b6Oc5HNp1alemUK9gHCtff9qw1q2tye6DpSntNYCo0tpuhKlEK2Od3l/zTym2IfNvs8Ew1Ih uXohqQFXTiFbmVG+Mmp4mW9RMrLpwWGmGa1GeC5Z2OowjrIx0D2RXqtcnhI5YfM9zbFlI7ihXdZFX 90nX9bdJqV57wWqeBnxzVQNCFcqnGR2XITr0UnZ27t/s3TARfqkuq/SdOKGxbtrEUUel7rEPrJjNO DbBPtt2LeHc85ljm5sLtVqnYQaLYWVXnI16PojxThLVKOj3XlVgr1HQrtXfZfE+vzk3nep1hyZ5oO wZWCB6PA==; Received: from mgamail.intel.com ([134.134.136.65]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdtM5-0018dO-12 for linux-arm-kernel@lists.infradead.org; Wed, 06 Sep 2023 14:18:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694009886; x=1725545886; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QX645dZFdhQ+ioOhTLWdP6mcq9wvGo1tSmPXl3L039c=; b=N8TfNF427qERASSRF03h5GfoWuHPDxdFDmKveQrIPvY7Ub9wGYh1nxQJ 4LWp8Pz9SZdqzAOExdYogXu8RvOBsbqRFKTUZHV7XJwHAEdyWBl7rSJjl NQk//H55gq683Y2PZQU41s9EFaW/8U7SO/c/TQX6PmTJXyIa0Lpxdy76c Iy2aNoENwm9Y99cVRLWOxq8L1+kLrxA0vvNbMcrM7Ty1XwI5CLu3k+ru6 /Ihx8lPxA+qFUxpG4gLBZf5PK/z9UEpncLguxyrvSHnh3dtAjIR15JPfW jy6RGsBmToKqXRzrkIek6o396VsU8lWiEV4ynsasEjUoHCg3R3QT4RYva w==; X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="380873577" X-IronPort-AV: E=Sophos;i="6.02,232,1688454000"; d="scan'208";a="380873577" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 07:17:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="741562051" X-IronPort-AV: E=Sophos;i="6.02,232,1688454000"; d="scan'208";a="741562051" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 07:17:52 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qdtLo-006xeT-2c; Wed, 06 Sep 2023 17:17:48 +0300 Date: Wed, 6 Sep 2023 17:17:48 +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 06/21] gpiolib: provide gpiod_to_device() Message-ID: References: <20230905185309.131295-1-brgl@bgdev.pl> <20230905185309.131295-7-brgl@bgdev.pl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230905185309.131295-7-brgl@bgdev.pl> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230906_151807_946906_E360BAF5 X-CRM114-Status: GOOD ( 13.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 05, 2023 at 08:52:54PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > struct gpio_desc is opaque so provide a way for users to retrieve the > underlying GPIO device. ... > +/** > + * gpiod_to_device() - Return the GPIO device owning this descriptor > + * @desc: GPIO descriptor > + * > + * Returns: > + * Pointer to the opaque struct gpio_device object. This function does not > + * increase the reference count of gpio_device. GPIO device. > + */ -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel