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 D8CEDC4332F for ; Thu, 17 Nov 2022 15:55:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239730AbiKQPzr (ORCPT ); Thu, 17 Nov 2022 10:55:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231469AbiKQPzo (ORCPT ); Thu, 17 Nov 2022 10:55:44 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6102B769D8 for ; Thu, 17 Nov 2022 07:54:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668700494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bRgEstsiaza00mxfx8Zw8rQJ2a50YhYzkAACPA1ZNfM=; b=SsXXiZrFbAr+sV+LsUEbjO3naCtwXu72k36KDJjmmc9Z9X1Iu++t6QiILP0Fji2RBzcf0g 4cKMbQ/8tYhEcz9o8nec8LV4uHKYIIJ+HAnjO2jaXj2DuAjTC5ifnSFlMvTUpV9ijntoEd DCRv9IgunE4nPAAzRgi8npmQ6dSGa4A= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-103-TRjPvw3SPm6DDzBxJSU-rw-1; Thu, 17 Nov 2022 10:54:52 -0500 X-MC-Unique: TRjPvw3SPm6DDzBxJSU-rw-1 Received: by mail-qk1-f199.google.com with SMTP id de43-20020a05620a372b00b006fae7e5117fso2571214qkb.6 for ; Thu, 17 Nov 2022 07:54:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bRgEstsiaza00mxfx8Zw8rQJ2a50YhYzkAACPA1ZNfM=; b=If1qjHiBgdY6QZieHZ3pgwH+1QMZrgwuTusC5l3NjVqCAy2zBfhKYoR+fsE6R9QAH8 dKZrU6Snk0krOztXcINOJQCQ06qZRkB+gXgR9K9pISziFegyWbogxTx9MPydT9Nh9gL/ pht8XdpfEAopUMIvX9HVCmCi16Hj0t12hM3GiB5SYS3fcfP7NxJlRGawgsX04wJEnLMN M1g4Imf0qI5lC1fWbmtpTZIBq1zio4cnAg22owxWvl+ysXxLb09Wj7rXyw2oe49Qs0XJ AjrFlpst7ZVOX6E3uRrtsNWjbSXFaYE9QmdBYUQ64xITDidIivgxyasTvRew7LwDYeLn sZlA== X-Gm-Message-State: ANoB5plv6YEhGLD7XbpSLRaI3deu6P/QPJhfg+x1pNaQcqDUylyd2uAN 0wthsdgDG3QuK1FDlHoXGlBWVaN+YPkia9XIBDa69/sVZ4J32AlrFbcT1T0rfigVIrmrmEEMGr8 W+h9VSam/623izO58g9DfS0PC X-Received: by 2002:ac8:5299:0:b0:3a5:3623:17b2 with SMTP id s25-20020ac85299000000b003a5362317b2mr2724076qtn.543.1668700492289; Thu, 17 Nov 2022 07:54:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf4xz3uBUV6IVgVCKdytOyvXVviItTtAVxx7J+xEH7uoA8FGlQTKyqHopJRsvmbveNc+qoxBpg== X-Received: by 2002:ac8:5299:0:b0:3a5:3623:17b2 with SMTP id s25-20020ac85299000000b003a5362317b2mr2724056qtn.543.1668700492084; Thu, 17 Nov 2022 07:54:52 -0800 (PST) Received: from x1 (c-73-214-169-22.hsd1.pa.comcast.net. [73.214.169.22]) by smtp.gmail.com with ESMTPSA id 2-20020ac85642000000b003a5612c3f28sm548302qtt.56.2022.11.17.07.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 07:54:51 -0800 (PST) Date: Thu, 17 Nov 2022 10:54:51 -0500 From: Brian Masney To: Andy Shevchenko Cc: Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij , Thierry Reding , Marijn Suijten Subject: Re: [PATCH v1 1/1] gpiolib: Unify access to the device properties Message-ID: References: <20221116141728.72491-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221116141728.72491-1-andriy.shevchenko@linux.intel.com> User-Agent: Mutt/2.2.7 (2022-08-07) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 16, 2022 at 04:17:28PM +0200, Andy Shevchenko wrote: > Some of the functions are using struct fwnode_handle, some struct device > pointer. In the GPIO library the firmware node of the GPIO device is the > same as GPIO node of the GPIO chip. Due to this fact we may use former > to access properties everywhere in the code. > > Signed-off-by: Andy Shevchenko Reviewed-by: Brian Masney