Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8476475rwp; Wed, 19 Jul 2023 10:17:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlHRPPd6rlegRISoRPwJ94qn8oz+yocdqckF5blVj2tOploPxbXc0Q937BywREhw6fn0ipiw X-Received: by 2002:a05:6402:1a31:b0:51d:96d2:6578 with SMTP id be17-20020a0564021a3100b0051d96d26578mr3355311edb.28.1689787028425; Wed, 19 Jul 2023 10:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689787028; cv=none; d=google.com; s=arc-20160816; b=ifiR9MNGPMHqJkqgUTIGNi2bNm/wIG9h1eCEBreITsRb2uxTOAX4RRl0HeLr3V10l7 fjmnhUvmJ+WIWNqxTaV3hmToDcLTFY97bN6RA6U07BzRgqvD86d8pbxgcccrRc3pZWjT WB2zKYRYMFtBg0nR69E1GyogSHw6pupXVisdxK+Jklfb0maZ8Th/sM2dJOAvM+5aA8Qv Q3/oXlgvwqxlo3XqCGnAawJNVCALwrPSDA2wX5o2sGTLLdUQ+Al6QUQxIr/54wSv/Qme mCvaRHXOmc/X9fngjaAFn7EPTjzqwteE4rSVoeKqlyuKz2ZQNWa5/l1iNY6duvUuHkad 2YmQ== 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; bh=EJf65vRNrcZhtzWI0oU0W2Zs2yQ4hxU1D0p7b5uPY74=; fh=cA0Ln4kADB9MaxBObWf36lXo0Mdqh7yUk2YEczCWWws=; b=zUpbVpM2KiG05fIh6BkVQwLDF4X6mdfYIroMne6S4EGVSEp4DQsBWReVF7Upl+c0tu IKRn+SfqfeI14iuCChezIQraC+XRVBqLnkVN4O9/Yfn4yQONNoACaLuoPQZR1O3JXPOL e9VCWmtWh5gBNy2J6f9/bgQd8vZsGZry+27tfGrAKCuyjBxMhBWmOUbPfdlSgCRb98Jq V/EkUw3VJ7Dfu8O8Bcj5pPkd5SUfMLvqpU8RPSGWApNAMxgg8mB20u7ZokAZMcg2lurK xz58U73ITftzbL7qcHvBsFP8RohySWF4sosSa/mVDaMf6H8HAnoXx3IOQcrb5TEXJCHY 8Ppg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a50ee0d000000b0051e0f0fef4fsi3308097eds.555.2023.07.19.10.16.42; Wed, 19 Jul 2023 10:17:08 -0700 (PDT) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230191AbjGSQo3 (ORCPT + 99 others); Wed, 19 Jul 2023 12:44:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjGSQo1 (ORCPT ); Wed, 19 Jul 2023 12:44:27 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93CBE172E; Wed, 19 Jul 2023 09:44:26 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="432707344" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="432707344" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 09:44:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="724046056" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="724046056" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP; 19 Jul 2023 09:44:22 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qMAHk-001EqZ-1u; Wed, 19 Jul 2023 19:44:20 +0300 Date: Wed, 19 Jul 2023 19:44:20 +0300 From: Andy Shevchenko To: Samuel Holland Cc: Linus Walleij , Bartosz Golaszewski , Emil Renner Berthing , Rob Herring , Frank Rowand , Palmer Dabbelt , Paul Walmsley , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 1/4] gpio: sifive: Directly use the device's fwnode Message-ID: References: <20230719163446.1398961-1-samuel.holland@sifive.com> <20230719163446.1398961-2-samuel.holland@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230719163446.1398961-2-samuel.holland@sifive.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE 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, Jul 19, 2023 at 09:34:42AM -0700, Samuel Holland wrote: > There is no need to convert dev->of_node back to a fwnode_handle. ... > - girq->fwnode = of_node_to_fwnode(node); > + girq->fwnode = dev->fwnode; dev_fwnode(dev) ...and include property.h here -- With Best Regards, Andy Shevchenko