[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZLgS5GnUu/g+AmSv@smile.fi.intel.com>
Date: Wed, 19 Jul 2023 19:44:20 +0300
From: Andy Shevchenko <andy@...nel.org>
To: Samuel Holland <samuel.holland@...ive.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Emil Renner Berthing <emil.renner.berthing@...onical.com>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: Re: [PATCH v2 1/4] gpio: sifive: Directly use the device's fwnode
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
Powered by blists - more mailing lists